Removed the last traces of the word "initialization"

This commit is contained in:
Sasha Koshka 2022-09-13 11:12:38 -04:00
parent 5384dff15b
commit 21ea27791d
6 changed files with 7 additions and 7 deletions

View File

@ -58,7 +58,7 @@ func (parser *ParsingOperation) parseDataSection () (
// otherwise, parse initialization values
parser.previousToken()
section.value, err = parser.parseInitializationValues(0)
section.value, err = parser.parseDefaultValues(0)
if err != nil { return }
} else {
section.value, err = parser.parseArgument()

View File

@ -77,7 +77,7 @@ func (parser *ParsingOperation) parseEnumMembers (
err = parser.nextToken()
if err != nil { return }
member.value, err = parser.parseInitializationValues(1)
member.value, err = parser.parseDefaultValues(1)
into.members = append(into.members, member)
if err != nil { return }
} else {

View File

@ -200,7 +200,7 @@ func (parser *ParsingOperation) parseFuncArguments (
if err != nil { return }
output.value, err =
parser.parseInitializationValues(1)
parser.parseDefaultValues(1)
into.outputs = append(into.outputs, output)
if err != nil { return }
} else {

View File

@ -16,7 +16,7 @@ import "git.tebibyte.media/arf/arf/infoerr"
// phrase. It checks for an indent greater than the indent of the aforementioned
// data section or set phrase (passed through baseIndent), and if there is,
// it parses initialization values.
func (parser *ParsingOperation) parsedefaultValues (
func (parser *ParsingOperation) parseDefaultValues (
baseIndent int,
) (
argument Argument,
@ -107,7 +107,7 @@ func (parser *ParsingOperation) parseObjectdefaultValues () (
err = parser.nextToken(lexer.TokenKindIndent)
if err != nil { return }
value, err = parser.parsedefaultValues(baseIndent)
value, err = parser.parseDefaultValues(baseIndent)
defaultValues.attributes[name] = value
if err != nil { return }

View File

@ -216,7 +216,7 @@ func (parser *ParsingOperation) parseBlockLevelPhrase (
// if this is a set phrase, parse initialization values under it
if phrase.kind == PhraseKindAssign {
var values Argument
values, err = parser.parseInitializationValues(indent)
values, err = parser.parseDefaultValues(indent)
if values.kind != ArgumentKindNil {
phrase.arguments = append(phrase.arguments, values)

View File

@ -37,7 +37,7 @@ func (parser *ParsingOperation) parseTypeSection () (
err = parser.nextToken()
if err != nil { return }
section.value, err = parser.parseInitializationValues(0)
section.value, err = parser.parseDefaultValues(0)
if err != nil { return }
} else {
section.value, err = parser.parseArgument()