diff --git a/.changeset/eighty-moons-talk.md b/.changeset/eighty-moons-talk.md new file mode 100644 index 0000000000..9727686c00 --- /dev/null +++ b/.changeset/eighty-moons-talk.md @@ -0,0 +1,5 @@ +--- +"@nomicfoundation/slang": patch +--- + +support unicode characters in string literals up to `0.7.0` diff --git a/.changeset/proud-flowers-march.md b/.changeset/proud-flowers-march.md new file mode 100644 index 0000000000..329d485d9d --- /dev/null +++ b/.changeset/proud-flowers-march.md @@ -0,0 +1,5 @@ +--- +"@nomicfoundation/slang": patch +--- + +rename `AsciiStringLiteral` to `StringLiteral` diff --git a/crates/solidity/inputs/language/src/definition.rs b/crates/solidity/inputs/language/src/definition.rs index 240f1c3962..05102b88d7 100644 --- a/crates/solidity/inputs/language/src/definition.rs +++ b/crates/solidity/inputs/language/src/definition.rs @@ -111,7 +111,7 @@ codegen_language_macros::compile!(Language( name = ExperimentalFeature, variants = [ EnumVariant(reference = Identifier), - EnumVariant(reference = AsciiStringLiteral) + EnumVariant(reference = StringLiteral) ] ), Struct( @@ -244,7 +244,7 @@ codegen_language_macros::compile!(Language( Struct( name = PathImport, fields = ( - path = Required(AsciiStringLiteral), + path = Required(StringLiteral), alias = Optional(reference = ImportAlias) ) ), @@ -254,7 +254,7 @@ codegen_language_macros::compile!(Language( asterisk = Required(Asterisk), alias = Required(ImportAlias), from_keyword = Required(FromKeyword), - path = Required(AsciiStringLiteral) + path = Required(StringLiteral) ) ), Struct( @@ -268,7 +268,7 @@ codegen_language_macros::compile!(Language( symbols = Required(ImportDeconstructionSymbols), close_brace = Required(CloseBrace), from_keyword = Required(FromKeyword), - path = Required(AsciiStringLiteral) + path = Required(StringLiteral) ) ), Separated( @@ -2767,7 +2767,7 @@ codegen_language_macros::compile!(Language( name = AssemblyStatement, fields = ( assembly_keyword = Required(AssemblyKeyword), - label = Optional(reference = AsciiStringLiteral), + label = Optional(reference = StringLiteral), flags = Optional(reference = AssemblyFlagsDeclaration), body = Required(YulBlock) ) @@ -2786,7 +2786,7 @@ codegen_language_macros::compile!(Language( ), Separated( name = AssemblyFlags, - reference = AsciiStringLiteral, + reference = StringLiteral, separator = Comma ) ] @@ -3705,52 +3705,122 @@ codegen_language_macros::compile!(Language( Enum( name = StringExpression, variants = [ + EnumVariant(reference = StringLiteral, enabled = Till("0.5.14")), + EnumVariant(reference = StringLiterals, enabled = From("0.5.14")), EnumVariant(reference = HexStringLiteral, enabled = Till("0.5.14")), EnumVariant( reference = HexStringLiterals, enabled = From("0.5.14") ), - EnumVariant( - reference = AsciiStringLiteral, - enabled = Till("0.5.14") - ), - EnumVariant( - reference = AsciiStringLiterals, - enabled = From("0.5.14") - ), EnumVariant( reference = UnicodeStringLiterals, enabled = From("0.7.0") ) ] ), + Repeated( + name = StringLiterals, + reference = StringLiteral, + enabled = From("0.5.14") + ), + Enum( + name = StringLiteral, + variants = [ + EnumVariant(reference = SingleQuotedStringLiteral), + EnumVariant(reference = DoubleQuotedStringLiteral) + ] + ), + Token( + name = SingleQuotedStringLiteral, + definitions = [ + // Allows unicode characters: + TokenDefinition( + enabled = Range(from = "0.4.12", till = "0.7.0"), + scanner = Sequence([ + Atom("'"), + ZeroOrMore(Choice([ + Fragment(EscapeSequence), + Not(['\'', '\\', '\r', '\n']) + ])), + Atom("'") + ]) + ), + // Rejects unicode characters: + TokenDefinition( + scanner = Sequence([ + Atom("'"), + ZeroOrMore(Choice([ + Fragment(EscapeSequence), + Range(inclusive_start = ' ', inclusive_end = '&'), + Range(inclusive_start = '(', inclusive_end = '['), + Range(inclusive_start = ']', inclusive_end = '~') + ])), + Atom("'") + ]) + ) + ] + ), + Token( + name = DoubleQuotedStringLiteral, + definitions = [ + // Allows unicode characters: + TokenDefinition( + enabled = Range(from = "0.4.12", till = "0.7.0"), + scanner = Sequence([ + Atom("\""), + ZeroOrMore(Choice([ + Fragment(EscapeSequence), + Not(['"', '\\', '\r', '\n']) + ])), + Atom("\"") + ]) + ), + // Rejects unicode characters: + TokenDefinition( + scanner = Sequence([ + Atom("\""), + ZeroOrMore(Choice([ + Fragment(EscapeSequence), + Range(inclusive_start = ' ', inclusive_end = '!'), + Range(inclusive_start = '#', inclusive_end = '['), + Range(inclusive_start = ']', inclusive_end = '~') + ])), + Atom("\"") + ]) + ) + ] + ), Repeated( name = HexStringLiterals, reference = HexStringLiteral, enabled = From("0.5.14") ), - Token( + Enum( name = HexStringLiteral, - definitions = [ - TokenDefinition(scanner = Fragment(SingleQuotedHexStringLiteral)), - TokenDefinition(scanner = Fragment(DoubleQuotedHexStringLiteral)) + variants = [ + EnumVariant(reference = SingleQuotedHexStringLiteral), + EnumVariant(reference = DoubleQuotedHexStringLiteral) ] ), - Fragment( + Token( name = SingleQuotedHexStringLiteral, - scanner = Sequence([ - Atom("hex'"), - Optional(Fragment(HexStringContents)), - Atom("'") - ]) + definitions = [TokenDefinition( + scanner = Sequence([ + Atom("hex'"), + Optional(Fragment(HexStringContents)), + Atom("'") + ]) + )] ), - Fragment( + Token( name = DoubleQuotedHexStringLiteral, - scanner = Sequence([ - Atom("hex\""), - Optional(Fragment(HexStringContents)), - Atom("\"") - ]) + definitions = [TokenDefinition( + scanner = Sequence([ + Atom("hex\""), + Optional(Fragment(HexStringContents)), + Atom("\"") + ]) + )] ), Fragment( name = HexStringContents, @@ -3772,85 +3842,46 @@ codegen_language_macros::compile!(Language( Range(inclusive_start = 'A', inclusive_end = 'F') ]) ), - Repeated( - name = AsciiStringLiterals, - reference = AsciiStringLiteral, - enabled = From("0.5.14") - ), - Token( - name = AsciiStringLiteral, - definitions = [ - TokenDefinition(scanner = Fragment(SingleQuotedAsciiStringLiteral)), - TokenDefinition(scanner = Fragment(DoubleQuotedAsciiStringLiteral)) - ] - ), - Fragment( - name = SingleQuotedAsciiStringLiteral, - scanner = Sequence([ - Atom("'"), - ZeroOrMore(Choice([ - Fragment(EscapeSequence), - Range(inclusive_start = ' ', inclusive_end = '&'), - Range(inclusive_start = '(', inclusive_end = '['), - Range(inclusive_start = ']', inclusive_end = '~') - ])), - Atom("'") - ]) - ), - Fragment( - name = DoubleQuotedAsciiStringLiteral, - scanner = Sequence([ - Atom("\""), - ZeroOrMore(Choice([ - Fragment(EscapeSequence), - Range(inclusive_start = ' ', inclusive_end = '!'), - Range(inclusive_start = '#', inclusive_end = '['), - Range(inclusive_start = ']', inclusive_end = '~') - ])), - Atom("\"") - ]) - ), Repeated( name = UnicodeStringLiterals, reference = UnicodeStringLiteral, enabled = From("0.7.0") ), - Token( + Enum( name = UnicodeStringLiteral, - definitions = [ - TokenDefinition( - enabled = From("0.7.0"), - scanner = Fragment(SingleQuotedUnicodeStringLiteral) - ), - TokenDefinition( - enabled = From("0.7.0"), - scanner = Fragment(DoubleQuotedUnicodeStringLiteral) - ) + enabled = From("0.7.0"), + variants = [ + EnumVariant(reference = SingleQuotedUnicodeStringLiteral), + EnumVariant(reference = DoubleQuotedUnicodeStringLiteral) ] ), - Fragment( + Token( name = SingleQuotedUnicodeStringLiteral, - enabled = From("0.7.0"), - scanner = Sequence([ - Atom("unicode'"), - ZeroOrMore(Choice([ - Fragment(EscapeSequence), - Not(['\'', '\\', '\r', '\n']) - ])), - Atom("'") - ]) + definitions = [TokenDefinition( + enabled = From("0.7.0"), + scanner = Sequence([ + Atom("unicode'"), + ZeroOrMore(Choice([ + Fragment(EscapeSequence), + Not(['\'', '\\', '\r', '\n']) + ])), + Atom("'") + ]) + )] ), - Fragment( + Token( name = DoubleQuotedUnicodeStringLiteral, - enabled = From("0.7.0"), - scanner = Sequence([ - Atom("unicode\""), - ZeroOrMore(Choice([ - Fragment(EscapeSequence), - Not(['"', '\\', '\r', '\n']) - ])), - Atom("\"") - ]) + definitions = [TokenDefinition( + enabled = From("0.7.0"), + scanner = Sequence([ + Atom("unicode\""), + ZeroOrMore(Choice([ + Fragment(EscapeSequence), + Not(['"', '\\', '\r', '\n']) + ])), + Atom("\"") + ]) + )] ), Fragment( name = EscapeSequence, @@ -4267,7 +4298,7 @@ codegen_language_macros::compile!(Language( EnumVariant(reference = YulDecimalLiteral), EnumVariant(reference = YulHexLiteral), EnumVariant(reference = HexStringLiteral), - EnumVariant(reference = AsciiStringLiteral) + EnumVariant(reference = StringLiteral) ] ), Token( diff --git a/crates/solidity/outputs/cargo/slang_solidity/src/generated/kinds.rs b/crates/solidity/outputs/cargo/slang_solidity/src/generated/kinds.rs index 12e8ee0e36..40dcfad4ab 100644 --- a/crates/solidity/outputs/cargo/slang_solidity/src/generated/kinds.rs +++ b/crates/solidity/outputs/cargo/slang_solidity/src/generated/kinds.rs @@ -26,7 +26,6 @@ pub enum RuleKind { ArrayExpression, ArrayTypeName, ArrayValues, - AsciiStringLiterals, AssemblyFlags, AssemblyFlagsDeclaration, AssemblyStatement, @@ -88,6 +87,7 @@ pub enum RuleKind { FunctionTypeAttribute, FunctionTypeAttributes, HexNumberExpression, + HexStringLiteral, HexStringLiterals, IdentifierPath, IfStatement, @@ -158,6 +158,8 @@ pub enum RuleKind { Statements, StorageLocation, StringExpression, + StringLiteral, + StringLiterals, StructDefinition, StructMember, StructMembers, @@ -175,6 +177,7 @@ pub enum RuleKind { TypeName, TypedTupleMember, UncheckedBlock, + UnicodeStringLiteral, UnicodeStringLiterals, UnnamedFunctionAttribute, UnnamedFunctionAttributes, @@ -419,7 +422,6 @@ pub enum TokenKind { AnonymousKeyword, ApplyKeyword, AsKeyword, - AsciiStringLiteral, AssemblyKeyword, Asterisk, AsteriskAsterisk, @@ -456,6 +458,9 @@ pub enum TokenKind { DefineKeyword, DeleteKeyword, DoKeyword, + DoubleQuotedHexStringLiteral, + DoubleQuotedStringLiteral, + DoubleQuotedUnicodeStringLiteral, ElseKeyword, EmitKeyword, EndOfLine, @@ -486,7 +491,6 @@ pub enum TokenKind { GweiKeyword, HexKeyword, HexLiteral, - HexStringLiteral, HoursKeyword, Identifier, IfKeyword, @@ -551,6 +555,9 @@ pub enum TokenKind { Semicolon, SingleLineComment, SingleLineNatSpecComment, + SingleQuotedHexStringLiteral, + SingleQuotedStringLiteral, + SingleQuotedUnicodeStringLiteral, SizeOfKeyword, Slash, SlashEqual, @@ -572,7 +579,6 @@ pub enum TokenKind { UfixedKeyword, UintKeyword, UncheckedKeyword, - UnicodeStringLiteral, UsingKeyword, VarKeyword, VersionPragmaValue, diff --git a/crates/solidity/outputs/cargo/slang_solidity/src/generated/language.rs b/crates/solidity/outputs/cargo/slang_solidity/src/generated/language.rs index 5628dc647f..eaa750b9a9 100644 --- a/crates/solidity/outputs/cargo/slang_solidity/src/generated/language.rs +++ b/crates/solidity/outputs/cargo/slang_solidity/src/generated/language.rs @@ -373,34 +373,12 @@ impl Language { .with_kind(RuleKind::ArrayValues) } - #[allow(unused_assignments, unused_parens)] - fn ascii_string_literals(&self, input: &mut ParserContext<'_>) -> ParserResult { - if self.version_is_at_least_0_5_14 { - OneOrMoreHelper::run(input, |input| { - self.parse_token_with_trivia::( - input, - TokenKind::AsciiStringLiteral, - ) - .with_name(FieldName::Item) - }) - } else { - ParserResult::disabled() - } - .with_kind(RuleKind::AsciiStringLiterals) - } - #[allow(unused_assignments, unused_parens)] fn assembly_flags(&self, input: &mut ParserContext<'_>) -> ParserResult { SeparatedHelper::run::<_, LexicalContextType::Default>( input, self, - |input| { - self.parse_token_with_trivia::( - input, - TokenKind::AsciiStringLiteral, - ) - .with_name(FieldName::Item) - }, + |input| self.string_literal(input).with_name(FieldName::Item), TokenKind::Comma, FieldName::Separator, ) @@ -453,12 +431,7 @@ impl Language { )?; seq.elem_named( FieldName::Label, - OptionalHelper::transform( - self.parse_token_with_trivia::( - input, - TokenKind::AsciiStringLiteral, - ), - ), + OptionalHelper::transform(self.string_literal(input)), )?; seq.elem_named( FieldName::Flags, @@ -1578,10 +1551,7 @@ impl Language { TokenKind::Identifier, ); choice.consider(input, result)?; - let result = self.parse_token_with_trivia::( - input, - TokenKind::AsciiStringLiteral, - ); + let result = self.string_literal(input); choice.consider(input, result)?; choice.finish(input) }) @@ -2750,15 +2720,30 @@ impl Language { .with_kind(RuleKind::HexNumberExpression) } + #[allow(unused_assignments, unused_parens)] + fn hex_string_literal(&self, input: &mut ParserContext<'_>) -> ParserResult { + ChoiceHelper::run(input, |mut choice, input| { + let result = self.parse_token_with_trivia::( + input, + TokenKind::SingleQuotedHexStringLiteral, + ); + choice.consider(input, result)?; + let result = self.parse_token_with_trivia::( + input, + TokenKind::DoubleQuotedHexStringLiteral, + ); + choice.consider(input, result)?; + choice.finish(input) + }) + .with_name(FieldName::Variant) + .with_kind(RuleKind::HexStringLiteral) + } + #[allow(unused_assignments, unused_parens)] fn hex_string_literals(&self, input: &mut ParserContext<'_>) -> ParserResult { if self.version_is_at_least_0_5_14 { OneOrMoreHelper::run(input, |input| { - self.parse_token_with_trivia::( - input, - TokenKind::HexStringLiteral, - ) - .with_name(FieldName::Item) + self.hex_string_literal(input).with_name(FieldName::Item) }) } else { ParserResult::disabled() @@ -2909,13 +2894,7 @@ impl Language { TokenKind::FromKeyword, ), )?; - seq.elem_named( - FieldName::Path, - self.parse_token_with_trivia::( - input, - TokenKind::AsciiStringLiteral, - ), - )?; + seq.elem_named(FieldName::Path, self.string_literal(input))?; seq.finish() }) .with_kind(RuleKind::ImportDeconstruction) @@ -3603,13 +3582,7 @@ impl Language { TokenKind::FromKeyword, ), )?; - seq.elem_named( - FieldName::Path, - self.parse_token_with_trivia::( - input, - TokenKind::AsciiStringLiteral, - ), - )?; + seq.elem_named(FieldName::Path, self.string_literal(input))?; seq.finish() }) .with_kind(RuleKind::NamedImport) @@ -3862,13 +3835,7 @@ impl Language { #[allow(unused_assignments, unused_parens)] fn path_import(&self, input: &mut ParserContext<'_>) -> ParserResult { SequenceHelper::run(|mut seq| { - seq.elem_named( - FieldName::Path, - self.parse_token_with_trivia::( - input, - TokenKind::AsciiStringLiteral, - ), - )?; + seq.elem_named(FieldName::Path, self.string_literal(input))?; seq.elem_named( FieldName::Alias, OptionalHelper::transform(self.import_alias(input)), @@ -4471,25 +4438,19 @@ impl Language { fn string_expression(&self, input: &mut ParserContext<'_>) -> ParserResult { ChoiceHelper::run(input, |mut choice, input| { if !self.version_is_at_least_0_5_14 { - let result = self.parse_token_with_trivia::( - input, - TokenKind::HexStringLiteral, - ); + let result = self.string_literal(input); choice.consider(input, result)?; } if self.version_is_at_least_0_5_14 { - let result = self.hex_string_literals(input); + let result = self.string_literals(input); choice.consider(input, result)?; } if !self.version_is_at_least_0_5_14 { - let result = self.parse_token_with_trivia::( - input, - TokenKind::AsciiStringLiteral, - ); + let result = self.hex_string_literal(input); choice.consider(input, result)?; } if self.version_is_at_least_0_5_14 { - let result = self.ascii_string_literals(input); + let result = self.hex_string_literals(input); choice.consider(input, result)?; } if self.version_is_at_least_0_7_0 { @@ -4502,6 +4463,37 @@ impl Language { .with_kind(RuleKind::StringExpression) } + #[allow(unused_assignments, unused_parens)] + fn string_literal(&self, input: &mut ParserContext<'_>) -> ParserResult { + ChoiceHelper::run(input, |mut choice, input| { + let result = self.parse_token_with_trivia::( + input, + TokenKind::SingleQuotedStringLiteral, + ); + choice.consider(input, result)?; + let result = self.parse_token_with_trivia::( + input, + TokenKind::DoubleQuotedStringLiteral, + ); + choice.consider(input, result)?; + choice.finish(input) + }) + .with_name(FieldName::Variant) + .with_kind(RuleKind::StringLiteral) + } + + #[allow(unused_assignments, unused_parens)] + fn string_literals(&self, input: &mut ParserContext<'_>) -> ParserResult { + if self.version_is_at_least_0_5_14 { + OneOrMoreHelper::run(input, |input| { + self.string_literal(input).with_name(FieldName::Item) + }) + } else { + ParserResult::disabled() + } + .with_kind(RuleKind::StringLiterals) + } + #[allow(unused_assignments, unused_parens)] fn struct_definition(&self, input: &mut ParserContext<'_>) -> ParserResult { SequenceHelper::run(|mut seq| { @@ -4993,15 +4985,35 @@ impl Language { .with_kind(RuleKind::UncheckedBlock) } + #[allow(unused_assignments, unused_parens)] + fn unicode_string_literal(&self, input: &mut ParserContext<'_>) -> ParserResult { + if self.version_is_at_least_0_7_0 { + ChoiceHelper::run(input, |mut choice, input| { + let result = self.parse_token_with_trivia::( + input, + TokenKind::SingleQuotedUnicodeStringLiteral, + ); + choice.consider(input, result)?; + let result = self.parse_token_with_trivia::( + input, + TokenKind::DoubleQuotedUnicodeStringLiteral, + ); + choice.consider(input, result)?; + choice.finish(input) + }) + .with_name(FieldName::Variant) + } else { + ParserResult::disabled() + } + .with_kind(RuleKind::UnicodeStringLiteral) + } + #[allow(unused_assignments, unused_parens)] fn unicode_string_literals(&self, input: &mut ParserContext<'_>) -> ParserResult { if self.version_is_at_least_0_7_0 { OneOrMoreHelper::run(input, |input| { - self.parse_token_with_trivia::( - input, - TokenKind::UnicodeStringLiteral, - ) - .with_name(FieldName::Item) + self.unicode_string_literal(input) + .with_name(FieldName::Item) }) } else { ParserResult::disabled() @@ -6561,15 +6573,9 @@ impl Language { TokenKind::YulHexLiteral, ); choice.consider(input, result)?; - let result = self.parse_token_with_trivia::( - input, - TokenKind::HexStringLiteral, - ); + let result = self.hex_string_literal(input); choice.consider(input, result)?; - let result = self.parse_token_with_trivia::( - input, - TokenKind::AsciiStringLiteral, - ); + let result = self.string_literal(input); choice.consider(input, result)?; choice.finish(input) }) @@ -6818,15 +6824,6 @@ impl Language { ) } - #[allow(unused_assignments, unused_parens)] - fn ascii_string_literal(&self, input: &mut ParserContext<'_>) -> bool { - scan_choice!( - input, - self.single_quoted_ascii_string_literal(input), - self.double_quoted_ascii_string_literal(input) - ) - } - #[allow(unused_assignments, unused_parens)] fn decimal_digits(&self, input: &mut ParserContext<'_>) -> bool { scan_sequence!( @@ -6905,29 +6902,48 @@ impl Language { } #[allow(unused_assignments, unused_parens)] - fn double_quoted_ascii_string_literal(&self, input: &mut ParserContext<'_>) -> bool { + fn double_quoted_hex_string_literal(&self, input: &mut ParserContext<'_>) -> bool { scan_sequence!( - scan_chars!(input, '"'), - scan_zero_or_more!( - input, - scan_choice!( - input, - self.escape_sequence(input), - scan_char_range!(input, ' '..='!'), - scan_char_range!(input, '#'..='['), - scan_char_range!(input, ']'..='~') - ) - ), + scan_chars!(input, 'h', 'e', 'x', '"'), + scan_optional!(input, self.hex_string_contents(input)), scan_chars!(input, '"') ) } #[allow(unused_assignments, unused_parens)] - fn double_quoted_hex_string_literal(&self, input: &mut ParserContext<'_>) -> bool { - scan_sequence!( - scan_chars!(input, 'h', 'e', 'x', '"'), - scan_optional!(input, self.hex_string_contents(input)), - scan_chars!(input, '"') + fn double_quoted_string_literal(&self, input: &mut ParserContext<'_>) -> bool { + scan_choice!( + input, + if self.version_is_at_least_0_4_12 && !self.version_is_at_least_0_7_0 { + scan_sequence!( + scan_chars!(input, '"'), + scan_zero_or_more!( + input, + scan_choice!( + input, + self.escape_sequence(input), + scan_none_of!(input, '"', '\\', '\r', '\n') + ) + ), + scan_chars!(input, '"') + ) + } else { + false + }, + scan_sequence!( + scan_chars!(input, '"'), + scan_zero_or_more!( + input, + scan_choice!( + input, + self.escape_sequence(input), + scan_char_range!(input, ' '..='!'), + scan_char_range!(input, '#'..='['), + scan_char_range!(input, ']'..='~') + ) + ), + scan_chars!(input, '"') + ) ) } @@ -7048,15 +7064,6 @@ impl Language { ) } - #[allow(unused_assignments, unused_parens)] - fn hex_string_literal(&self, input: &mut ParserContext<'_>) -> bool { - scan_choice!( - input, - self.single_quoted_hex_string_literal(input), - self.double_quoted_hex_string_literal(input) - ) - } - #[allow(unused_assignments, unused_parens)] fn identifier(&self, input: &mut ParserContext<'_>) -> bool { self.raw_identifier(input) @@ -7147,29 +7154,48 @@ impl Language { } #[allow(unused_assignments, unused_parens)] - fn single_quoted_ascii_string_literal(&self, input: &mut ParserContext<'_>) -> bool { + fn single_quoted_hex_string_literal(&self, input: &mut ParserContext<'_>) -> bool { scan_sequence!( - scan_chars!(input, '\''), - scan_zero_or_more!( - input, - scan_choice!( - input, - self.escape_sequence(input), - scan_char_range!(input, ' '..='&'), - scan_char_range!(input, '('..='['), - scan_char_range!(input, ']'..='~') - ) - ), + scan_chars!(input, 'h', 'e', 'x', '\''), + scan_optional!(input, self.hex_string_contents(input)), scan_chars!(input, '\'') ) } #[allow(unused_assignments, unused_parens)] - fn single_quoted_hex_string_literal(&self, input: &mut ParserContext<'_>) -> bool { - scan_sequence!( - scan_chars!(input, 'h', 'e', 'x', '\''), - scan_optional!(input, self.hex_string_contents(input)), - scan_chars!(input, '\'') + fn single_quoted_string_literal(&self, input: &mut ParserContext<'_>) -> bool { + scan_choice!( + input, + if self.version_is_at_least_0_4_12 && !self.version_is_at_least_0_7_0 { + scan_sequence!( + scan_chars!(input, '\''), + scan_zero_or_more!( + input, + scan_choice!( + input, + self.escape_sequence(input), + scan_none_of!(input, '\'', '\\', '\r', '\n') + ) + ), + scan_chars!(input, '\'') + ) + } else { + false + }, + scan_sequence!( + scan_chars!(input, '\''), + scan_zero_or_more!( + input, + scan_choice!( + input, + self.escape_sequence(input), + scan_char_range!(input, ' '..='&'), + scan_char_range!(input, '('..='['), + scan_char_range!(input, ']'..='~') + ) + ), + scan_chars!(input, '\'') + ) ) } @@ -7218,23 +7244,6 @@ impl Language { ) } - #[allow(unused_assignments, unused_parens)] - fn unicode_string_literal(&self, input: &mut ParserContext<'_>) -> bool { - scan_choice!( - input, - if self.version_is_at_least_0_7_0 { - self.single_quoted_unicode_string_literal(input) - } else { - false - }, - if self.version_is_at_least_0_7_0 { - self.double_quoted_unicode_string_literal(input) - } else { - false - } - ) - } - #[allow(unused_assignments, unused_parens)] fn version_pragma_value(&self, input: &mut ParserContext<'_>) -> bool { scan_one_or_more!( @@ -8845,7 +8854,6 @@ impl Language { RuleKind::ArrayExpression => Self::array_expression.parse(self, input, true), RuleKind::ArrayTypeName => Self::array_type_name.parse(self, input, true), RuleKind::ArrayValues => Self::array_values.parse(self, input, true), - RuleKind::AsciiStringLiterals => Self::ascii_string_literals.parse(self, input, true), RuleKind::AssemblyFlags => Self::assembly_flags.parse(self, input, true), RuleKind::AssemblyFlagsDeclaration => { Self::assembly_flags_declaration.parse(self, input, true) @@ -8939,6 +8947,7 @@ impl Language { Self::function_type_attributes.parse(self, input, true) } RuleKind::HexNumberExpression => Self::hex_number_expression.parse(self, input, true), + RuleKind::HexStringLiteral => Self::hex_string_literal.parse(self, input, true), RuleKind::HexStringLiterals => Self::hex_string_literals.parse(self, input, true), RuleKind::IdentifierPath => Self::identifier_path.parse(self, input, true), RuleKind::IfStatement => Self::if_statement.parse(self, input, true), @@ -9041,6 +9050,8 @@ impl Language { RuleKind::Statements => Self::statements.parse(self, input, true), RuleKind::StorageLocation => Self::storage_location.parse(self, input, true), RuleKind::StringExpression => Self::string_expression.parse(self, input, true), + RuleKind::StringLiteral => Self::string_literal.parse(self, input, true), + RuleKind::StringLiterals => Self::string_literals.parse(self, input, true), RuleKind::StructDefinition => Self::struct_definition.parse(self, input, true), RuleKind::StructMember => Self::struct_member.parse(self, input, true), RuleKind::StructMembers => Self::struct_members.parse(self, input, true), @@ -9064,6 +9075,7 @@ impl Language { RuleKind::TypeName => Self::type_name.parse(self, input, true), RuleKind::TypedTupleMember => Self::typed_tuple_member.parse(self, input, true), RuleKind::UncheckedBlock => Self::unchecked_block.parse(self, input, true), + RuleKind::UnicodeStringLiteral => Self::unicode_string_literal.parse(self, input, true), RuleKind::UnicodeStringLiterals => { Self::unicode_string_literals.parse(self, input, true) } @@ -9367,17 +9379,20 @@ impl Lexer for Language { input.set_position(save); longest_match! { - { AsciiStringLiteral = ascii_string_literal } { DecimalLiteral = decimal_literal } + { DoubleQuotedHexStringLiteral = double_quoted_hex_string_literal } + { DoubleQuotedStringLiteral = double_quoted_string_literal } + { DoubleQuotedUnicodeStringLiteral = double_quoted_unicode_string_literal } { EndOfLine = end_of_line } { HexLiteral = hex_literal } - { HexStringLiteral = hex_string_literal } { MultiLineComment = multi_line_comment } { MultiLineNatSpecComment = multi_line_nat_spec_comment } { SingleLineComment = single_line_comment } { SingleLineNatSpecComment = single_line_nat_spec_comment } + { SingleQuotedHexStringLiteral = single_quoted_hex_string_literal } + { SingleQuotedStringLiteral = single_quoted_string_literal } + { SingleQuotedUnicodeStringLiteral = single_quoted_unicode_string_literal } { Slash = slash } - { UnicodeStringLiteral = unicode_string_literal } { Whitespace = whitespace } } // Make sure promotable identifiers are last so they don't grab other things @@ -10646,7 +10661,6 @@ impl Lexer for Language { input.set_position(save); longest_match! { - { AsciiStringLiteral = ascii_string_literal } { VersionPragmaValue = version_pragma_value } } // Make sure promotable identifiers are last so they don't grab other things @@ -10743,8 +10757,6 @@ impl Lexer for Language { input.set_position(save); longest_match! { - { AsciiStringLiteral = ascii_string_literal } - { HexStringLiteral = hex_string_literal } { YulDecimalLiteral = yul_decimal_literal } { YulHexLiteral = yul_hex_literal } } diff --git a/crates/solidity/outputs/cargo/slang_solidity/src/generated/napi_interface/ast_selectors.rs b/crates/solidity/outputs/cargo/slang_solidity/src/generated/napi_interface/ast_selectors.rs index 8f34599abc..24e059e635 100644 --- a/crates/solidity/outputs/cargo/slang_solidity/src/generated/napi_interface/ast_selectors.rs +++ b/crates/solidity/outputs/cargo/slang_solidity/src/generated/napi_interface/ast_selectors.rs @@ -253,7 +253,7 @@ impl Selector { impl Selector { fn path_import(&mut self) -> Result>> { Ok(vec![ - Some(self.select(|node| node.is_token_with_kind(TokenKind::AsciiStringLiteral))?), + Some(self.select(|node| node.is_rule_with_kind(RuleKind::StringLiteral))?), self.try_select(|node| node.is_rule_with_kind(RuleKind::ImportAlias))?, ]) } @@ -265,7 +265,7 @@ impl Selector { Some(self.select(|node| node.is_token_with_kind(TokenKind::Asterisk))?), Some(self.select(|node| node.is_rule_with_kind(RuleKind::ImportAlias))?), Some(self.select(|node| node.is_token_with_kind(TokenKind::FromKeyword))?), - Some(self.select(|node| node.is_token_with_kind(TokenKind::AsciiStringLiteral))?), + Some(self.select(|node| node.is_rule_with_kind(RuleKind::StringLiteral))?), ]) } } @@ -279,7 +279,7 @@ impl Selector { ), Some(self.select(|node| node.is_token_with_kind(TokenKind::CloseBrace))?), Some(self.select(|node| node.is_token_with_kind(TokenKind::FromKeyword))?), - Some(self.select(|node| node.is_token_with_kind(TokenKind::AsciiStringLiteral))?), + Some(self.select(|node| node.is_rule_with_kind(RuleKind::StringLiteral))?), ]) } } @@ -763,7 +763,7 @@ impl Selector { fn assembly_statement(&mut self) -> Result>> { Ok(vec![ Some(self.select(|node| node.is_token_with_kind(TokenKind::AssemblyKeyword))?), - self.try_select(|node| node.is_token_with_kind(TokenKind::AsciiStringLiteral))?, + self.try_select(|node| node.is_rule_with_kind(RuleKind::StringLiteral))?, self.try_select(|node| node.is_rule_with_kind(RuleKind::AssemblyFlagsDeclaration))?, Some(self.select(|node| node.is_rule_with_kind(RuleKind::YulBlock))?), ]) @@ -1514,6 +1514,9 @@ pub fn select_choice( RuleKind::ArgumentsDeclaration => selector.arguments_declaration()?, RuleKind::NumberUnit => selector.number_unit()?, RuleKind::StringExpression => selector.string_expression()?, + RuleKind::StringLiteral => selector.string_literal()?, + RuleKind::HexStringLiteral => selector.hex_string_literal()?, + RuleKind::UnicodeStringLiteral => selector.unicode_string_literal()?, RuleKind::YulStatement => selector.yul_statement()?, RuleKind::YulSwitchCase => selector.yul_switch_case()?, RuleKind::YulExpression => selector.yul_expression()?, @@ -1565,7 +1568,8 @@ impl Selector { impl Selector { fn experimental_feature(&mut self) -> Result { self.select(|node| { - node.is_token_with_kinds(&[TokenKind::Identifier, TokenKind::AsciiStringLiteral]) + node.is_rule_with_kind(RuleKind::StringLiteral) + || node.is_token_with_kind(TokenKind::Identifier) }) } } @@ -2003,11 +2007,45 @@ impl Selector { fn string_expression(&mut self) -> Result { self.select(|node| { node.is_rule_with_kinds(&[ + RuleKind::StringLiteral, + RuleKind::StringLiterals, + RuleKind::HexStringLiteral, RuleKind::HexStringLiterals, - RuleKind::AsciiStringLiterals, RuleKind::UnicodeStringLiterals, - ]) || node - .is_token_with_kinds(&[TokenKind::HexStringLiteral, TokenKind::AsciiStringLiteral]) + ]) + }) + } +} + +impl Selector { + fn string_literal(&mut self) -> Result { + self.select(|node| { + node.is_token_with_kinds(&[ + TokenKind::SingleQuotedStringLiteral, + TokenKind::DoubleQuotedStringLiteral, + ]) + }) + } +} + +impl Selector { + fn hex_string_literal(&mut self) -> Result { + self.select(|node| { + node.is_token_with_kinds(&[ + TokenKind::SingleQuotedHexStringLiteral, + TokenKind::DoubleQuotedHexStringLiteral, + ]) + }) + } +} + +impl Selector { + fn unicode_string_literal(&mut self) -> Result { + self.select(|node| { + node.is_token_with_kinds(&[ + TokenKind::SingleQuotedUnicodeStringLiteral, + TokenKind::DoubleQuotedUnicodeStringLiteral, + ]) }) } } @@ -2142,14 +2180,13 @@ impl Selector { impl Selector { fn yul_literal(&mut self) -> Result { self.select(|node| { - node.is_token_with_kinds(&[ - TokenKind::YulTrueKeyword, - TokenKind::YulFalseKeyword, - TokenKind::YulDecimalLiteral, - TokenKind::YulHexLiteral, - TokenKind::HexStringLiteral, - TokenKind::AsciiStringLiteral, - ]) + node.is_rule_with_kinds(&[RuleKind::HexStringLiteral, RuleKind::StringLiteral]) + || node.is_token_with_kinds(&[ + TokenKind::YulTrueKeyword, + TokenKind::YulFalseKeyword, + TokenKind::YulDecimalLiteral, + TokenKind::YulHexLiteral, + ]) }) } } @@ -2187,8 +2224,8 @@ pub fn select_repeated( RuleKind::Statements => selector.statements()?, RuleKind::CatchClauses => selector.catch_clauses()?, RuleKind::NamedArgumentGroups => selector.named_argument_groups()?, + RuleKind::StringLiterals => selector.string_literals()?, RuleKind::HexStringLiterals => selector.hex_string_literals()?, - RuleKind::AsciiStringLiterals => selector.ascii_string_literals()?, RuleKind::UnicodeStringLiterals => selector.unicode_string_literals()?, RuleKind::YulStatements => selector.yul_statements()?, RuleKind::YulSwitchCases => selector.yul_switch_cases()?, @@ -2440,11 +2477,11 @@ impl Selector { } impl Selector { - fn hex_string_literals(&mut self) -> Result> { + fn string_literals(&mut self) -> Result> { let mut items = vec![]; while let Some(item) = - self.try_select(|node| node.is_token_with_kind(TokenKind::HexStringLiteral))? + self.try_select(|node| node.is_rule_with_kind(RuleKind::StringLiteral))? { items.push(item); } @@ -2454,11 +2491,11 @@ impl Selector { } impl Selector { - fn ascii_string_literals(&mut self) -> Result> { + fn hex_string_literals(&mut self) -> Result> { let mut items = vec![]; while let Some(item) = - self.try_select(|node| node.is_token_with_kind(TokenKind::AsciiStringLiteral))? + self.try_select(|node| node.is_rule_with_kind(RuleKind::HexStringLiteral))? { items.push(item); } @@ -2472,7 +2509,7 @@ impl Selector { let mut items = vec![]; while let Some(item) = - self.try_select(|node| node.is_token_with_kind(TokenKind::UnicodeStringLiteral))? + self.try_select(|node| node.is_rule_with_kind(RuleKind::UnicodeStringLiteral))? { items.push(item); } @@ -2739,15 +2776,14 @@ impl Selector { let mut separated = vec![]; let mut separators = vec![]; - separated.push(self.select(|node| node.is_token_with_kind(TokenKind::AsciiStringLiteral))?); + separated.push(self.select(|node| node.is_rule_with_kind(RuleKind::StringLiteral))?); while let Some(separator) = self.try_select(|node| node.is_token_with_kind(TokenKind::Comma))? { separators.push(separator); - separated - .push(self.select(|node| node.is_token_with_kind(TokenKind::AsciiStringLiteral))?); + separated.push(self.select(|node| node.is_rule_with_kind(RuleKind::StringLiteral))?); } Ok(vec![separated, separators]) diff --git a/crates/solidity/outputs/cargo/tests/src/cst_output/generated/AsciiStringLiterals.rs b/crates/solidity/outputs/cargo/tests/src/cst_output/generated/AsciiStringLiterals.rs deleted file mode 100644 index f070e65424..0000000000 --- a/crates/solidity/outputs/cargo/tests/src/cst_output/generated/AsciiStringLiterals.rs +++ /dev/null @@ -1,20 +0,0 @@ -// This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -use anyhow::Result; - -use crate::cst_output::runner::run; - -#[test] -fn multiple() -> Result<()> { - run("AsciiStringLiterals", "multiple") -} - -#[test] -fn single() -> Result<()> { - run("AsciiStringLiterals", "single") -} - -#[test] -fn single_trailing_ident() -> Result<()> { - run("AsciiStringLiterals", "single_trailing_ident") -} diff --git a/crates/solidity/outputs/cargo/tests/src/cst_output/generated/StringLiterals.rs b/crates/solidity/outputs/cargo/tests/src/cst_output/generated/StringLiterals.rs new file mode 100644 index 0000000000..ed145517c5 --- /dev/null +++ b/crates/solidity/outputs/cargo/tests/src/cst_output/generated/StringLiterals.rs @@ -0,0 +1,35 @@ +// This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +use anyhow::Result; + +use crate::cst_output::runner::run; + +#[test] +fn both_quotes() -> Result<()> { + run("StringLiterals", "both_quotes") +} + +#[test] +fn double_quote() -> Result<()> { + run("StringLiterals", "double_quote") +} + +#[test] +fn double_quote_unicode() -> Result<()> { + run("StringLiterals", "double_quote_unicode") +} + +#[test] +fn single_quote() -> Result<()> { + run("StringLiterals", "single_quote") +} + +#[test] +fn single_quote_unicode() -> Result<()> { + run("StringLiterals", "single_quote_unicode") +} + +#[test] +fn single_trailing_ident() -> Result<()> { + run("StringLiterals", "single_trailing_ident") +} diff --git a/crates/solidity/outputs/cargo/tests/src/cst_output/generated/mod.rs b/crates/solidity/outputs/cargo/tests/src/cst_output/generated/mod.rs index 4636dc5b1c..9881ef387f 100644 --- a/crates/solidity/outputs/cargo/tests/src/cst_output/generated/mod.rs +++ b/crates/solidity/outputs/cargo/tests/src/cst_output/generated/mod.rs @@ -2,8 +2,6 @@ use semver::Version; #[allow(non_snake_case)] -mod AsciiStringLiterals; -#[allow(non_snake_case)] mod AssemblyStatement; #[allow(non_snake_case)] mod Block; @@ -64,6 +62,8 @@ mod SourceUnit; #[allow(non_snake_case)] mod Statements; #[allow(non_snake_case)] +mod StringLiterals; +#[allow(non_snake_case)] mod StructDefinition; #[allow(non_snake_case)] mod ThrowStatement; diff --git a/crates/solidity/outputs/npm/package/src/ast/generated/ast_types.ts b/crates/solidity/outputs/npm/package/src/ast/generated/ast_types.ts index e4797d362b..851d5ee9f0 100644 --- a/crates/solidity/outputs/npm/package/src/ast/generated/ast_types.ts +++ b/crates/solidity/outputs/npm/package/src/ast/generated/ast_types.ts @@ -236,7 +236,7 @@ export class PathImport { const [$path, $alias] = ast_internal.selectSequence(this.cst); return { - path: $path as TokenNode, + path: new StringLiteral($path as RuleNode), alias: $alias === null ? undefined : new ImportAlias($alias as RuleNode), }; }); @@ -245,7 +245,7 @@ export class PathImport { assertKind(this.cst.kind, RuleKind.PathImport); } - public get path(): TokenNode { + public get path(): StringLiteral { return this.fetch().path; } @@ -262,7 +262,7 @@ export class NamedImport { asterisk: $asterisk as TokenNode, alias: new ImportAlias($alias as RuleNode), fromKeyword: $fromKeyword as TokenNode, - path: $path as TokenNode, + path: new StringLiteral($path as RuleNode), }; }); @@ -282,7 +282,7 @@ export class NamedImport { return this.fetch().fromKeyword; } - public get path(): TokenNode { + public get path(): StringLiteral { return this.fetch().path; } } @@ -296,7 +296,7 @@ export class ImportDeconstruction { symbols: new ImportDeconstructionSymbols($symbols as RuleNode), closeBrace: $closeBrace as TokenNode, fromKeyword: $fromKeyword as TokenNode, - path: $path as TokenNode, + path: new StringLiteral($path as RuleNode), }; }); @@ -320,7 +320,7 @@ export class ImportDeconstruction { return this.fetch().fromKeyword; } - public get path(): TokenNode { + public get path(): StringLiteral { return this.fetch().path; } } @@ -1722,7 +1722,7 @@ export class AssemblyStatement { return { assemblyKeyword: $assemblyKeyword as TokenNode, - label: $label === null ? undefined : ($label as TokenNode), + label: $label === null ? undefined : new StringLiteral($label as RuleNode), flags: $flags === null ? undefined : new AssemblyFlagsDeclaration($flags as RuleNode), body: new YulBlock($body as RuleNode), }; @@ -1736,7 +1736,7 @@ export class AssemblyStatement { return this.fetch().assemblyKeyword; } - public get label(): TokenNode | undefined { + public get label(): StringLiteral | undefined { return this.fetch().label; } @@ -3817,12 +3817,14 @@ export class Pragma { } export class ExperimentalFeature { - private readonly fetch: () => TokenNode = once(() => { + private readonly fetch: () => StringLiteral | TokenNode = once(() => { const variant = ast_internal.selectChoice(this.cst); switch (variant.kind) { + case RuleKind.StringLiteral: + return new StringLiteral(variant as RuleNode); + case TokenKind.Identifier: - case TokenKind.AsciiStringLiteral: return variant as TokenNode; default: @@ -3834,7 +3836,7 @@ export class ExperimentalFeature { assertKind(this.cst.kind, RuleKind.ExperimentalFeature); } - public get variant(): TokenNode { + public get variant(): StringLiteral | TokenNode { return this.fetch(); } } @@ -4891,33 +4893,105 @@ export class NumberUnit { } export class StringExpression { - private readonly fetch: () => HexStringLiterals | AsciiStringLiterals | UnicodeStringLiterals | TokenNode = once( - () => { - const variant = ast_internal.selectChoice(this.cst); - - switch (variant.kind) { - case RuleKind.HexStringLiterals: - return new HexStringLiterals(variant as RuleNode); - case RuleKind.AsciiStringLiterals: - return new AsciiStringLiterals(variant as RuleNode); - case RuleKind.UnicodeStringLiterals: - return new UnicodeStringLiterals(variant as RuleNode); + private readonly fetch: () => + | StringLiteral + | StringLiterals + | HexStringLiteral + | HexStringLiterals + | UnicodeStringLiterals = once(() => { + const variant = ast_internal.selectChoice(this.cst); - case TokenKind.HexStringLiteral: - case TokenKind.AsciiStringLiteral: - return variant as TokenNode; + switch (variant.kind) { + case RuleKind.StringLiteral: + return new StringLiteral(variant as RuleNode); + case RuleKind.StringLiterals: + return new StringLiterals(variant as RuleNode); + case RuleKind.HexStringLiteral: + return new HexStringLiteral(variant as RuleNode); + case RuleKind.HexStringLiterals: + return new HexStringLiterals(variant as RuleNode); + case RuleKind.UnicodeStringLiterals: + return new UnicodeStringLiterals(variant as RuleNode); - default: - assert.fail(`Unexpected variant: ${variant.kind}`); - } - }, - ); + default: + assert.fail(`Unexpected variant: ${variant.kind}`); + } + }); public constructor(public readonly cst: RuleNode) { assertKind(this.cst.kind, RuleKind.StringExpression); } - public get variant(): HexStringLiterals | AsciiStringLiterals | UnicodeStringLiterals | TokenNode { + public get variant(): StringLiteral | StringLiterals | HexStringLiteral | HexStringLiterals | UnicodeStringLiterals { + return this.fetch(); + } +} + +export class StringLiteral { + private readonly fetch: () => TokenNode = once(() => { + const variant = ast_internal.selectChoice(this.cst); + + switch (variant.kind) { + case TokenKind.SingleQuotedStringLiteral: + case TokenKind.DoubleQuotedStringLiteral: + return variant as TokenNode; + + default: + assert.fail(`Unexpected variant: ${variant.kind}`); + } + }); + + public constructor(public readonly cst: RuleNode) { + assertKind(this.cst.kind, RuleKind.StringLiteral); + } + + public get variant(): TokenNode { + return this.fetch(); + } +} + +export class HexStringLiteral { + private readonly fetch: () => TokenNode = once(() => { + const variant = ast_internal.selectChoice(this.cst); + + switch (variant.kind) { + case TokenKind.SingleQuotedHexStringLiteral: + case TokenKind.DoubleQuotedHexStringLiteral: + return variant as TokenNode; + + default: + assert.fail(`Unexpected variant: ${variant.kind}`); + } + }); + + public constructor(public readonly cst: RuleNode) { + assertKind(this.cst.kind, RuleKind.HexStringLiteral); + } + + public get variant(): TokenNode { + return this.fetch(); + } +} + +export class UnicodeStringLiteral { + private readonly fetch: () => TokenNode = once(() => { + const variant = ast_internal.selectChoice(this.cst); + + switch (variant.kind) { + case TokenKind.SingleQuotedUnicodeStringLiteral: + case TokenKind.DoubleQuotedUnicodeStringLiteral: + return variant as TokenNode; + + default: + assert.fail(`Unexpected variant: ${variant.kind}`); + } + }); + + public constructor(public readonly cst: RuleNode) { + assertKind(this.cst.kind, RuleKind.UnicodeStringLiteral); + } + + public get variant(): TokenNode { return this.fetch(); } } @@ -5142,16 +5216,19 @@ export class YulBuiltInFunction { } export class YulLiteral { - private readonly fetch: () => TokenNode = once(() => { + private readonly fetch: () => HexStringLiteral | StringLiteral | TokenNode = once(() => { const variant = ast_internal.selectChoice(this.cst); switch (variant.kind) { + case RuleKind.HexStringLiteral: + return new HexStringLiteral(variant as RuleNode); + case RuleKind.StringLiteral: + return new StringLiteral(variant as RuleNode); + case TokenKind.YulTrueKeyword: case TokenKind.YulFalseKeyword: case TokenKind.YulDecimalLiteral: case TokenKind.YulHexLiteral: - case TokenKind.HexStringLiteral: - case TokenKind.AsciiStringLiteral: return variant as TokenNode; default: @@ -5163,7 +5240,7 @@ export class YulLiteral { assertKind(this.cst.kind, RuleKind.YulLiteral); } - public get variant(): TokenNode { + public get variant(): HexStringLiteral | StringLiteral | TokenNode { return this.fetch(); } } @@ -5427,32 +5504,32 @@ export class NamedArgumentGroups { } } -export class HexStringLiterals { +export class StringLiterals { private readonly fetch = once(() => { const items = ast_internal.selectRepeated(this.cst); - return items as TokenNode[]; + return items.map((item) => new StringLiteral(item as RuleNode)); }); public constructor(public readonly cst: RuleNode) { - assertKind(this.cst.kind, RuleKind.HexStringLiterals); + assertKind(this.cst.kind, RuleKind.StringLiterals); } - public get items(): readonly TokenNode[] { + public get items(): readonly StringLiteral[] { return this.fetch(); } } -export class AsciiStringLiterals { +export class HexStringLiterals { private readonly fetch = once(() => { const items = ast_internal.selectRepeated(this.cst); - return items as TokenNode[]; + return items.map((item) => new HexStringLiteral(item as RuleNode)); }); public constructor(public readonly cst: RuleNode) { - assertKind(this.cst.kind, RuleKind.AsciiStringLiterals); + assertKind(this.cst.kind, RuleKind.HexStringLiterals); } - public get items(): readonly TokenNode[] { + public get items(): readonly HexStringLiteral[] { return this.fetch(); } } @@ -5460,14 +5537,14 @@ export class AsciiStringLiterals { export class UnicodeStringLiterals { private readonly fetch = once(() => { const items = ast_internal.selectRepeated(this.cst); - return items as TokenNode[]; + return items.map((item) => new UnicodeStringLiteral(item as RuleNode)); }); public constructor(public readonly cst: RuleNode) { assertKind(this.cst.kind, RuleKind.UnicodeStringLiterals); } - public get items(): readonly TokenNode[] { + public get items(): readonly UnicodeStringLiteral[] { return this.fetch(); } } @@ -5696,14 +5773,14 @@ export class AssemblyFlags { private readonly fetch = once(() => { const [items, separators] = ast_internal.selectSeparated(this.cst); - return { items: items as TokenNode[], separators: separators as TokenNode[] }; + return { items: items.map((item) => new StringLiteral(item as RuleNode)), separators: separators as TokenNode[] }; }); public constructor(public readonly cst: RuleNode) { assertKind(this.cst.kind, RuleKind.AssemblyFlags); } - public get items(): readonly TokenNode[] { + public get items(): readonly StringLiteral[] { return this.fetch().items; } diff --git a/crates/solidity/outputs/npm/package/src/generated/index.d.ts b/crates/solidity/outputs/npm/package/src/generated/index.d.ts index df1e66295a..b8563ea40d 100644 --- a/crates/solidity/outputs/npm/package/src/generated/index.d.ts +++ b/crates/solidity/outputs/npm/package/src/generated/index.d.ts @@ -18,7 +18,6 @@ export namespace kinds { ArrayExpression = "ArrayExpression", ArrayTypeName = "ArrayTypeName", ArrayValues = "ArrayValues", - AsciiStringLiterals = "AsciiStringLiterals", AssemblyFlags = "AssemblyFlags", AssemblyFlagsDeclaration = "AssemblyFlagsDeclaration", AssemblyStatement = "AssemblyStatement", @@ -80,6 +79,7 @@ export namespace kinds { FunctionTypeAttribute = "FunctionTypeAttribute", FunctionTypeAttributes = "FunctionTypeAttributes", HexNumberExpression = "HexNumberExpression", + HexStringLiteral = "HexStringLiteral", HexStringLiterals = "HexStringLiterals", IdentifierPath = "IdentifierPath", IfStatement = "IfStatement", @@ -150,6 +150,8 @@ export namespace kinds { Statements = "Statements", StorageLocation = "StorageLocation", StringExpression = "StringExpression", + StringLiteral = "StringLiteral", + StringLiterals = "StringLiterals", StructDefinition = "StructDefinition", StructMember = "StructMember", StructMembers = "StructMembers", @@ -167,6 +169,7 @@ export namespace kinds { TypeName = "TypeName", TypedTupleMember = "TypedTupleMember", UncheckedBlock = "UncheckedBlock", + UnicodeStringLiteral = "UnicodeStringLiteral", UnicodeStringLiterals = "UnicodeStringLiterals", UnnamedFunctionAttribute = "UnnamedFunctionAttribute", UnnamedFunctionAttributes = "UnnamedFunctionAttributes", @@ -367,7 +370,6 @@ export namespace kinds { AnonymousKeyword = "AnonymousKeyword", ApplyKeyword = "ApplyKeyword", AsKeyword = "AsKeyword", - AsciiStringLiteral = "AsciiStringLiteral", AssemblyKeyword = "AssemblyKeyword", Asterisk = "Asterisk", AsteriskAsterisk = "AsteriskAsterisk", @@ -404,6 +406,9 @@ export namespace kinds { DefineKeyword = "DefineKeyword", DeleteKeyword = "DeleteKeyword", DoKeyword = "DoKeyword", + DoubleQuotedHexStringLiteral = "DoubleQuotedHexStringLiteral", + DoubleQuotedStringLiteral = "DoubleQuotedStringLiteral", + DoubleQuotedUnicodeStringLiteral = "DoubleQuotedUnicodeStringLiteral", ElseKeyword = "ElseKeyword", EmitKeyword = "EmitKeyword", EndOfLine = "EndOfLine", @@ -434,7 +439,6 @@ export namespace kinds { GweiKeyword = "GweiKeyword", HexKeyword = "HexKeyword", HexLiteral = "HexLiteral", - HexStringLiteral = "HexStringLiteral", HoursKeyword = "HoursKeyword", Identifier = "Identifier", IfKeyword = "IfKeyword", @@ -499,6 +503,9 @@ export namespace kinds { Semicolon = "Semicolon", SingleLineComment = "SingleLineComment", SingleLineNatSpecComment = "SingleLineNatSpecComment", + SingleQuotedHexStringLiteral = "SingleQuotedHexStringLiteral", + SingleQuotedStringLiteral = "SingleQuotedStringLiteral", + SingleQuotedUnicodeStringLiteral = "SingleQuotedUnicodeStringLiteral", SizeOfKeyword = "SizeOfKeyword", Slash = "Slash", SlashEqual = "SlashEqual", @@ -520,7 +527,6 @@ export namespace kinds { UfixedKeyword = "UfixedKeyword", UintKeyword = "UintKeyword", UncheckedKeyword = "UncheckedKeyword", - UnicodeStringLiteral = "UnicodeStringLiteral", UsingKeyword = "UsingKeyword", VarKeyword = "VarKeyword", VersionPragmaValue = "VersionPragmaValue", diff --git a/crates/solidity/outputs/spec/generated/grammar.ebnf b/crates/solidity/outputs/spec/generated/grammar.ebnf index eaa0d472f5..8a854949d0 100644 --- a/crates/solidity/outputs/spec/generated/grammar.ebnf +++ b/crates/solidity/outputs/spec/generated/grammar.ebnf @@ -45,7 +45,7 @@ ExperimentalPragma = EXPERIMENTAL_KEYWORD ExperimentalFeature; ExperimentalFeature = IDENTIFIER - | ASCII_STRING_LITERAL; + | StringLiteral; VersionPragma = SOLIDITY_KEYWORD VersionPragmaExpressions; @@ -80,19 +80,19 @@ ImportClause = PathImport | NamedImport | ImportDeconstruction; -PathImport = ASCII_STRING_LITERAL +PathImport = StringLiteral ImportAlias?; NamedImport = ASTERISK ImportAlias FROM_KEYWORD - ASCII_STRING_LITERAL; + StringLiteral; ImportDeconstruction = OPEN_BRACE ImportDeconstructionSymbols CLOSE_BRACE FROM_KEYWORD - ASCII_STRING_LITERAL; + StringLiteral; ImportDeconstructionSymbols = ImportDeconstructionSymbol (COMMA ImportDeconstructionSymbol)*; @@ -956,7 +956,7 @@ ExpressionStatement = Expression SEMICOLON; AssemblyStatement = ASSEMBLY_KEYWORD - ASCII_STRING_LITERAL? + StringLiteral? AssemblyFlagsDeclaration? YulBlock; @@ -964,7 +964,7 @@ AssemblyFlagsDeclaration = OPEN_PAREN AssemblyFlags CLOSE_PAREN; -AssemblyFlags = ASCII_STRING_LITERAL (COMMA ASCII_STRING_LITERAL)*; +AssemblyFlags = StringLiteral (COMMA StringLiteral)*; (* 4.2. Declaration Statements: *) @@ -1239,52 +1239,54 @@ NumberUnit = WEI_KEYWORD (* 5.5. Strings: *) -StringExpression = HEX_STRING_LITERAL (* Deprecated in 0.5.14 *) +StringExpression = StringLiteral (* Deprecated in 0.5.14 *) + | StringLiterals (* Introduced in 0.5.14 *) + | HexStringLiteral (* Deprecated in 0.5.14 *) | HexStringLiterals (* Introduced in 0.5.14 *) - | ASCII_STRING_LITERAL (* Deprecated in 0.5.14 *) - | AsciiStringLiterals (* Introduced in 0.5.14 *) | UnicodeStringLiterals; (* Introduced in 0.7.0 *) (* Introduced in 0.5.14 *) -HexStringLiterals = HEX_STRING_LITERAL+; +StringLiterals = StringLiteral+; -HEX_STRING_LITERAL = «SINGLE_QUOTED_HEX_STRING_LITERAL»; +StringLiteral = SINGLE_QUOTED_STRING_LITERAL + | DOUBLE_QUOTED_STRING_LITERAL; -HEX_STRING_LITERAL = «DOUBLE_QUOTED_HEX_STRING_LITERAL»; +(* Introduced in 0.4.12 and deprecated in 0.7.0. *) +SINGLE_QUOTED_STRING_LITERAL = "'" («ESCAPE_SEQUENCE» | !("'" "\\" "\r" "\n"))* "'"; -«SINGLE_QUOTED_HEX_STRING_LITERAL» = "hex'" «HEX_STRING_CONTENTS»? "'"; +SINGLE_QUOTED_STRING_LITERAL = "'" («ESCAPE_SEQUENCE» | (" "…"&") | ("("…"[") | ("]"…"~"))* "'"; -«DOUBLE_QUOTED_HEX_STRING_LITERAL» = 'hex"' «HEX_STRING_CONTENTS»? '"'; +(* Introduced in 0.4.12 and deprecated in 0.7.0. *) +DOUBLE_QUOTED_STRING_LITERAL = '"' («ESCAPE_SEQUENCE» | !('"' "\\" "\r" "\n"))* '"'; -«HEX_STRING_CONTENTS» = «HEX_CHARACTER» «HEX_CHARACTER» ("_"? «HEX_CHARACTER» «HEX_CHARACTER»)*; - -«HEX_CHARACTER» = ("0"…"9") | ("a"…"f") | ("A"…"F"); +DOUBLE_QUOTED_STRING_LITERAL = '"' («ESCAPE_SEQUENCE» | (" "…"!") | ("#"…"[") | ("]"…"~"))* '"'; (* Introduced in 0.5.14 *) -AsciiStringLiterals = ASCII_STRING_LITERAL+; +HexStringLiterals = HexStringLiteral+; -ASCII_STRING_LITERAL = «SINGLE_QUOTED_ASCII_STRING_LITERAL»; +HexStringLiteral = SINGLE_QUOTED_HEX_STRING_LITERAL + | DOUBLE_QUOTED_HEX_STRING_LITERAL; -ASCII_STRING_LITERAL = «DOUBLE_QUOTED_ASCII_STRING_LITERAL»; +SINGLE_QUOTED_HEX_STRING_LITERAL = "hex'" «HEX_STRING_CONTENTS»? "'"; -«SINGLE_QUOTED_ASCII_STRING_LITERAL» = "'" («ESCAPE_SEQUENCE» | (" "…"&") | ("("…"[") | ("]"…"~"))* "'"; +DOUBLE_QUOTED_HEX_STRING_LITERAL = 'hex"' «HEX_STRING_CONTENTS»? '"'; -«DOUBLE_QUOTED_ASCII_STRING_LITERAL» = '"' («ESCAPE_SEQUENCE» | (" "…"!") | ("#"…"[") | ("]"…"~"))* '"'; +«HEX_STRING_CONTENTS» = «HEX_CHARACTER» «HEX_CHARACTER» ("_"? «HEX_CHARACTER» «HEX_CHARACTER»)*; -(* Introduced in 0.7.0 *) -UnicodeStringLiterals = UNICODE_STRING_LITERAL+; +«HEX_CHARACTER» = ("0"…"9") | ("a"…"f") | ("A"…"F"); (* Introduced in 0.7.0 *) -UNICODE_STRING_LITERAL = «SINGLE_QUOTED_UNICODE_STRING_LITERAL»; +UnicodeStringLiterals = UnicodeStringLiteral+; (* Introduced in 0.7.0 *) -UNICODE_STRING_LITERAL = «DOUBLE_QUOTED_UNICODE_STRING_LITERAL»; +UnicodeStringLiteral = SINGLE_QUOTED_UNICODE_STRING_LITERAL + | DOUBLE_QUOTED_UNICODE_STRING_LITERAL; (* Introduced in 0.7.0 *) -«SINGLE_QUOTED_UNICODE_STRING_LITERAL» = "unicode'" («ESCAPE_SEQUENCE» | !("'" "\\" "\r" "\n"))* "'"; +SINGLE_QUOTED_UNICODE_STRING_LITERAL = "unicode'" («ESCAPE_SEQUENCE» | !("'" "\\" "\r" "\n"))* "'"; (* Introduced in 0.7.0 *) -«DOUBLE_QUOTED_UNICODE_STRING_LITERAL» = 'unicode"' («ESCAPE_SEQUENCE» | !('"' "\\" "\r" "\n"))* '"'; +DOUBLE_QUOTED_UNICODE_STRING_LITERAL = 'unicode"' («ESCAPE_SEQUENCE» | !('"' "\\" "\r" "\n"))* '"'; «ESCAPE_SEQUENCE» = "\\" («ASCII_ESCAPE» | «HEX_BYTE_ESCAPE» | «UNICODE_ESCAPE»); @@ -1492,8 +1494,8 @@ YulLiteral = YUL_TRUE_KEYWORD | YUL_FALSE_KEYWORD | YUL_DECIMAL_LITERAL | YUL_HEX_LITERAL - | HEX_STRING_LITERAL - | ASCII_STRING_LITERAL; + | HexStringLiteral + | StringLiteral; YUL_DECIMAL_LITERAL = "0" | (("1"…"9") ("0"…"9")*); diff --git a/crates/solidity/outputs/spec/generated/public/01-file-structure/03-pragma-directives.md b/crates/solidity/outputs/spec/generated/public/01-file-structure/03-pragma-directives.md index ddddc432ce..975eff3916 100644 --- a/crates/solidity/outputs/spec/generated/public/01-file-structure/03-pragma-directives.md +++ b/crates/solidity/outputs/spec/generated/public/01-file-structure/03-pragma-directives.md @@ -32,7 +32,7 @@ ``` -
ExperimentalFeature = IDENTIFIER
| ASCII_STRING_LITERAL;
+
ExperimentalFeature = IDENTIFIER
| StringLiteral;
```{ .ebnf #VersionPragma } diff --git a/crates/solidity/outputs/spec/generated/public/01-file-structure/04-import-directives.md b/crates/solidity/outputs/spec/generated/public/01-file-structure/04-import-directives.md index bf16234ffd..df6fc39e04 100644 --- a/crates/solidity/outputs/spec/generated/public/01-file-structure/04-import-directives.md +++ b/crates/solidity/outputs/spec/generated/public/01-file-structure/04-import-directives.md @@ -20,19 +20,19 @@ ``` -
PathImport = ASCII_STRING_LITERAL
ImportAlias?;
+
PathImport = StringLiteral
ImportAlias?;
```{ .ebnf #NamedImport } ``` -
NamedImport = ASTERISK
ImportAlias
FROM_KEYWORD
ASCII_STRING_LITERAL;
+
NamedImport = ASTERISK
ImportAlias
FROM_KEYWORD
StringLiteral;
```{ .ebnf #ImportDeconstruction } ``` -
ImportDeconstruction = OPEN_BRACE
ImportDeconstructionSymbols
CLOSE_BRACE
FROM_KEYWORD
ASCII_STRING_LITERAL;
+
ImportDeconstruction = OPEN_BRACE
ImportDeconstructionSymbols
CLOSE_BRACE
FROM_KEYWORD
StringLiteral;
```{ .ebnf #ImportDeconstructionSymbols } diff --git a/crates/solidity/outputs/spec/generated/public/04-statements/01-blocks.md b/crates/solidity/outputs/spec/generated/public/04-statements/01-blocks.md index 13a5d13706..2d72e1b3bd 100644 --- a/crates/solidity/outputs/spec/generated/public/04-statements/01-blocks.md +++ b/crates/solidity/outputs/spec/generated/public/04-statements/01-blocks.md @@ -38,7 +38,7 @@ ``` -
AssemblyStatement = ASSEMBLY_KEYWORD
ASCII_STRING_LITERAL?
AssemblyFlagsDeclaration?
YulBlock;
+
AssemblyStatement = ASSEMBLY_KEYWORD
StringLiteral?
AssemblyFlagsDeclaration?
YulBlock;
```{ .ebnf #AssemblyFlagsDeclaration } @@ -50,6 +50,6 @@ ``` -
AssemblyFlags = ASCII_STRING_LITERAL (COMMA ASCII_STRING_LITERAL)*;
+
AssemblyFlags = StringLiteral (COMMA StringLiteral)*;
--8<-- "crates/solidity/inputs/language/docs/04-statements/01-blocks.md" diff --git a/crates/solidity/outputs/spec/generated/public/05-expressions/05-strings.md b/crates/solidity/outputs/spec/generated/public/05-expressions/05-strings.md index 9cbb2abaec..c25697c21a 100644 --- a/crates/solidity/outputs/spec/generated/public/05-expressions/05-strings.md +++ b/crates/solidity/outputs/spec/generated/public/05-expressions/05-strings.md @@ -8,91 +8,91 @@ ``` -
StringExpression = HEX_STRING_LITERAL (* Deprecated in 0.5.14 *)
| HexStringLiterals (* Introduced in 0.5.14 *)
| ASCII_STRING_LITERAL (* Deprecated in 0.5.14 *)
| AsciiStringLiterals (* Introduced in 0.5.14 *)
| UnicodeStringLiterals; (* Introduced in 0.7.0 *)
+
StringExpression = StringLiteral (* Deprecated in 0.5.14 *)
| StringLiterals (* Introduced in 0.5.14 *)
| HexStringLiteral (* Deprecated in 0.5.14 *)
| HexStringLiterals (* Introduced in 0.5.14 *)
| UnicodeStringLiterals; (* Introduced in 0.7.0 *)
-```{ .ebnf #HexStringLiterals } +```{ .ebnf #StringLiterals } ``` -
(* Introduced in 0.5.14 *)
HexStringLiterals = HEX_STRING_LITERAL+;
+
(* Introduced in 0.5.14 *)
StringLiterals = StringLiteral+;
-```{ .ebnf #HexStringLiteral } +```{ .ebnf #StringLiteral } ``` -
HEX_STRING_LITERAL = «SINGLE_QUOTED_HEX_STRING_LITERAL»;

HEX_STRING_LITERAL = «DOUBLE_QUOTED_HEX_STRING_LITERAL»;
+
StringLiteral = SINGLE_QUOTED_STRING_LITERAL
| DOUBLE_QUOTED_STRING_LITERAL;
-```{ .ebnf #SingleQuotedHexStringLiteral } +```{ .ebnf #SingleQuotedStringLiteral } ``` -
«SINGLE_QUOTED_HEX_STRING_LITERAL» = "hex'" «HEX_STRING_CONTENTS»? "'";
+
(* Introduced in 0.4.12 and deprecated in 0.7.0. *)
SINGLE_QUOTED_STRING_LITERAL = "'" («ESCAPE_SEQUENCE» | !("'" "\\" "\r" "\n"))* "'";

SINGLE_QUOTED_STRING_LITERAL = "'" («ESCAPE_SEQUENCE» | (" ""&") | ("(""[") | ("]""~"))* "'";
-```{ .ebnf #DoubleQuotedHexStringLiteral } +```{ .ebnf #DoubleQuotedStringLiteral } ``` -
«DOUBLE_QUOTED_HEX_STRING_LITERAL» = 'hex"' «HEX_STRING_CONTENTS»? '"';
+
(* Introduced in 0.4.12 and deprecated in 0.7.0. *)
DOUBLE_QUOTED_STRING_LITERAL = '"' («ESCAPE_SEQUENCE» | !('"' "\\" "\r" "\n"))* '"';

DOUBLE_QUOTED_STRING_LITERAL = '"' («ESCAPE_SEQUENCE» | (" ""!") | ("#""[") | ("]""~"))* '"';
-```{ .ebnf #HexStringContents } +```{ .ebnf #HexStringLiterals } ``` -
«HEX_STRING_CONTENTS» = «HEX_CHARACTER» «HEX_CHARACTER» ("_"? «HEX_CHARACTER» «HEX_CHARACTER»)*;
+
(* Introduced in 0.5.14 *)
HexStringLiterals = HexStringLiteral+;
-```{ .ebnf #HexCharacter } +```{ .ebnf #HexStringLiteral } ``` -
«HEX_CHARACTER» = ("0""9") | ("a""f") | ("A""F");
+
HexStringLiteral = SINGLE_QUOTED_HEX_STRING_LITERAL
| DOUBLE_QUOTED_HEX_STRING_LITERAL;
-```{ .ebnf #AsciiStringLiterals } +```{ .ebnf #SingleQuotedHexStringLiteral } ``` -
(* Introduced in 0.5.14 *)
AsciiStringLiterals = ASCII_STRING_LITERAL+;
+
SINGLE_QUOTED_HEX_STRING_LITERAL = "hex'" «HEX_STRING_CONTENTS»? "'";
-```{ .ebnf #AsciiStringLiteral } +```{ .ebnf #DoubleQuotedHexStringLiteral } ``` -
ASCII_STRING_LITERAL = «SINGLE_QUOTED_ASCII_STRING_LITERAL»;

ASCII_STRING_LITERAL = «DOUBLE_QUOTED_ASCII_STRING_LITERAL»;
+
DOUBLE_QUOTED_HEX_STRING_LITERAL = 'hex"' «HEX_STRING_CONTENTS»? '"';
-```{ .ebnf #SingleQuotedAsciiStringLiteral } +```{ .ebnf #HexStringContents } ``` -
«SINGLE_QUOTED_ASCII_STRING_LITERAL» = "'" («ESCAPE_SEQUENCE» | (" ""&") | ("(""[") | ("]""~"))* "'";
+
«HEX_STRING_CONTENTS» = «HEX_CHARACTER» «HEX_CHARACTER» ("_"? «HEX_CHARACTER» «HEX_CHARACTER»)*;
-```{ .ebnf #DoubleQuotedAsciiStringLiteral } +```{ .ebnf #HexCharacter } ``` -
«DOUBLE_QUOTED_ASCII_STRING_LITERAL» = '"' («ESCAPE_SEQUENCE» | (" ""!") | ("#""[") | ("]""~"))* '"';
+
«HEX_CHARACTER» = ("0""9") | ("a""f") | ("A""F");
```{ .ebnf #UnicodeStringLiterals } ``` -
(* Introduced in 0.7.0 *)
UnicodeStringLiterals = UNICODE_STRING_LITERAL+;
+
(* Introduced in 0.7.0 *)
UnicodeStringLiterals = UnicodeStringLiteral+;
```{ .ebnf #UnicodeStringLiteral } ``` -
(* Introduced in 0.7.0 *)
UNICODE_STRING_LITERAL = «SINGLE_QUOTED_UNICODE_STRING_LITERAL»;

(* Introduced in 0.7.0 *)
UNICODE_STRING_LITERAL = «DOUBLE_QUOTED_UNICODE_STRING_LITERAL»;
+
(* Introduced in 0.7.0 *)
UnicodeStringLiteral = SINGLE_QUOTED_UNICODE_STRING_LITERAL
| DOUBLE_QUOTED_UNICODE_STRING_LITERAL;
```{ .ebnf #SingleQuotedUnicodeStringLiteral } ``` -
(* Introduced in 0.7.0 *)
«SINGLE_QUOTED_UNICODE_STRING_LITERAL» = "unicode'" («ESCAPE_SEQUENCE» | !("'" "\\" "\r" "\n"))* "'";
+
(* Introduced in 0.7.0 *)
SINGLE_QUOTED_UNICODE_STRING_LITERAL = "unicode'" («ESCAPE_SEQUENCE» | !("'" "\\" "\r" "\n"))* "'";
```{ .ebnf #DoubleQuotedUnicodeStringLiteral } ``` -
(* Introduced in 0.7.0 *)
«DOUBLE_QUOTED_UNICODE_STRING_LITERAL» = 'unicode"' («ESCAPE_SEQUENCE» | !('"' "\\" "\r" "\n"))* '"';
+
(* Introduced in 0.7.0 *)
DOUBLE_QUOTED_UNICODE_STRING_LITERAL = 'unicode"' («ESCAPE_SEQUENCE» | !('"' "\\" "\r" "\n"))* '"';
```{ .ebnf #EscapeSequence } diff --git a/crates/solidity/outputs/spec/generated/public/06-yul/02-yul-expressions.md b/crates/solidity/outputs/spec/generated/public/06-yul/02-yul-expressions.md index d3ce853dcf..5b9c5d75e6 100644 --- a/crates/solidity/outputs/spec/generated/public/06-yul/02-yul-expressions.md +++ b/crates/solidity/outputs/spec/generated/public/06-yul/02-yul-expressions.md @@ -44,7 +44,7 @@ ``` -
YulLiteral = YUL_TRUE_KEYWORD
| YUL_FALSE_KEYWORD
| YUL_DECIMAL_LITERAL
| YUL_HEX_LITERAL
| HEX_STRING_LITERAL
| ASCII_STRING_LITERAL;
+
YulLiteral = YUL_TRUE_KEYWORD
| YUL_FALSE_KEYWORD
| YUL_DECIMAL_LITERAL
| YUL_HEX_LITERAL
| HexStringLiteral
| StringLiteral;
```{ .ebnf #YulDecimalLiteral } diff --git a/crates/solidity/testing/snapshots/cst_output/AsciiStringLiterals/multiple/generated/0.5.14-success.yml b/crates/solidity/testing/snapshots/cst_output/AsciiStringLiterals/multiple/generated/0.5.14-success.yml deleted file mode 100644 index 64de90dfa2..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/AsciiStringLiterals/multiple/generated/0.5.14-success.yml +++ /dev/null @@ -1,12 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ "foo" 'bar' │ 0..11 - -Errors: [] - -Tree: - - (AsciiStringLiterals): # '"foo" ''bar''' (0..11) - - (item꞉ AsciiStringLiteral): '"foo"' # (0..5) - - (LeadingTrivia) ► (Whitespace): " " # (5..6) - - (item꞉ AsciiStringLiteral): "'bar'" # (6..11) diff --git a/crates/solidity/testing/snapshots/cst_output/AssemblyStatement/simple/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/AssemblyStatement/simple/generated/0.4.11-success.yml index 3ce4c6b186..4e0c71a6ad 100644 --- a/crates/solidity/testing/snapshots/cst_output/AssemblyStatement/simple/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/AssemblyStatement/simple/generated/0.4.11-success.yml @@ -10,13 +10,14 @@ Errors: [] Tree: - (AssemblyStatement): # 'assembly "evmasm" ("memory-safe") {\n\n}\n' (0..39) - (assembly_keyword꞉ AssemblyKeyword): "assembly" # (0..8) - - (LeadingTrivia) ► (Whitespace): " " # (8..9) - - (label꞉ AsciiStringLiteral): '"evmasm"' # (9..17) + - (label꞉ StringLiteral): # ' "evmasm"' (8..17) + - (LeadingTrivia) ► (Whitespace): " " # (8..9) + - (variant꞉ DoubleQuotedStringLiteral): '"evmasm"' # (9..17) - (flags꞉ AssemblyFlagsDeclaration): # ' ("memory-safe")' (17..33) - (LeadingTrivia) ► (Whitespace): " " # (17..18) - (open_paren꞉ OpenParen): "(" # (18..19) - (flags꞉ AssemblyFlags): # '"memory-safe"' (19..32) - - (item꞉ AsciiStringLiteral): '"memory-safe"' # (19..32) + - (item꞉ StringLiteral) ► (variant꞉ DoubleQuotedStringLiteral): '"memory-safe"' # (19..32) - (close_paren꞉ CloseParen): ")" # (32..33) - (body꞉ YulBlock): # " {\n\n}\n" (33..39) - (LeadingTrivia) ► (Whitespace): " " # (33..34) diff --git a/crates/solidity/testing/snapshots/cst_output/Block/unchecked/generated/0.5.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Block/unchecked/generated/0.5.0-failure.yml index 58459ca23c..ea04ee9099 100644 --- a/crates/solidity/testing/snapshots/cst_output/Block/unchecked/generated/0.5.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Block/unchecked/generated/0.5.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or HexStringLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or ReturnKeyword or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword or WhileKeyword. + Error: Expected AddressKeyword or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or ReturnKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword or WhileKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Block/unchecked/input.sol:1:3] │ 1 │ { unchecked { x = 1; } } diff --git a/crates/solidity/testing/snapshots/cst_output/Block/unchecked/generated/0.5.3-failure.yml b/crates/solidity/testing/snapshots/cst_output/Block/unchecked/generated/0.5.3-failure.yml index 852462c54c..1c1b9a8e15 100644 --- a/crates/solidity/testing/snapshots/cst_output/Block/unchecked/generated/0.5.3-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Block/unchecked/generated/0.5.3-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or HexStringLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or ReturnKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or WhileKeyword. + Error: Expected AddressKeyword or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or ReturnKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or WhileKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Block/unchecked/input.sol:1:3] │ 1 │ { unchecked { x = 1; } } diff --git a/crates/solidity/testing/snapshots/cst_output/Block/unchecked/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Block/unchecked/generated/0.6.0-failure.yml index 9bd289b43e..64d94ebab4 100644 --- a/crates/solidity/testing/snapshots/cst_output/Block/unchecked/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Block/unchecked/generated/0.6.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or HexStringLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or PayableKeyword or ReturnKeyword or StringKeyword or TrueKeyword or TryKeyword or TypeKeyword or UfixedKeyword or UintKeyword or WhileKeyword. + Error: Expected AddressKeyword or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or PayableKeyword or ReturnKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TryKeyword or TypeKeyword or UfixedKeyword or UintKeyword or WhileKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Block/unchecked/input.sol:1:3] │ 1 │ { unchecked { x = 1; } } diff --git a/crates/solidity/testing/snapshots/cst_output/Block/unchecked/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Block/unchecked/generated/0.7.0-failure.yml index 5bd447c702..9aaee15ed3 100644 --- a/crates/solidity/testing/snapshots/cst_output/Block/unchecked/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Block/unchecked/generated/0.7.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or HexStringLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or PayableKeyword or ReturnKeyword or StringKeyword or TrueKeyword or TryKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral or WhileKeyword. + Error: Expected AddressKeyword or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or PayableKeyword or ReturnKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TryKeyword or TypeKeyword or UfixedKeyword or UintKeyword or WhileKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Block/unchecked/input.sol:1:3] │ 1 │ { unchecked { x = 1; } } diff --git a/crates/solidity/testing/snapshots/cst_output/ContractDefinition/function_multiple_delimiters/generated/0.4.11-failure.yml b/crates/solidity/testing/snapshots/cst_output/ContractDefinition/function_multiple_delimiters/generated/0.4.11-failure.yml index 27e6fa159b..fc2a3e0a0e 100644 --- a/crates/solidity/testing/snapshots/cst_output/ContractDefinition/function_multiple_delimiters/generated/0.4.11-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/ContractDefinition/function_multiple_delimiters/generated/0.4.11-failure.yml @@ -91,9 +91,9 @@ Tree: - (LeadingTrivia) ► (Whitespace): " " # (158..159) - (variant꞉ Identifier): "amount" # (159..165) - (separator꞉ Comma): "," # (165..166) - - (item꞉ Expression) ► (variant꞉ StringExpression): # ' "Address: insufficient balance"' (166..198) + - (item꞉ Expression) ► (variant꞉ StringExpression) ► (variant꞉ StringLiteral): # ' "Address: insufficient balance"' (166..198) - (LeadingTrivia) ► (Whitespace): " " # (166..167) - - (variant꞉ AsciiStringLiteral): '"Address: insufficient balance"' # (167..198) + - (variant꞉ DoubleQuotedStringLiteral): '"Address: insufficient balance"' # (167..198) - (close_paren꞉ CloseParen): ")" # (198..199) - (semicolon꞉ Semicolon): ";" # (199..200) - (TrailingTrivia) ► (EndOfLine): "\n" # (200..201) @@ -132,9 +132,9 @@ Tree: - (arguments꞉ PositionalArguments): # 'success, "Address: unable to send value, recipient...' (274..343) - (item꞉ Expression) ► (variant꞉ Identifier): "success" # (274..281) - (separator꞉ Comma): "," # (281..282) - - (item꞉ Expression) ► (variant꞉ StringExpression): # ' "Address: unable to send value, recipient may hav...' (282..343) + - (item꞉ Expression) ► (variant꞉ StringExpression) ► (variant꞉ StringLiteral): # ' "Address: unable to send value, recipient may hav...' (282..343) - (LeadingTrivia) ► (Whitespace): " " # (282..283) - - (variant꞉ AsciiStringLiteral): '"Address: unable to send value, recipient may have...' # (283..343) + - (variant꞉ DoubleQuotedStringLiteral): '"Address: unable to send value, recipient may have...' # (283..343) - (close_paren꞉ CloseParen): ")" # (343..344) - (semicolon꞉ Semicolon): ";" # (344..345) - (TrailingTrivia) ► (EndOfLine): "\n" # (345..346) diff --git a/crates/solidity/testing/snapshots/cst_output/ContractDefinition/function_multiple_delimiters/generated/0.5.14-failure.yml b/crates/solidity/testing/snapshots/cst_output/ContractDefinition/function_multiple_delimiters/generated/0.5.14-failure.yml index b58f1e2dce..6f91cc6953 100644 --- a/crates/solidity/testing/snapshots/cst_output/ContractDefinition/function_multiple_delimiters/generated/0.5.14-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/ContractDefinition/function_multiple_delimiters/generated/0.5.14-failure.yml @@ -91,9 +91,10 @@ Tree: - (LeadingTrivia) ► (Whitespace): " " # (158..159) - (variant꞉ Identifier): "amount" # (159..165) - (separator꞉ Comma): "," # (165..166) - - (item꞉ Expression) ► (variant꞉ StringExpression) ► (variant꞉ AsciiStringLiterals): # ' "Address: insufficient balance"' (166..198) - - (LeadingTrivia) ► (Whitespace): " " # (166..167) - - (item꞉ AsciiStringLiteral): '"Address: insufficient balance"' # (167..198) + - (item꞉ Expression) ► (variant꞉ StringExpression) ► (variant꞉ StringLiterals): # ' "Address: insufficient balance"' (166..198) + - (item꞉ StringLiteral): # ' "Address: insufficient balance"' (166..198) + - (LeadingTrivia) ► (Whitespace): " " # (166..167) + - (variant꞉ DoubleQuotedStringLiteral): '"Address: insufficient balance"' # (167..198) - (close_paren꞉ CloseParen): ")" # (198..199) - (semicolon꞉ Semicolon): ";" # (199..200) - (TrailingTrivia) ► (EndOfLine): "\n" # (200..201) @@ -132,9 +133,10 @@ Tree: - (arguments꞉ PositionalArguments): # 'success, "Address: unable to send value, recipient...' (274..343) - (item꞉ Expression) ► (variant꞉ Identifier): "success" # (274..281) - (separator꞉ Comma): "," # (281..282) - - (item꞉ Expression) ► (variant꞉ StringExpression) ► (variant꞉ AsciiStringLiterals): # ' "Address: unable to send value, recipient may hav...' (282..343) - - (LeadingTrivia) ► (Whitespace): " " # (282..283) - - (item꞉ AsciiStringLiteral): '"Address: unable to send value, recipient may have...' # (283..343) + - (item꞉ Expression) ► (variant꞉ StringExpression) ► (variant꞉ StringLiterals): # ' "Address: unable to send value, recipient may hav...' (282..343) + - (item꞉ StringLiteral): # ' "Address: unable to send value, recipient may hav...' (282..343) + - (LeadingTrivia) ► (Whitespace): " " # (282..283) + - (variant꞉ DoubleQuotedStringLiteral): '"Address: unable to send value, recipient may have...' # (283..343) - (close_paren꞉ CloseParen): ")" # (343..344) - (semicolon꞉ Semicolon): ";" # (344..345) - (TrailingTrivia) ► (EndOfLine): "\n" # (345..346) diff --git a/crates/solidity/testing/snapshots/cst_output/ContractDefinition/function_multiple_delimiters/generated/0.6.2-success.yml b/crates/solidity/testing/snapshots/cst_output/ContractDefinition/function_multiple_delimiters/generated/0.6.2-success.yml index 2565c54e87..5d173558e3 100644 --- a/crates/solidity/testing/snapshots/cst_output/ContractDefinition/function_multiple_delimiters/generated/0.6.2-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/ContractDefinition/function_multiple_delimiters/generated/0.6.2-success.yml @@ -83,9 +83,10 @@ Tree: - (LeadingTrivia) ► (Whitespace): " " # (158..159) - (variant꞉ Identifier): "amount" # (159..165) - (separator꞉ Comma): "," # (165..166) - - (item꞉ Expression) ► (variant꞉ StringExpression) ► (variant꞉ AsciiStringLiterals): # ' "Address: insufficient balance"' (166..198) - - (LeadingTrivia) ► (Whitespace): " " # (166..167) - - (item꞉ AsciiStringLiteral): '"Address: insufficient balance"' # (167..198) + - (item꞉ Expression) ► (variant꞉ StringExpression) ► (variant꞉ StringLiterals): # ' "Address: insufficient balance"' (166..198) + - (item꞉ StringLiteral): # ' "Address: insufficient balance"' (166..198) + - (LeadingTrivia) ► (Whitespace): " " # (166..167) + - (variant꞉ DoubleQuotedStringLiteral): '"Address: insufficient balance"' # (167..198) - (close_paren꞉ CloseParen): ")" # (198..199) - (semicolon꞉ Semicolon): ";" # (199..200) - (TrailingTrivia) ► (EndOfLine): "\n" # (200..201) @@ -128,8 +129,8 @@ Tree: - (arguments꞉ ArgumentsDeclaration) ► (variant꞉ PositionalArgumentsDeclaration): # '("")' (256..260) - (open_paren꞉ OpenParen): "(" # (256..257) - (arguments꞉ PositionalArguments): # '""' (257..259) - - (item꞉ Expression) ► (variant꞉ StringExpression) ► (variant꞉ AsciiStringLiterals): # '""' (257..259) - - (item꞉ AsciiStringLiteral): '""' # (257..259) + - (item꞉ Expression) ► (variant꞉ StringExpression) ► (variant꞉ StringLiterals): # '""' (257..259) + - (item꞉ StringLiteral) ► (variant꞉ DoubleQuotedStringLiteral): '""' # (257..259) - (close_paren꞉ CloseParen): ")" # (259..260) - (semicolon꞉ Semicolon): ";" # (260..261) - (TrailingTrivia) ► (EndOfLine): "\n" # (261..262) @@ -143,9 +144,10 @@ Tree: - (arguments꞉ PositionalArguments): # 'success, "Address: unable to send value, recipient...' (274..343) - (item꞉ Expression) ► (variant꞉ Identifier): "success" # (274..281) - (separator꞉ Comma): "," # (281..282) - - (item꞉ Expression) ► (variant꞉ StringExpression) ► (variant꞉ AsciiStringLiterals): # ' "Address: unable to send value, recipient may hav...' (282..343) - - (LeadingTrivia) ► (Whitespace): " " # (282..283) - - (item꞉ AsciiStringLiteral): '"Address: unable to send value, recipient may have...' # (283..343) + - (item꞉ Expression) ► (variant꞉ StringExpression) ► (variant꞉ StringLiterals): # ' "Address: unable to send value, recipient may hav...' (282..343) + - (item꞉ StringLiteral): # ' "Address: unable to send value, recipient may hav...' (282..343) + - (LeadingTrivia) ► (Whitespace): " " # (282..283) + - (variant꞉ DoubleQuotedStringLiteral): '"Address: unable to send value, recipient may have...' # (283..343) - (close_paren꞉ CloseParen): ")" # (343..344) - (semicolon꞉ Semicolon): ";" # (344..345) - (TrailingTrivia) ► (EndOfLine): "\n" # (345..346) diff --git a/crates/solidity/testing/snapshots/cst_output/ContractDefinition/function_multiple_delimiters/generated/0.8.0-success.yml b/crates/solidity/testing/snapshots/cst_output/ContractDefinition/function_multiple_delimiters/generated/0.8.0-success.yml index 3bb393815b..1ea944c796 100644 --- a/crates/solidity/testing/snapshots/cst_output/ContractDefinition/function_multiple_delimiters/generated/0.8.0-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/ContractDefinition/function_multiple_delimiters/generated/0.8.0-success.yml @@ -83,9 +83,10 @@ Tree: - (LeadingTrivia) ► (Whitespace): " " # (158..159) - (variant꞉ Identifier): "amount" # (159..165) - (separator꞉ Comma): "," # (165..166) - - (item꞉ Expression) ► (variant꞉ StringExpression) ► (variant꞉ AsciiStringLiterals): # ' "Address: insufficient balance"' (166..198) - - (LeadingTrivia) ► (Whitespace): " " # (166..167) - - (item꞉ AsciiStringLiteral): '"Address: insufficient balance"' # (167..198) + - (item꞉ Expression) ► (variant꞉ StringExpression) ► (variant꞉ StringLiterals): # ' "Address: insufficient balance"' (166..198) + - (item꞉ StringLiteral): # ' "Address: insufficient balance"' (166..198) + - (LeadingTrivia) ► (Whitespace): " " # (166..167) + - (variant꞉ DoubleQuotedStringLiteral): '"Address: insufficient balance"' # (167..198) - (close_paren꞉ CloseParen): ")" # (198..199) - (semicolon꞉ Semicolon): ";" # (199..200) - (TrailingTrivia) ► (EndOfLine): "\n" # (200..201) @@ -127,8 +128,8 @@ Tree: - (arguments꞉ ArgumentsDeclaration) ► (variant꞉ PositionalArgumentsDeclaration): # '("")' (256..260) - (open_paren꞉ OpenParen): "(" # (256..257) - (arguments꞉ PositionalArguments): # '""' (257..259) - - (item꞉ Expression) ► (variant꞉ StringExpression) ► (variant꞉ AsciiStringLiterals): # '""' (257..259) - - (item꞉ AsciiStringLiteral): '""' # (257..259) + - (item꞉ Expression) ► (variant꞉ StringExpression) ► (variant꞉ StringLiterals): # '""' (257..259) + - (item꞉ StringLiteral) ► (variant꞉ DoubleQuotedStringLiteral): '""' # (257..259) - (close_paren꞉ CloseParen): ")" # (259..260) - (semicolon꞉ Semicolon): ";" # (260..261) - (TrailingTrivia) ► (EndOfLine): "\n" # (261..262) @@ -142,9 +143,10 @@ Tree: - (arguments꞉ PositionalArguments): # 'success, "Address: unable to send value, recipient...' (274..343) - (item꞉ Expression) ► (variant꞉ Identifier): "success" # (274..281) - (separator꞉ Comma): "," # (281..282) - - (item꞉ Expression) ► (variant꞉ StringExpression) ► (variant꞉ AsciiStringLiterals): # ' "Address: unable to send value, recipient may hav...' (282..343) - - (LeadingTrivia) ► (Whitespace): " " # (282..283) - - (item꞉ AsciiStringLiteral): '"Address: unable to send value, recipient may have...' # (283..343) + - (item꞉ Expression) ► (variant꞉ StringExpression) ► (variant꞉ StringLiterals): # ' "Address: unable to send value, recipient may hav...' (282..343) + - (item꞉ StringLiteral): # ' "Address: unable to send value, recipient may hav...' (282..343) + - (LeadingTrivia) ► (Whitespace): " " # (282..283) + - (variant꞉ DoubleQuotedStringLiteral): '"Address: unable to send value, recipient may have...' # (283..343) - (close_paren꞉ CloseParen): ")" # (343..344) - (semicolon꞉ Semicolon): ";" # (344..345) - (TrailingTrivia) ► (EndOfLine): "\n" # (345..346) diff --git a/crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/generated/0.4.11-failure.yml b/crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/generated/0.4.11-failure.yml index 1cade4fba9..fef69d3b64 100644 --- a/crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/generated/0.4.11-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/generated/0.4.11-failure.yml @@ -24,7 +24,7 @@ Errors: # 3 total │ ╰──── Error occurred here. ───╯ - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/input.sol:3:6] │ 3 │ if(while == pair && !_isExcludedFromFee[to]){ diff --git a/crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/generated/0.5.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/generated/0.5.0-failure.yml index ae336fca70..5f0d0f48bd 100644 --- a/crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/generated/0.5.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/generated/0.5.0-failure.yml @@ -24,7 +24,7 @@ Errors: # 3 total │ ╰──── Error occurred here. ───╯ - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/input.sol:3:6] │ 3 │ if(while == pair && !_isExcludedFromFee[to]){ @@ -32,7 +32,7 @@ Errors: # 3 total │ ╰───────────────────── Error occurred here. ───╯ - > - Error: Expected AddressKeyword or AsciiStringLiteral or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or HexStringLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or ReturnKeyword or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword or WhileKeyword. + Error: Expected AddressKeyword or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or ReturnKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword or WhileKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/input.sol:10:3] │ 10 │ ╭─▶ unchecked { invalid sequence } diff --git a/crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/generated/0.5.3-failure.yml b/crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/generated/0.5.3-failure.yml index 372916d757..8839a8e8e9 100644 --- a/crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/generated/0.5.3-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/generated/0.5.3-failure.yml @@ -24,7 +24,7 @@ Errors: # 3 total │ ╰──── Error occurred here. ───╯ - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/input.sol:3:6] │ 3 │ if(while == pair && !_isExcludedFromFee[to]){ @@ -32,7 +32,7 @@ Errors: # 3 total │ ╰───────────────────── Error occurred here. ───╯ - > - Error: Expected AddressKeyword or AsciiStringLiteral or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or HexStringLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or ReturnKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or WhileKeyword. + Error: Expected AddressKeyword or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or ReturnKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or WhileKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/input.sol:10:3] │ 10 │ ╭─▶ unchecked { invalid sequence } diff --git a/crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/generated/0.6.0-failure.yml index 7a2ad74fbb..4db1865de6 100644 --- a/crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/generated/0.6.0-failure.yml @@ -24,7 +24,7 @@ Errors: # 3 total │ ╰──── Error occurred here. ───╯ - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/input.sol:3:6] │ 3 │ if(while == pair && !_isExcludedFromFee[to]){ @@ -32,7 +32,7 @@ Errors: # 3 total │ ╰───────────────────── Error occurred here. ───╯ - > - Error: Expected AddressKeyword or AsciiStringLiteral or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or HexStringLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or PayableKeyword or ReturnKeyword or StringKeyword or TrueKeyword or TryKeyword or TypeKeyword or UfixedKeyword or UintKeyword or WhileKeyword. + Error: Expected AddressKeyword or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or PayableKeyword or ReturnKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TryKeyword or TypeKeyword or UfixedKeyword or UintKeyword or WhileKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/input.sol:10:3] │ 10 │ ╭─▶ unchecked { invalid sequence } diff --git a/crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/generated/0.7.0-failure.yml index afe813f432..39dba112d1 100644 --- a/crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/generated/0.7.0-failure.yml @@ -24,7 +24,7 @@ Errors: # 3 total │ ╰──── Error occurred here. ───╯ - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/input.sol:3:6] │ 3 │ if(while == pair && !_isExcludedFromFee[to]){ @@ -32,7 +32,7 @@ Errors: # 3 total │ ╰───────────────────── Error occurred here. ───╯ - > - Error: Expected AddressKeyword or AsciiStringLiteral or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or HexStringLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or PayableKeyword or ReturnKeyword or StringKeyword or TrueKeyword or TryKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral or WhileKeyword. + Error: Expected AddressKeyword or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or PayableKeyword or ReturnKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TryKeyword or TypeKeyword or UfixedKeyword or UintKeyword or WhileKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/input.sol:10:3] │ 10 │ ╭─▶ unchecked { invalid sequence } diff --git a/crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/generated/0.8.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/generated/0.8.0-failure.yml index d8b0ccb500..a0e3302216 100644 --- a/crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/generated/0.8.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/generated/0.8.0-failure.yml @@ -24,7 +24,7 @@ Errors: # 3 total │ ╰──── Error occurred here. ───╯ - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/ContractDefinition/recovery_testbed/input.sol:3:6] │ 3 │ if(while == pair && !_isExcludedFromFee[to]){ diff --git a/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.4.11-failure.yml b/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.4.11-failure.yml index dfb7876bd9..4637c505f4 100644 --- a/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.4.11-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.4.11-failure.yml @@ -18,7 +18,7 @@ Errors: # 2 total │ ╰──────────── Error occurred here. ───╯ - > - Error: Expected AddressKeyword or AsciiStringLiteral or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or HexStringLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or ReturnKeyword or StringKeyword or ThrowKeyword or TrueKeyword or UfixedKeyword or UintKeyword or VarKeyword or WhileKeyword. + Error: Expected AddressKeyword or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or ReturnKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or ThrowKeyword or TrueKeyword or UfixedKeyword or UintKeyword or VarKeyword or WhileKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/input.sol:4:6] │ 4 │ }) diff --git a/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.4.21-failure.yml b/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.4.21-failure.yml index 7401d958c9..3bad6ae553 100644 --- a/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.4.21-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.4.21-failure.yml @@ -18,7 +18,7 @@ Errors: # 2 total │ ╰──────────── Error occurred here. ───╯ - > - Error: Expected AddressKeyword or AsciiStringLiteral or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or HexStringLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or ReturnKeyword or StringKeyword or ThrowKeyword or TrueKeyword or UfixedKeyword or UintKeyword or VarKeyword or WhileKeyword. + Error: Expected AddressKeyword or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or ReturnKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or ThrowKeyword or TrueKeyword or UfixedKeyword or UintKeyword or VarKeyword or WhileKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/input.sol:4:6] │ 4 │ }) diff --git a/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.5.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.5.0-failure.yml index 6e24e341e0..f6e428850a 100644 --- a/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.5.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.5.0-failure.yml @@ -18,7 +18,7 @@ Errors: # 2 total │ ╰──────────── Error occurred here. ───╯ - > - Error: Expected AddressKeyword or AsciiStringLiteral or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or HexStringLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or ReturnKeyword or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword or WhileKeyword. + Error: Expected AddressKeyword or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or ReturnKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword or WhileKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/input.sol:4:6] │ 4 │ }) diff --git a/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.5.3-failure.yml b/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.5.3-failure.yml index cb9bc2f899..6a2c84489d 100644 --- a/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.5.3-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.5.3-failure.yml @@ -18,7 +18,7 @@ Errors: # 2 total │ ╰──────────── Error occurred here. ───╯ - > - Error: Expected AddressKeyword or AsciiStringLiteral or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or HexStringLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or ReturnKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or WhileKeyword. + Error: Expected AddressKeyword or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or ReturnKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or WhileKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/input.sol:4:6] │ 4 │ }) diff --git a/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.6.0-failure.yml index 0f83908670..1406c294fe 100644 --- a/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.6.0-failure.yml @@ -18,7 +18,7 @@ Errors: # 2 total │ ╰──────────── Error occurred here. ───╯ - > - Error: Expected AddressKeyword or AsciiStringLiteral or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or HexStringLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or PayableKeyword or ReturnKeyword or StringKeyword or TrueKeyword or TryKeyword or TypeKeyword or UfixedKeyword or UintKeyword or WhileKeyword. + Error: Expected AddressKeyword or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or PayableKeyword or ReturnKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TryKeyword or TypeKeyword or UfixedKeyword or UintKeyword or WhileKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/input.sol:4:6] │ 4 │ }) diff --git a/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.7.0-failure.yml index bd7313d303..b0c76aa638 100644 --- a/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.7.0-failure.yml @@ -18,7 +18,7 @@ Errors: # 2 total │ ╰──────────── Error occurred here. ───╯ - > - Error: Expected AddressKeyword or AsciiStringLiteral or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or HexStringLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or PayableKeyword or ReturnKeyword or StringKeyword or TrueKeyword or TryKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral or WhileKeyword. + Error: Expected AddressKeyword or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or PayableKeyword or ReturnKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TryKeyword or TypeKeyword or UfixedKeyword or UintKeyword or WhileKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/input.sol:4:6] │ 4 │ }) diff --git a/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.8.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.8.0-failure.yml index 1bdffd8945..6dd34e90d3 100644 --- a/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.8.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.8.0-failure.yml @@ -18,7 +18,7 @@ Errors: # 2 total │ ╰──────────── Error occurred here. ───╯ - > - Error: Expected AddressKeyword or AsciiStringLiteral or AssemblyKeyword or BoolKeyword or BreakKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or HexStringLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or PayableKeyword or ReturnKeyword or StringKeyword or TrueKeyword or TryKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UncheckedKeyword or UnicodeStringLiteral or WhileKeyword. + Error: Expected AddressKeyword or AssemblyKeyword or BoolKeyword or BreakKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or PayableKeyword or ReturnKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TryKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UncheckedKeyword or WhileKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/input.sol:4:6] │ 4 │ }) diff --git a/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.8.4-failure.yml b/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.8.4-failure.yml index b5094d7df7..f0cc69a12a 100644 --- a/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.8.4-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/generated/0.8.4-failure.yml @@ -18,7 +18,7 @@ Errors: # 2 total │ ╰──────────── Error occurred here. ───╯ - > - Error: Expected AddressKeyword or AsciiStringLiteral or AssemblyKeyword or BoolKeyword or BreakKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or HexStringLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or PayableKeyword or ReturnKeyword or RevertKeyword or StringKeyword or TrueKeyword or TryKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UncheckedKeyword or UnicodeStringLiteral or WhileKeyword. + Error: Expected AddressKeyword or AssemblyKeyword or BoolKeyword or BreakKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or PayableKeyword or ReturnKeyword or RevertKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TryKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UncheckedKeyword or WhileKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/ContractMembers/mismatched_delimiter/input.sol:4:6] │ 4 │ }) diff --git a/crates/solidity/testing/snapshots/cst_output/ContractMembers/separated_recovery/generated/0.4.11-failure.yml b/crates/solidity/testing/snapshots/cst_output/ContractMembers/separated_recovery/generated/0.4.11-failure.yml index 2f5e35c2d9..94ff03c23e 100644 --- a/crates/solidity/testing/snapshots/cst_output/ContractMembers/separated_recovery/generated/0.4.11-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/ContractMembers/separated_recovery/generated/0.4.11-failure.yml @@ -56,7 +56,7 @@ Errors: # 10 total │ ╰────────────────────────────── Error occurred here. ───╯ - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/ContractMembers/separated_recovery/input.sol:9:50] │ 9 │ function empty() override(some.ident, /* empty */, other.arg.here, and.here); @@ -80,7 +80,7 @@ Errors: # 10 total │ ╰──── Error occurred here. ────╯ - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/ContractMembers/separated_recovery/input.sol:11:83] │ 11 │ function nested_lists() override(some.ident, next.do.that, other.while, next.one, final, ultimate); diff --git a/crates/solidity/testing/snapshots/cst_output/ContractMembers/separated_recovery/generated/0.6.2-failure.yml b/crates/solidity/testing/snapshots/cst_output/ContractMembers/separated_recovery/generated/0.6.2-failure.yml index 7b4d6ddec1..9ac90d9e30 100644 --- a/crates/solidity/testing/snapshots/cst_output/ContractMembers/separated_recovery/generated/0.6.2-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/ContractMembers/separated_recovery/generated/0.6.2-failure.yml @@ -40,7 +40,7 @@ Errors: # 12 total │ ╰──────────── Error occurred here. ───╯ - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/ContractMembers/separated_recovery/input.sol:4:40] │ 4 │ msg.sender.call{arg: 1, missing_expr: , no_semicolon, , }(); diff --git a/crates/solidity/testing/snapshots/cst_output/ContractMembers/separated_recovery/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/ContractMembers/separated_recovery/generated/0.7.0-failure.yml index 405817ebb0..b4f521b13a 100644 --- a/crates/solidity/testing/snapshots/cst_output/ContractMembers/separated_recovery/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/ContractMembers/separated_recovery/generated/0.7.0-failure.yml @@ -40,7 +40,7 @@ Errors: # 12 total │ ╰──────────── Error occurred here. ───╯ - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/ContractMembers/separated_recovery/input.sol:4:40] │ 4 │ msg.sender.call{arg: 1, missing_expr: , no_semicolon, , }(); diff --git a/crates/solidity/testing/snapshots/cst_output/ContractMembers/separated_recovery/generated/0.8.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/ContractMembers/separated_recovery/generated/0.8.0-failure.yml index 0e1593a6c7..86aad2a39f 100644 --- a/crates/solidity/testing/snapshots/cst_output/ContractMembers/separated_recovery/generated/0.8.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/ContractMembers/separated_recovery/generated/0.8.0-failure.yml @@ -40,7 +40,7 @@ Errors: # 12 total │ ╰──────────── Error occurred here. ───╯ - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/ContractMembers/separated_recovery/input.sol:4:40] │ 4 │ msg.sender.call{arg: 1, missing_expr: , no_semicolon, , }(); diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/function_call_options/generated/0.6.2-success.yml b/crates/solidity/testing/snapshots/cst_output/Expression/function_call_options/generated/0.6.2-success.yml index 97c6e49d8d..b872a7cfa0 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/function_call_options/generated/0.6.2-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/function_call_options/generated/0.6.2-success.yml @@ -33,6 +33,6 @@ Tree: - (arguments꞉ ArgumentsDeclaration) ► (variant꞉ PositionalArgumentsDeclaration): # '("")' (21..25) - (open_paren꞉ OpenParen): "(" # (21..22) - (arguments꞉ PositionalArguments): # '""' (22..24) - - (item꞉ Expression) ► (variant꞉ StringExpression) ► (variant꞉ AsciiStringLiterals): # '""' (22..24) - - (item꞉ AsciiStringLiteral): '""' # (22..24) + - (item꞉ Expression) ► (variant꞉ StringExpression) ► (variant꞉ StringLiterals): # '""' (22..24) + - (item꞉ StringLiteral) ► (variant꞉ DoubleQuotedStringLiteral): '""' # (22..24) - (close_paren꞉ CloseParen): ")" # (24..25) diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/function_call_options/generated/0.8.0-success.yml b/crates/solidity/testing/snapshots/cst_output/Expression/function_call_options/generated/0.8.0-success.yml index 88a0f4e3e6..aa57dc53fa 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/function_call_options/generated/0.8.0-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/function_call_options/generated/0.8.0-success.yml @@ -32,6 +32,6 @@ Tree: - (arguments꞉ ArgumentsDeclaration) ► (variant꞉ PositionalArgumentsDeclaration): # '("")' (21..25) - (open_paren꞉ OpenParen): "(" # (21..22) - (arguments꞉ PositionalArguments): # '""' (22..24) - - (item꞉ Expression) ► (variant꞉ StringExpression) ► (variant꞉ AsciiStringLiterals): # '""' (22..24) - - (item꞉ AsciiStringLiteral): '""' # (22..24) + - (item꞉ Expression) ► (variant꞉ StringExpression) ► (variant꞉ StringLiterals): # '""' (22..24) + - (item꞉ StringLiteral) ► (variant꞉ DoubleQuotedStringLiteral): '""' # (22..24) - (close_paren꞉ CloseParen): ")" # (24..25) diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/function_call_options_split/generated/0.6.2-success.yml b/crates/solidity/testing/snapshots/cst_output/Expression/function_call_options_split/generated/0.6.2-success.yml index b0a78d1f2b..d6541eadff 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/function_call_options_split/generated/0.6.2-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/function_call_options_split/generated/0.6.2-success.yml @@ -35,6 +35,6 @@ Tree: - (arguments꞉ ArgumentsDeclaration) ► (variant꞉ PositionalArgumentsDeclaration): # '("")' (21..25) - (open_paren꞉ OpenParen): "(" # (21..22) - (arguments꞉ PositionalArguments): # '""' (22..24) - - (item꞉ Expression) ► (variant꞉ StringExpression) ► (variant꞉ AsciiStringLiterals): # '""' (22..24) - - (item꞉ AsciiStringLiteral): '""' # (22..24) + - (item꞉ Expression) ► (variant꞉ StringExpression) ► (variant꞉ StringLiterals): # '""' (22..24) + - (item꞉ StringLiteral) ► (variant꞉ DoubleQuotedStringLiteral): '""' # (22..24) - (close_paren꞉ CloseParen): ")" # (24..25) diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_alias/generated/0.5.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_alias/generated/0.5.0-failure.yml index 6030175ea4..1b225ec05b 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_alias/generated/0.5.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_alias/generated/0.5.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_alias/input.sol:1:1] │ 1 │ alias diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_alias/generated/0.5.3-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_alias/generated/0.5.3-failure.yml index 3123d3b1d3..2c2ceccea0 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_alias/generated/0.5.3-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_alias/generated/0.5.3-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_alias/input.sol:1:1] │ 1 │ alias diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_alias/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_alias/generated/0.6.0-failure.yml index f3042706da..5763244163 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_alias/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_alias/generated/0.6.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_alias/input.sol:1:1] │ 1 │ alias diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_alias/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_alias/generated/0.7.0-failure.yml index f89413fd72..174e63fdab 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_alias/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_alias/generated/0.7.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_alias/input.sol:1:1] │ 1 │ alias diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_alias/generated/0.8.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_alias/generated/0.8.0-failure.yml index 3d3ae5f49e..6b40da2296 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_alias/generated/0.8.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_alias/generated/0.8.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_alias/input.sol:1:1] │ 1 │ alias diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_apply/generated/0.5.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_apply/generated/0.5.0-failure.yml index c95a7dd239..02593faf45 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_apply/generated/0.5.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_apply/generated/0.5.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_apply/input.sol:1:1] │ 1 │ apply diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_apply/generated/0.5.3-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_apply/generated/0.5.3-failure.yml index 409fbd0480..a43fc523f9 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_apply/generated/0.5.3-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_apply/generated/0.5.3-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_apply/input.sol:1:1] │ 1 │ apply diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_apply/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_apply/generated/0.6.0-failure.yml index 5bf5a59e6f..394eddf283 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_apply/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_apply/generated/0.6.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_apply/input.sol:1:1] │ 1 │ apply diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_apply/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_apply/generated/0.7.0-failure.yml index 3ada9ddba1..3b2bf1465c 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_apply/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_apply/generated/0.7.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_apply/input.sol:1:1] │ 1 │ apply diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_apply/generated/0.8.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_apply/generated/0.8.0-failure.yml index 350b224191..d731b790ee 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_apply/generated/0.8.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_apply/generated/0.8.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_apply/input.sol:1:1] │ 1 │ apply diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_auto/generated/0.5.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_auto/generated/0.5.0-failure.yml index 1734dad80b..ae899575b0 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_auto/generated/0.5.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_auto/generated/0.5.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_auto/input.sol:1:1] │ 1 │ auto diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_auto/generated/0.5.3-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_auto/generated/0.5.3-failure.yml index 0d9b9980f7..a05e7abbe4 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_auto/generated/0.5.3-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_auto/generated/0.5.3-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_auto/input.sol:1:1] │ 1 │ auto diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_auto/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_auto/generated/0.6.0-failure.yml index d162003e5f..005046ca98 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_auto/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_auto/generated/0.6.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_auto/input.sol:1:1] │ 1 │ auto diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_auto/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_auto/generated/0.7.0-failure.yml index 5a964d6e41..c68cfbe56f 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_auto/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_auto/generated/0.7.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_auto/input.sol:1:1] │ 1 │ auto diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_auto/generated/0.8.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_auto/generated/0.8.0-failure.yml index 90f90fad9f..22bc1b5ffd 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_auto/generated/0.8.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_auto/generated/0.8.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_auto/input.sol:1:1] │ 1 │ auto diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_calldata/generated/0.5.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_calldata/generated/0.5.0-failure.yml index d5b6d368dc..56875cdf81 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_calldata/generated/0.5.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_calldata/generated/0.5.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_calldata/input.sol:1:1] │ 1 │ calldata diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_calldata/generated/0.5.3-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_calldata/generated/0.5.3-failure.yml index 6023e4c76d..1d25524f96 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_calldata/generated/0.5.3-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_calldata/generated/0.5.3-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_calldata/input.sol:1:1] │ 1 │ calldata diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_calldata/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_calldata/generated/0.6.0-failure.yml index 06a3e70cf4..da704cecfe 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_calldata/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_calldata/generated/0.6.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_calldata/input.sol:1:1] │ 1 │ calldata diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_calldata/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_calldata/generated/0.7.0-failure.yml index bbf3e27b33..50257bff64 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_calldata/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_calldata/generated/0.7.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_calldata/input.sol:1:1] │ 1 │ calldata diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_calldata/generated/0.8.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_calldata/generated/0.8.0-failure.yml index 65f8fba4cf..0ee88bedcd 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_calldata/generated/0.8.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_calldata/generated/0.8.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_calldata/input.sol:1:1] │ 1 │ calldata diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_constructor/generated/0.5.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_constructor/generated/0.5.0-failure.yml index 9d67f3f89b..62cb309ca4 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_constructor/generated/0.5.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_constructor/generated/0.5.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_constructor/input.sol:1:1] │ 1 │ constructor diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_constructor/generated/0.5.3-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_constructor/generated/0.5.3-failure.yml index 55f26826b1..2d48e8e2b1 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_constructor/generated/0.5.3-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_constructor/generated/0.5.3-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_constructor/input.sol:1:1] │ 1 │ constructor diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_constructor/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_constructor/generated/0.6.0-failure.yml index 4ba550905d..79b77d8ac1 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_constructor/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_constructor/generated/0.6.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_constructor/input.sol:1:1] │ 1 │ constructor diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_constructor/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_constructor/generated/0.7.0-failure.yml index eb6ab1545b..4ea9ba9cdf 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_constructor/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_constructor/generated/0.7.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_constructor/input.sol:1:1] │ 1 │ constructor diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_constructor/generated/0.8.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_constructor/generated/0.8.0-failure.yml index ec3a24cb49..03dbe7a678 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_constructor/generated/0.8.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_constructor/generated/0.8.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_constructor/input.sol:1:1] │ 1 │ constructor diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_copyof/generated/0.5.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_copyof/generated/0.5.0-failure.yml index 65314abcb5..c9bdc45b74 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_copyof/generated/0.5.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_copyof/generated/0.5.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_copyof/input.sol:1:1] │ 1 │ copyof diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_copyof/generated/0.5.3-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_copyof/generated/0.5.3-failure.yml index d358725b0e..06461c317a 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_copyof/generated/0.5.3-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_copyof/generated/0.5.3-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_copyof/input.sol:1:1] │ 1 │ copyof diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_copyof/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_copyof/generated/0.6.0-failure.yml index 6bda16afb6..739556449b 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_copyof/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_copyof/generated/0.6.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_copyof/input.sol:1:1] │ 1 │ copyof diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_copyof/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_copyof/generated/0.7.0-failure.yml index 24a2c9ec72..dd818694ef 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_copyof/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_copyof/generated/0.7.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_copyof/input.sol:1:1] │ 1 │ copyof diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_copyof/generated/0.8.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_copyof/generated/0.8.0-failure.yml index ef2237509b..b0e8985a5a 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_copyof/generated/0.8.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_copyof/generated/0.8.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_copyof/input.sol:1:1] │ 1 │ copyof diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_define/generated/0.5.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_define/generated/0.5.0-failure.yml index fec91b38ef..80da4b4254 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_define/generated/0.5.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_define/generated/0.5.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_define/input.sol:1:1] │ 1 │ define diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_define/generated/0.5.3-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_define/generated/0.5.3-failure.yml index be4e694812..c7f8fb78f7 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_define/generated/0.5.3-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_define/generated/0.5.3-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_define/input.sol:1:1] │ 1 │ define diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_define/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_define/generated/0.6.0-failure.yml index ee5fc05049..2d12508743 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_define/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_define/generated/0.6.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_define/input.sol:1:1] │ 1 │ define diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_define/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_define/generated/0.7.0-failure.yml index b4a8649240..604f061909 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_define/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_define/generated/0.7.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_define/input.sol:1:1] │ 1 │ define diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_define/generated/0.8.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_define/generated/0.8.0-failure.yml index f49ee41bfb..43700e906c 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_define/generated/0.8.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_define/generated/0.8.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_define/input.sol:1:1] │ 1 │ define diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_emit/generated/0.5.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_emit/generated/0.5.0-failure.yml index 91ecb172b7..e080ebeafd 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_emit/generated/0.5.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_emit/generated/0.5.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_emit/input.sol:1:1] │ 1 │ emit diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_emit/generated/0.5.3-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_emit/generated/0.5.3-failure.yml index 05a6587a8f..1af6dd658e 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_emit/generated/0.5.3-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_emit/generated/0.5.3-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_emit/input.sol:1:1] │ 1 │ emit diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_emit/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_emit/generated/0.6.0-failure.yml index 237ef4c89c..c35e6c284f 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_emit/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_emit/generated/0.6.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_emit/input.sol:1:1] │ 1 │ emit diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_emit/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_emit/generated/0.7.0-failure.yml index fbddb0dd87..53524b9155 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_emit/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_emit/generated/0.7.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_emit/input.sol:1:1] │ 1 │ emit diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_emit/generated/0.8.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_emit/generated/0.8.0-failure.yml index a0dc844160..83f0855aa9 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_emit/generated/0.8.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_emit/generated/0.8.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_emit/input.sol:1:1] │ 1 │ emit diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_fallback/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_fallback/generated/0.6.0-failure.yml index df1148cb41..98a51d8b9a 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_fallback/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_fallback/generated/0.6.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_fallback/input.sol:1:1] │ 1 │ fallback diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_fallback/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_fallback/generated/0.7.0-failure.yml index 5ab1dc8b1c..cf873a01e4 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_fallback/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_fallback/generated/0.7.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_fallback/input.sol:1:1] │ 1 │ fallback diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_fallback/generated/0.8.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_fallback/generated/0.8.0-failure.yml index ed5f4d4fe0..613928d747 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_fallback/generated/0.8.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_fallback/generated/0.8.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_fallback/input.sol:1:1] │ 1 │ fallback diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_finney/generated/0.4.11-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_finney/generated/0.4.11-failure.yml index f91d950af2..ddf15e6f60 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_finney/generated/0.4.11-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_finney/generated/0.4.11-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_finney/input.sol:1:1] │ 1 │ finney diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_finney/generated/0.5.3-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_finney/generated/0.5.3-failure.yml index ec21615e43..5b79c45e50 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_finney/generated/0.5.3-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_finney/generated/0.5.3-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_finney/input.sol:1:1] │ 1 │ finney diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_finney/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_finney/generated/0.6.0-failure.yml index 52c35f5188..ed9eeab9f9 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_finney/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_finney/generated/0.6.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_finney/input.sol:1:1] │ 1 │ finney diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_immutable/generated/0.5.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_immutable/generated/0.5.0-failure.yml index 7c3f9821c8..fe5f3afb5a 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_immutable/generated/0.5.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_immutable/generated/0.5.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_immutable/input.sol:1:1] │ 1 │ immutable diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_immutable/generated/0.5.3-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_immutable/generated/0.5.3-failure.yml index 0dca967bc9..c02236998b 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_immutable/generated/0.5.3-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_immutable/generated/0.5.3-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_immutable/input.sol:1:1] │ 1 │ immutable diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_immutable/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_immutable/generated/0.6.0-failure.yml index 265c5f6595..da7b8ba9c0 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_immutable/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_immutable/generated/0.6.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_immutable/input.sol:1:1] │ 1 │ immutable diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_immutable/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_immutable/generated/0.7.0-failure.yml index 996edd8c80..b3c2062b7a 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_immutable/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_immutable/generated/0.7.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_immutable/input.sol:1:1] │ 1 │ immutable diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_immutable/generated/0.8.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_immutable/generated/0.8.0-failure.yml index 13a0184171..b3af381db6 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_immutable/generated/0.8.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_immutable/generated/0.8.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_immutable/input.sol:1:1] │ 1 │ immutable diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_implements/generated/0.5.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_implements/generated/0.5.0-failure.yml index ef67d6ae32..38116550ab 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_implements/generated/0.5.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_implements/generated/0.5.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_implements/input.sol:1:1] │ 1 │ implements diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_implements/generated/0.5.3-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_implements/generated/0.5.3-failure.yml index 8b7a90ebdd..511278db83 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_implements/generated/0.5.3-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_implements/generated/0.5.3-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_implements/input.sol:1:1] │ 1 │ implements diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_implements/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_implements/generated/0.6.0-failure.yml index 9c93fce5f7..e3be4d0740 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_implements/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_implements/generated/0.6.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_implements/input.sol:1:1] │ 1 │ implements diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_implements/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_implements/generated/0.7.0-failure.yml index 114f7f46c1..6773e2a1a5 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_implements/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_implements/generated/0.7.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_implements/input.sol:1:1] │ 1 │ implements diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_implements/generated/0.8.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_implements/generated/0.8.0-failure.yml index e57366f0b0..c5d864ccb8 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_implements/generated/0.8.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_implements/generated/0.8.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_implements/input.sol:1:1] │ 1 │ implements diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_macro/generated/0.5.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_macro/generated/0.5.0-failure.yml index 62a77cac63..30f88ab5f8 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_macro/generated/0.5.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_macro/generated/0.5.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_macro/input.sol:1:1] │ 1 │ macro diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_macro/generated/0.5.3-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_macro/generated/0.5.3-failure.yml index 0bd2eb2ce4..7bf4e999f5 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_macro/generated/0.5.3-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_macro/generated/0.5.3-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_macro/input.sol:1:1] │ 1 │ macro diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_macro/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_macro/generated/0.6.0-failure.yml index 5c29821a37..0336af9195 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_macro/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_macro/generated/0.6.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_macro/input.sol:1:1] │ 1 │ macro diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_macro/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_macro/generated/0.7.0-failure.yml index 549a89ebca..c3edef3ff9 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_macro/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_macro/generated/0.7.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_macro/input.sol:1:1] │ 1 │ macro diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_macro/generated/0.8.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_macro/generated/0.8.0-failure.yml index 50bb1fef1f..bc33d4c4b2 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_macro/generated/0.8.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_macro/generated/0.8.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_macro/input.sol:1:1] │ 1 │ macro diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_mutable/generated/0.5.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_mutable/generated/0.5.0-failure.yml index 7a37548bd7..9819559dc9 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_mutable/generated/0.5.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_mutable/generated/0.5.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_mutable/input.sol:1:1] │ 1 │ mutable diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_mutable/generated/0.5.3-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_mutable/generated/0.5.3-failure.yml index 0e8858fadd..62d3e14d57 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_mutable/generated/0.5.3-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_mutable/generated/0.5.3-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_mutable/input.sol:1:1] │ 1 │ mutable diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_mutable/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_mutable/generated/0.6.0-failure.yml index 46fdb36fb4..99644158f9 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_mutable/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_mutable/generated/0.6.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_mutable/input.sol:1:1] │ 1 │ mutable diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_mutable/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_mutable/generated/0.7.0-failure.yml index 212e3b8e4d..09a7611f56 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_mutable/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_mutable/generated/0.7.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_mutable/input.sol:1:1] │ 1 │ mutable diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_mutable/generated/0.8.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_mutable/generated/0.8.0-failure.yml index a4315e7445..5cc1b288d6 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_mutable/generated/0.8.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_mutable/generated/0.8.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_mutable/input.sol:1:1] │ 1 │ mutable diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_override/generated/0.5.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_override/generated/0.5.0-failure.yml index 363b2c1890..65febd35c7 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_override/generated/0.5.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_override/generated/0.5.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_override/input.sol:1:1] │ 1 │ override diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_override/generated/0.5.3-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_override/generated/0.5.3-failure.yml index cfd3bb1b25..9e2cd6eefb 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_override/generated/0.5.3-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_override/generated/0.5.3-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_override/input.sol:1:1] │ 1 │ override diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_override/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_override/generated/0.6.0-failure.yml index 611701b884..1d6c3ecc29 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_override/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_override/generated/0.6.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_override/input.sol:1:1] │ 1 │ override diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_override/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_override/generated/0.7.0-failure.yml index c84e9a6a52..df50d1a728 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_override/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_override/generated/0.7.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_override/input.sol:1:1] │ 1 │ override diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_override/generated/0.8.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_override/generated/0.8.0-failure.yml index 2f7bc0f83e..05ab23bfd1 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_override/generated/0.8.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_override/generated/0.8.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_override/input.sol:1:1] │ 1 │ override diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_partial/generated/0.5.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_partial/generated/0.5.0-failure.yml index fc2600d861..cc3956f3f2 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_partial/generated/0.5.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_partial/generated/0.5.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_partial/input.sol:1:1] │ 1 │ partial diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_partial/generated/0.5.3-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_partial/generated/0.5.3-failure.yml index 3a5172f5db..7bafac5afc 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_partial/generated/0.5.3-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_partial/generated/0.5.3-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_partial/input.sol:1:1] │ 1 │ partial diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_partial/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_partial/generated/0.6.0-failure.yml index d4e46a7da6..efbc023a40 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_partial/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_partial/generated/0.6.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_partial/input.sol:1:1] │ 1 │ partial diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_partial/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_partial/generated/0.7.0-failure.yml index b84698c4f4..ca1f3fa853 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_partial/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_partial/generated/0.7.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_partial/input.sol:1:1] │ 1 │ partial diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_partial/generated/0.8.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_partial/generated/0.8.0-failure.yml index b1d7cee5b5..c64d42d033 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_partial/generated/0.8.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_partial/generated/0.8.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_partial/input.sol:1:1] │ 1 │ partial diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_promise/generated/0.5.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_promise/generated/0.5.0-failure.yml index f2db0ee6ad..04462b2a18 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_promise/generated/0.5.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_promise/generated/0.5.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_promise/input.sol:1:1] │ 1 │ promise diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_promise/generated/0.5.3-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_promise/generated/0.5.3-failure.yml index 2da64f6c3f..82aaf8ae43 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_promise/generated/0.5.3-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_promise/generated/0.5.3-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_promise/input.sol:1:1] │ 1 │ promise diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_promise/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_promise/generated/0.6.0-failure.yml index 31f582659b..9d50c37a32 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_promise/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_promise/generated/0.6.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_promise/input.sol:1:1] │ 1 │ promise diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_promise/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_promise/generated/0.7.0-failure.yml index 465743854f..2361517842 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_promise/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_promise/generated/0.7.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_promise/input.sol:1:1] │ 1 │ promise diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_promise/generated/0.8.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_promise/generated/0.8.0-failure.yml index 7ebc068819..ec0b4c41ac 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_promise/generated/0.8.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_promise/generated/0.8.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_promise/input.sol:1:1] │ 1 │ promise diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_receive/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_receive/generated/0.6.0-failure.yml index baa29afc86..f256a3e0d8 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_receive/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_receive/generated/0.6.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_receive/input.sol:1:1] │ 1 │ receive diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_receive/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_receive/generated/0.7.0-failure.yml index 1b8734f8d8..c9eac552e1 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_receive/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_receive/generated/0.7.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_receive/input.sol:1:1] │ 1 │ receive diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_receive/generated/0.8.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_receive/generated/0.8.0-failure.yml index f70d5bd8fd..652740c887 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_receive/generated/0.8.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_receive/generated/0.8.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_receive/input.sol:1:1] │ 1 │ receive diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_reference/generated/0.5.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_reference/generated/0.5.0-failure.yml index 8f9eb83db6..5a5759aa15 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_reference/generated/0.5.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_reference/generated/0.5.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_reference/input.sol:1:1] │ 1 │ reference diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_reference/generated/0.5.3-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_reference/generated/0.5.3-failure.yml index 7df6e9c558..7087607fc8 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_reference/generated/0.5.3-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_reference/generated/0.5.3-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_reference/input.sol:1:1] │ 1 │ reference diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_reference/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_reference/generated/0.6.0-failure.yml index d98ce1d336..166fa7e07b 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_reference/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_reference/generated/0.6.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_reference/input.sol:1:1] │ 1 │ reference diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_reference/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_reference/generated/0.7.0-failure.yml index a56790117d..cbf3a2ce30 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_reference/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_reference/generated/0.7.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_reference/input.sol:1:1] │ 1 │ reference diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_reference/generated/0.8.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_reference/generated/0.8.0-failure.yml index 8eeffa9f9d..c589b761d2 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_reference/generated/0.8.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_reference/generated/0.8.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_reference/input.sol:1:1] │ 1 │ reference diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sealed/generated/0.5.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sealed/generated/0.5.0-failure.yml index 32c5a998be..f61ac5a79d 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sealed/generated/0.5.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sealed/generated/0.5.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_sealed/input.sol:1:1] │ 1 │ sealed diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sealed/generated/0.5.3-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sealed/generated/0.5.3-failure.yml index d3c7da8a3b..6529a77323 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sealed/generated/0.5.3-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sealed/generated/0.5.3-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_sealed/input.sol:1:1] │ 1 │ sealed diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sealed/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sealed/generated/0.6.0-failure.yml index 83cb6bcc9c..2ad24fd7f6 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sealed/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sealed/generated/0.6.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_sealed/input.sol:1:1] │ 1 │ sealed diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sealed/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sealed/generated/0.7.0-failure.yml index e5ceac8499..2629a45b5e 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sealed/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sealed/generated/0.7.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_sealed/input.sol:1:1] │ 1 │ sealed diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sealed/generated/0.8.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sealed/generated/0.8.0-failure.yml index ba716421df..99410f3a8f 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sealed/generated/0.8.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sealed/generated/0.8.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_sealed/input.sol:1:1] │ 1 │ sealed diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sizeof/generated/0.5.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sizeof/generated/0.5.0-failure.yml index 03421312df..98e41ae961 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sizeof/generated/0.5.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sizeof/generated/0.5.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_sizeof/input.sol:1:1] │ 1 │ sizeof diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sizeof/generated/0.5.3-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sizeof/generated/0.5.3-failure.yml index 0d96151464..ffaf63451b 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sizeof/generated/0.5.3-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sizeof/generated/0.5.3-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_sizeof/input.sol:1:1] │ 1 │ sizeof diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sizeof/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sizeof/generated/0.6.0-failure.yml index 2683508328..1517a138b8 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sizeof/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sizeof/generated/0.6.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_sizeof/input.sol:1:1] │ 1 │ sizeof diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sizeof/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sizeof/generated/0.7.0-failure.yml index 2ee6a400de..581b079e82 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sizeof/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sizeof/generated/0.7.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_sizeof/input.sol:1:1] │ 1 │ sizeof diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sizeof/generated/0.8.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sizeof/generated/0.8.0-failure.yml index a2d5a20efb..689453b878 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sizeof/generated/0.8.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_sizeof/generated/0.8.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_sizeof/input.sol:1:1] │ 1 │ sizeof diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_supports/generated/0.5.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_supports/generated/0.5.0-failure.yml index 02422e85de..0a20d3d2e3 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_supports/generated/0.5.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_supports/generated/0.5.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_supports/input.sol:1:1] │ 1 │ supports diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_supports/generated/0.5.3-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_supports/generated/0.5.3-failure.yml index d68672a31e..d55a08ede7 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_supports/generated/0.5.3-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_supports/generated/0.5.3-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_supports/input.sol:1:1] │ 1 │ supports diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_supports/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_supports/generated/0.6.0-failure.yml index 8bce77925b..7919198eb5 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_supports/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_supports/generated/0.6.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_supports/input.sol:1:1] │ 1 │ supports diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_supports/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_supports/generated/0.7.0-failure.yml index b60caff3f2..d0c6198df6 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_supports/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_supports/generated/0.7.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_supports/input.sol:1:1] │ 1 │ supports diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_supports/generated/0.8.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_supports/generated/0.8.0-failure.yml index d371b4e656..df5e652c7a 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_supports/generated/0.8.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_supports/generated/0.8.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_supports/input.sol:1:1] │ 1 │ supports diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_szabo/generated/0.4.11-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_szabo/generated/0.4.11-failure.yml index eedf1043fe..b59ca91094 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_szabo/generated/0.4.11-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_szabo/generated/0.4.11-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_szabo/input.sol:1:1] │ 1 │ szabo diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_szabo/generated/0.5.3-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_szabo/generated/0.5.3-failure.yml index 7b64b2ae97..3a4fd8dd64 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_szabo/generated/0.5.3-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_szabo/generated/0.5.3-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_szabo/input.sol:1:1] │ 1 │ szabo diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_szabo/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_szabo/generated/0.6.0-failure.yml index fb4cb7e56c..5c5f1b0369 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_szabo/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_szabo/generated/0.6.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_szabo/input.sol:1:1] │ 1 │ szabo diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_typedef/generated/0.5.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_typedef/generated/0.5.0-failure.yml index e0cde8c992..e0c59941ca 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_typedef/generated/0.5.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_typedef/generated/0.5.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_typedef/input.sol:1:1] │ 1 │ typedef diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_typedef/generated/0.5.3-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_typedef/generated/0.5.3-failure.yml index d0fbe55568..4f1344dc1f 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_typedef/generated/0.5.3-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_typedef/generated/0.5.3-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_typedef/input.sol:1:1] │ 1 │ typedef diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_typedef/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_typedef/generated/0.6.0-failure.yml index 918020124f..ffda5bc9fe 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_typedef/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_typedef/generated/0.6.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_typedef/input.sol:1:1] │ 1 │ typedef diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_typedef/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_typedef/generated/0.7.0-failure.yml index b638abb22a..255b235361 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_typedef/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_typedef/generated/0.7.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_typedef/input.sol:1:1] │ 1 │ typedef diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_typedef/generated/0.8.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_typedef/generated/0.8.0-failure.yml index fd3ade72f5..f57efa9c79 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_typedef/generated/0.8.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_typedef/generated/0.8.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_typedef/input.sol:1:1] │ 1 │ typedef diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_unchecked/generated/0.5.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_unchecked/generated/0.5.0-failure.yml index b3256f92b9..e740799f1b 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_unchecked/generated/0.5.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_unchecked/generated/0.5.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_unchecked/input.sol:1:1] │ 1 │ unchecked diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_unchecked/generated/0.5.3-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_unchecked/generated/0.5.3-failure.yml index 2161c7955a..34c7ee3696 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_unchecked/generated/0.5.3-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_unchecked/generated/0.5.3-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_unchecked/input.sol:1:1] │ 1 │ unchecked diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_unchecked/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_unchecked/generated/0.6.0-failure.yml index 0af16fa9e3..1ddda7776c 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_unchecked/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_unchecked/generated/0.6.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_unchecked/input.sol:1:1] │ 1 │ unchecked diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_unchecked/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_unchecked/generated/0.7.0-failure.yml index 0b71d824bc..b03d6cde2e 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_unchecked/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_unchecked/generated/0.7.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_unchecked/input.sol:1:1] │ 1 │ unchecked diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_unchecked/generated/0.8.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_unchecked/generated/0.8.0-failure.yml index 5501b823cb..a41043574f 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_unchecked/generated/0.8.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_unchecked/generated/0.8.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_unchecked/input.sol:1:1] │ 1 │ unchecked diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_virtual/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_virtual/generated/0.6.0-failure.yml index d8345c3619..229ea7e2f5 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_virtual/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_virtual/generated/0.6.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_virtual/input.sol:1:1] │ 1 │ virtual diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_virtual/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_virtual/generated/0.7.0-failure.yml index fde6d50a88..8f5dbba2ae 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_virtual/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_virtual/generated/0.7.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_virtual/input.sol:1:1] │ 1 │ virtual diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_virtual/generated/0.8.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_virtual/generated/0.8.0-failure.yml index f676740d6e..ebbbbe3faa 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/keyword_virtual/generated/0.8.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/keyword_virtual/generated/0.8.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/keyword_virtual/input.sol:1:1] │ 1 │ virtual diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/prefix_plus/generated/0.5.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/prefix_plus/generated/0.5.0-failure.yml index d8d1e1d0e4..c2e0fd1325 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/prefix_plus/generated/0.5.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/prefix_plus/generated/0.5.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/prefix_plus/input.sol:1:1] │ 1 │ +foo diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/prefix_plus/generated/0.5.3-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/prefix_plus/generated/0.5.3-failure.yml index 1c758210bc..28e4c47abb 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/prefix_plus/generated/0.5.3-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/prefix_plus/generated/0.5.3-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/prefix_plus/input.sol:1:1] │ 1 │ +foo diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/prefix_plus/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/prefix_plus/generated/0.6.0-failure.yml index c2a188dd6c..411b5d5cf0 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/prefix_plus/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/prefix_plus/generated/0.6.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/prefix_plus/input.sol:1:1] │ 1 │ +foo diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/prefix_plus/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/prefix_plus/generated/0.7.0-failure.yml index 478ebb2ba1..56d7128db2 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/prefix_plus/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/prefix_plus/generated/0.7.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/prefix_plus/input.sol:1:1] │ 1 │ +foo diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/prefix_plus/generated/0.8.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/prefix_plus/generated/0.8.0-failure.yml index baaafae69a..566b7801ab 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/prefix_plus/generated/0.8.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/prefix_plus/generated/0.8.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/prefix_plus/input.sol:1:1] │ 1 │ +foo diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/returns/generated/0.4.11-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/returns/generated/0.4.11-failure.yml index e4c402355e..7e37367ff7 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/returns/generated/0.4.11-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/returns/generated/0.4.11-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/returns/input.sol:1:1] │ 1 │ returns diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/returns/generated/0.5.3-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/returns/generated/0.5.3-failure.yml index 04015ba344..8dbaa84bcf 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/returns/generated/0.5.3-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/returns/generated/0.5.3-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/returns/input.sol:1:1] │ 1 │ returns diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/returns/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/returns/generated/0.6.0-failure.yml index 577dd0ee7d..4b7647dfb9 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/returns/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/returns/generated/0.6.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/returns/input.sol:1:1] │ 1 │ returns diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/returns/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/returns/generated/0.7.0-failure.yml index ae71b3d50e..4b03bc7b49 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/returns/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/returns/generated/0.7.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/returns/input.sol:1:1] │ 1 │ returns diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/returns/generated/0.8.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Expression/returns/generated/0.8.0-failure.yml index 79f7b2da20..b4a3bec51a 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/returns/generated/0.8.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/returns/generated/0.8.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral. + Error: Expected AddressKeyword or BoolKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or PayableKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Expression/returns/input.sol:1:1] │ 1 │ returns diff --git a/crates/solidity/testing/snapshots/cst_output/Expression/unicode_string_literal/generated/0.7.0-success.yml b/crates/solidity/testing/snapshots/cst_output/Expression/unicode_string_literal/generated/0.7.0-success.yml index b325e8a96f..43af4e6960 100644 --- a/crates/solidity/testing/snapshots/cst_output/Expression/unicode_string_literal/generated/0.7.0-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/Expression/unicode_string_literal/generated/0.7.0-success.yml @@ -7,4 +7,4 @@ Errors: [] Tree: - (Expression) ► (variant꞉ StringExpression) ► (variant꞉ UnicodeStringLiterals): # 'unicode"This Emoji: 😃"' (0..25) - - (item꞉ UnicodeStringLiteral): 'unicode"This Emoji: 😃"' # (0..25) + - (item꞉ UnicodeStringLiteral) ► (variant꞉ DoubleQuotedUnicodeStringLiteral): 'unicode"This Emoji: 😃"' # (0..25) diff --git a/crates/solidity/testing/snapshots/cst_output/FunctionCallExpression/payable_conversion/generated/0.4.11-failure.yml b/crates/solidity/testing/snapshots/cst_output/FunctionCallExpression/payable_conversion/generated/0.4.11-failure.yml index 3c22b439a6..9298b60605 100644 --- a/crates/solidity/testing/snapshots/cst_output/FunctionCallExpression/payable_conversion/generated/0.4.11-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/FunctionCallExpression/payable_conversion/generated/0.4.11-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/FunctionCallExpression/payable_conversion/input.sol:1:1] │ 1 │ payable(msg.sender) diff --git a/crates/solidity/testing/snapshots/cst_output/FunctionCallExpression/payable_conversion/generated/0.5.3-failure.yml b/crates/solidity/testing/snapshots/cst_output/FunctionCallExpression/payable_conversion/generated/0.5.3-failure.yml index 4497822547..aadebe731f 100644 --- a/crates/solidity/testing/snapshots/cst_output/FunctionCallExpression/payable_conversion/generated/0.5.3-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/FunctionCallExpression/payable_conversion/generated/0.5.3-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or FalseKeyword or FixedKeyword or HexLiteral or HexStringLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. + Error: Expected AddressKeyword or BoolKeyword or ByteKeyword or BytesKeyword or DecimalLiteral or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or FalseKeyword or FixedKeyword or HexLiteral or Identifier or IntKeyword or NewKeyword or OpenBracket or OpenParen or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/FunctionCallExpression/payable_conversion/input.sol:1:1] │ 1 │ payable(msg.sender) diff --git a/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/all_separated_pairs/generated/0.5.14-success.yml b/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/all_separated_pairs/generated/0.5.14-success.yml index 5a33b74d9d..4f1ac03ef9 100644 --- a/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/all_separated_pairs/generated/0.5.14-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/all_separated_pairs/generated/0.5.14-success.yml @@ -7,4 +7,4 @@ Errors: [] Tree: - (HexStringLiterals): # 'hex"12_34_56_78_90_ab_cd_ef"' (0..28) - - (item꞉ HexStringLiteral): 'hex"12_34_56_78_90_ab_cd_ef"' # (0..28) + - (item꞉ HexStringLiteral) ► (variant꞉ DoubleQuotedHexStringLiteral): 'hex"12_34_56_78_90_ab_cd_ef"' # (0..28) diff --git a/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/invalid_consecutive_separators/generated/0.5.14-failure.yml b/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/invalid_consecutive_separators/generated/0.5.14-failure.yml index c23d77456b..44841c7009 100644 --- a/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/invalid_consecutive_separators/generated/0.5.14-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/invalid_consecutive_separators/generated/0.5.14-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected HexStringLiteral. + Error: Expected DoubleQuotedHexStringLiteral or SingleQuotedHexStringLiteral. ╭─[crates/solidity/testing/snapshots/cst_output/HexStringLiterals/invalid_consecutive_separators/input.sol:1:1] │ 1 │ hex"12__34" diff --git a/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/invalid_leading_separator/generated/0.5.14-failure.yml b/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/invalid_leading_separator/generated/0.5.14-failure.yml index 20f86997ac..ab03af1258 100644 --- a/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/invalid_leading_separator/generated/0.5.14-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/invalid_leading_separator/generated/0.5.14-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected HexStringLiteral. + Error: Expected DoubleQuotedHexStringLiteral or SingleQuotedHexStringLiteral. ╭─[crates/solidity/testing/snapshots/cst_output/HexStringLiterals/invalid_leading_separator/input.sol:1:1] │ 1 │ hex"_1234" diff --git a/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/invalid_separator_after_single_char/generated/0.5.14-failure.yml b/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/invalid_separator_after_single_char/generated/0.5.14-failure.yml index 76b1b64255..87c776c013 100644 --- a/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/invalid_separator_after_single_char/generated/0.5.14-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/invalid_separator_after_single_char/generated/0.5.14-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected HexStringLiteral. + Error: Expected DoubleQuotedHexStringLiteral or SingleQuotedHexStringLiteral. ╭─[crates/solidity/testing/snapshots/cst_output/HexStringLiterals/invalid_separator_after_single_char/input.sol:1:1] │ 1 │ hex"1_2" diff --git a/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/invalid_trailing_separator/generated/0.5.14-failure.yml b/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/invalid_trailing_separator/generated/0.5.14-failure.yml index a2f82c5ca1..8a29a7af28 100644 --- a/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/invalid_trailing_separator/generated/0.5.14-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/invalid_trailing_separator/generated/0.5.14-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected HexStringLiteral. + Error: Expected DoubleQuotedHexStringLiteral or SingleQuotedHexStringLiteral. ╭─[crates/solidity/testing/snapshots/cst_output/HexStringLiterals/invalid_trailing_separator/input.sol:1:1] │ 1 │ hex"1234_" diff --git a/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/multiple/generated/0.5.14-success.yml b/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/multiple/generated/0.5.14-success.yml index 7488aa142e..bb6b026940 100644 --- a/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/multiple/generated/0.5.14-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/multiple/generated/0.5.14-success.yml @@ -7,6 +7,7 @@ Errors: [] Tree: - (HexStringLiterals): # 'hex"ab" hex''cd''' (0..15) - - (item꞉ HexStringLiteral): 'hex"ab"' # (0..7) - - (LeadingTrivia) ► (Whitespace): " " # (7..8) - - (item꞉ HexStringLiteral): "hex'cd'" # (8..15) + - (item꞉ HexStringLiteral) ► (variant꞉ DoubleQuotedHexStringLiteral): 'hex"ab"' # (0..7) + - (item꞉ HexStringLiteral): # " hex'cd'" (7..15) + - (LeadingTrivia) ► (Whitespace): " " # (7..8) + - (variant꞉ SingleQuotedHexStringLiteral): "hex'cd'" # (8..15) diff --git a/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/no_separators/generated/0.5.14-success.yml b/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/no_separators/generated/0.5.14-success.yml index 64baa123cf..b24d60b8cf 100644 --- a/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/no_separators/generated/0.5.14-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/no_separators/generated/0.5.14-success.yml @@ -7,4 +7,4 @@ Errors: [] Tree: - (HexStringLiterals): # 'hex"1234567890abcdef"' (0..21) - - (item꞉ HexStringLiteral): 'hex"1234567890abcdef"' # (0..21) + - (item꞉ HexStringLiteral) ► (variant꞉ DoubleQuotedHexStringLiteral): 'hex"1234567890abcdef"' # (0..21) diff --git a/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/single/generated/0.5.14-success.yml b/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/single/generated/0.5.14-success.yml index d92b218019..2c6839c6d3 100644 --- a/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/single/generated/0.5.14-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/single/generated/0.5.14-success.yml @@ -7,4 +7,4 @@ Errors: [] Tree: - (HexStringLiterals): # 'hex"abcdef"' (0..11) - - (item꞉ HexStringLiteral): 'hex"abcdef"' # (0..11) + - (item꞉ HexStringLiteral) ► (variant꞉ DoubleQuotedHexStringLiteral): 'hex"abcdef"' # (0..11) diff --git a/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/single_trailing_ident/generated/0.5.14-failure.yml b/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/single_trailing_ident/generated/0.5.14-failure.yml index a3b8cd31dd..be016f807f 100644 --- a/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/single_trailing_ident/generated/0.5.14-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/single_trailing_ident/generated/0.5.14-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected HexStringLiteral. + Error: Expected DoubleQuotedHexStringLiteral or SingleQuotedHexStringLiteral. ╭─[crates/solidity/testing/snapshots/cst_output/HexStringLiterals/single_trailing_ident/input.sol:1:8] │ 1 │ hex"12"b @@ -15,5 +15,5 @@ Errors: # 1 total Tree: - (HexStringLiterals): # 'hex"12"b\n' (0..9) - - (item꞉ HexStringLiteral): 'hex"12"' # (0..7) + - (item꞉ HexStringLiteral) ► (variant꞉ DoubleQuotedHexStringLiteral): 'hex"12"' # (0..7) - (SKIPPED): "b\n" # (7..9) diff --git a/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/some_separated_pairs/generated/0.5.14-success.yml b/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/some_separated_pairs/generated/0.5.14-success.yml index 60fbf08b61..41e9e9cb3e 100644 --- a/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/some_separated_pairs/generated/0.5.14-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/HexStringLiterals/some_separated_pairs/generated/0.5.14-success.yml @@ -7,4 +7,4 @@ Errors: [] Tree: - (HexStringLiterals): # 'hex"1234_5678_90ab_cdef"' (0..24) - - (item꞉ HexStringLiteral): 'hex"1234_5678_90ab_cdef"' # (0..24) + - (item꞉ HexStringLiteral) ► (variant꞉ DoubleQuotedHexStringLiteral): 'hex"1234_5678_90ab_cdef"' # (0..24) diff --git a/crates/solidity/testing/snapshots/cst_output/ImportDirective/destructure_import_empty/generated/0.4.11-failure.yml b/crates/solidity/testing/snapshots/cst_output/ImportDirective/destructure_import_empty/generated/0.4.11-failure.yml index 13d520718d..db66763657 100644 --- a/crates/solidity/testing/snapshots/cst_output/ImportDirective/destructure_import_empty/generated/0.4.11-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/ImportDirective/destructure_import_empty/generated/0.4.11-failure.yml @@ -27,7 +27,8 @@ Tree: - (close_brace꞉ CloseBrace): "}" # (39..40) - (LeadingTrivia) ► (Whitespace): " " # (40..41) - (from_keyword꞉ FromKeyword): "from" # (41..45) - - (LeadingTrivia) ► (Whitespace): " " # (45..46) - - (path꞉ AsciiStringLiteral): '"foo"' # (46..51) + - (path꞉ StringLiteral): # ' "foo"' (45..51) + - (LeadingTrivia) ► (Whitespace): " " # (45..46) + - (variant꞉ DoubleQuotedStringLiteral): '"foo"' # (46..51) - (semicolon꞉ Semicolon): ";" # (51..52) - (TrailingTrivia) ► (EndOfLine): "\n" # (52..53) diff --git a/crates/solidity/testing/snapshots/cst_output/ImportDirective/destructure_import_multiple/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/ImportDirective/destructure_import_multiple/generated/0.4.11-success.yml index 4eb538d2ad..c575041b5d 100644 --- a/crates/solidity/testing/snapshots/cst_output/ImportDirective/destructure_import_multiple/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/ImportDirective/destructure_import_multiple/generated/0.4.11-success.yml @@ -37,6 +37,7 @@ Tree: - (close_brace꞉ CloseBrace): "}" # (32..33) - (LeadingTrivia) ► (Whitespace): " " # (33..34) - (from_keyword꞉ FromKeyword): "from" # (34..38) - - (LeadingTrivia) ► (Whitespace): " " # (38..39) - - (path꞉ AsciiStringLiteral): '"foo"' # (39..44) + - (path꞉ StringLiteral): # ' "foo"' (38..44) + - (LeadingTrivia) ► (Whitespace): " " # (38..39) + - (variant꞉ DoubleQuotedStringLiteral): '"foo"' # (39..44) - (semicolon꞉ Semicolon): ";" # (44..45) diff --git a/crates/solidity/testing/snapshots/cst_output/ImportDirective/destructure_import_single/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/ImportDirective/destructure_import_single/generated/0.4.11-success.yml index 6ead94fe7e..1da661a10a 100644 --- a/crates/solidity/testing/snapshots/cst_output/ImportDirective/destructure_import_single/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/ImportDirective/destructure_import_single/generated/0.4.11-success.yml @@ -24,6 +24,7 @@ Tree: - (close_brace꞉ CloseBrace): "}" # (16..17) - (LeadingTrivia) ► (Whitespace): " " # (17..18) - (from_keyword꞉ FromKeyword): "from" # (18..22) - - (LeadingTrivia) ► (Whitespace): " " # (22..23) - - (path꞉ AsciiStringLiteral): '"foo"' # (23..28) + - (path꞉ StringLiteral): # ' "foo"' (22..28) + - (LeadingTrivia) ► (Whitespace): " " # (22..23) + - (variant꞉ DoubleQuotedStringLiteral): '"foo"' # (23..28) - (semicolon꞉ Semicolon): ";" # (28..29) diff --git a/crates/solidity/testing/snapshots/cst_output/ImportDirective/named_import/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/ImportDirective/named_import/generated/0.4.11-success.yml index a01ebca1a9..e0f2b8bce3 100644 --- a/crates/solidity/testing/snapshots/cst_output/ImportDirective/named_import/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/ImportDirective/named_import/generated/0.4.11-success.yml @@ -18,6 +18,7 @@ Tree: - (identifier꞉ Identifier): "foo" # (12..15) - (LeadingTrivia) ► (Whitespace): " " # (15..16) - (from_keyword꞉ FromKeyword): "from" # (16..20) - - (LeadingTrivia) ► (Whitespace): " " # (20..21) - - (path꞉ AsciiStringLiteral): '"bar"' # (21..26) + - (path꞉ StringLiteral): # ' "bar"' (20..26) + - (LeadingTrivia) ► (Whitespace): " " # (20..21) + - (variant꞉ DoubleQuotedStringLiteral): '"bar"' # (21..26) - (semicolon꞉ Semicolon): ";" # (26..27) diff --git a/crates/solidity/testing/snapshots/cst_output/ImportDirective/path_import/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/ImportDirective/path_import/generated/0.4.11-success.yml index b9ef351f1e..059aa6f9b1 100644 --- a/crates/solidity/testing/snapshots/cst_output/ImportDirective/path_import/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/ImportDirective/path_import/generated/0.4.11-success.yml @@ -8,7 +8,7 @@ Errors: [] Tree: - (ImportDirective): # 'import "foo";' (0..13) - (import_keyword꞉ ImportKeyword): "import" # (0..6) - - (clause꞉ ImportClause) ► (variant꞉ PathImport): # ' "foo"' (6..12) + - (clause꞉ ImportClause) ► (variant꞉ PathImport) ► (path꞉ StringLiteral): # ' "foo"' (6..12) - (LeadingTrivia) ► (Whitespace): " " # (6..7) - - (path꞉ AsciiStringLiteral): '"foo"' # (7..12) + - (variant꞉ DoubleQuotedStringLiteral): '"foo"' # (7..12) - (semicolon꞉ Semicolon): ";" # (12..13) diff --git a/crates/solidity/testing/snapshots/cst_output/ImportDirective/path_import_with_alias/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/ImportDirective/path_import_with_alias/generated/0.4.11-success.yml index 826ee6dbc8..db9a5f5473 100644 --- a/crates/solidity/testing/snapshots/cst_output/ImportDirective/path_import_with_alias/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/ImportDirective/path_import_with_alias/generated/0.4.11-success.yml @@ -9,8 +9,9 @@ Tree: - (ImportDirective): # 'import "foo" as bar;' (0..20) - (import_keyword꞉ ImportKeyword): "import" # (0..6) - (clause꞉ ImportClause) ► (variant꞉ PathImport): # ' "foo" as bar' (6..19) - - (LeadingTrivia) ► (Whitespace): " " # (6..7) - - (path꞉ AsciiStringLiteral): '"foo"' # (7..12) + - (path꞉ StringLiteral): # ' "foo"' (6..12) + - (LeadingTrivia) ► (Whitespace): " " # (6..7) + - (variant꞉ DoubleQuotedStringLiteral): '"foo"' # (7..12) - (alias꞉ ImportAlias): # " as bar" (12..19) - (LeadingTrivia) ► (Whitespace): " " # (12..13) - (as_keyword꞉ AsKeyword): "as" # (13..15) diff --git a/crates/solidity/testing/snapshots/cst_output/PragmaDirective/experimental_string/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/PragmaDirective/experimental_string/generated/0.4.11-success.yml index 1c84790723..7beb937c86 100644 --- a/crates/solidity/testing/snapshots/cst_output/PragmaDirective/experimental_string/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/PragmaDirective/experimental_string/generated/0.4.11-success.yml @@ -11,8 +11,8 @@ Tree: - (pragma꞉ Pragma) ► (variant꞉ ExperimentalPragma): # ' experimental "ABIEncoderV2"' (6..34) - (LeadingTrivia) ► (Whitespace): " " # (6..7) - (experimental_keyword꞉ ExperimentalKeyword): "experimental" # (7..19) - - (feature꞉ ExperimentalFeature): # ' "ABIEncoderV2"' (19..34) + - (feature꞉ ExperimentalFeature) ► (variant꞉ StringLiteral): # ' "ABIEncoderV2"' (19..34) - (LeadingTrivia) ► (Whitespace): " " # (19..20) - - (variant꞉ AsciiStringLiteral): '"ABIEncoderV2"' # (20..34) + - (variant꞉ DoubleQuotedStringLiteral): '"ABIEncoderV2"' # (20..34) - (semicolon꞉ Semicolon): ";" # (34..35) - (TrailingTrivia) ► (EndOfLine): "\n" # (35..36) diff --git a/crates/solidity/testing/snapshots/cst_output/SourceUnit/SafeMath/generated/0.5.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/SourceUnit/SafeMath/generated/0.5.0-failure.yml index 9f4d9300e8..dc09fa25f9 100644 --- a/crates/solidity/testing/snapshots/cst_output/SourceUnit/SafeMath/generated/0.5.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/SourceUnit/SafeMath/generated/0.5.0-failure.yml @@ -13,7 +13,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or HexStringLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or ReturnKeyword or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword or WhileKeyword. + Error: Expected AddressKeyword or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or ReturnKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword or WhileKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/SourceUnit/SafeMath/input.sol:3:5] │ 3 │ ╭─▶ unchecked { diff --git a/crates/solidity/testing/snapshots/cst_output/SourceUnit/SafeMath/generated/0.5.3-failure.yml b/crates/solidity/testing/snapshots/cst_output/SourceUnit/SafeMath/generated/0.5.3-failure.yml index fadf969afc..97358f3546 100644 --- a/crates/solidity/testing/snapshots/cst_output/SourceUnit/SafeMath/generated/0.5.3-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/SourceUnit/SafeMath/generated/0.5.3-failure.yml @@ -13,7 +13,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or HexStringLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or ReturnKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or WhileKeyword. + Error: Expected AddressKeyword or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or ReturnKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or WhileKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/SourceUnit/SafeMath/input.sol:3:5] │ 3 │ ╭─▶ unchecked { diff --git a/crates/solidity/testing/snapshots/cst_output/SourceUnit/SafeMath/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/SourceUnit/SafeMath/generated/0.6.0-failure.yml index 8db6d85879..4108398db3 100644 --- a/crates/solidity/testing/snapshots/cst_output/SourceUnit/SafeMath/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/SourceUnit/SafeMath/generated/0.6.0-failure.yml @@ -13,7 +13,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or HexStringLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or PayableKeyword or ReturnKeyword or StringKeyword or TrueKeyword or TryKeyword or TypeKeyword or UfixedKeyword or UintKeyword or WhileKeyword. + Error: Expected AddressKeyword or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or PayableKeyword or ReturnKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TryKeyword or TypeKeyword or UfixedKeyword or UintKeyword or WhileKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/SourceUnit/SafeMath/input.sol:3:5] │ 3 │ ╭─▶ unchecked { diff --git a/crates/solidity/testing/snapshots/cst_output/SourceUnit/SafeMath/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/SourceUnit/SafeMath/generated/0.7.0-failure.yml index 6695c3b267..0465c0fa9f 100644 --- a/crates/solidity/testing/snapshots/cst_output/SourceUnit/SafeMath/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/SourceUnit/SafeMath/generated/0.7.0-failure.yml @@ -13,7 +13,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or HexStringLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or PayableKeyword or ReturnKeyword or StringKeyword or TrueKeyword or TryKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral or WhileKeyword. + Error: Expected AddressKeyword or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or CloseBrace or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or PayableKeyword or ReturnKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TryKeyword or TypeKeyword or UfixedKeyword or UintKeyword or WhileKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/SourceUnit/SafeMath/input.sol:3:5] │ 3 │ ╭─▶ unchecked { diff --git a/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.4.11-failure.yml b/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.4.11-failure.yml index 5026e1bc64..ada9880c2b 100644 --- a/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.4.11-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.4.11-failure.yml @@ -60,9 +60,9 @@ Tree: - (item꞉ SourceUnitMember) ► (variant꞉ ImportDirective): # '\nimport "foo.sol";\n' (23..42) - (LeadingTrivia) ► (EndOfLine): "\n" # (23..24) - (import_keyword꞉ ImportKeyword): "import" # (24..30) - - (clause꞉ ImportClause) ► (variant꞉ PathImport): # ' "foo.sol"' (30..40) + - (clause꞉ ImportClause) ► (variant꞉ PathImport) ► (path꞉ StringLiteral): # ' "foo.sol"' (30..40) - (LeadingTrivia) ► (Whitespace): " " # (30..31) - - (path꞉ AsciiStringLiteral): '"foo.sol"' # (31..40) + - (variant꞉ DoubleQuotedStringLiteral): '"foo.sol"' # (31..40) - (semicolon꞉ Semicolon): ";" # (40..41) - (TrailingTrivia) ► (EndOfLine): "\n" # (41..42) - (LeadingTrivia) ► (EndOfLine): "\n" # (42..43) diff --git a/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.6.0-failure.yml index 68ee75fdff..17226f6536 100644 --- a/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.6.0-failure.yml @@ -60,9 +60,9 @@ Tree: - (item꞉ SourceUnitMember) ► (variant꞉ ImportDirective): # '\nimport "foo.sol";\n' (23..42) - (LeadingTrivia) ► (EndOfLine): "\n" # (23..24) - (import_keyword꞉ ImportKeyword): "import" # (24..30) - - (clause꞉ ImportClause) ► (variant꞉ PathImport): # ' "foo.sol"' (30..40) + - (clause꞉ ImportClause) ► (variant꞉ PathImport) ► (path꞉ StringLiteral): # ' "foo.sol"' (30..40) - (LeadingTrivia) ► (Whitespace): " " # (30..31) - - (path꞉ AsciiStringLiteral): '"foo.sol"' # (31..40) + - (variant꞉ DoubleQuotedStringLiteral): '"foo.sol"' # (31..40) - (semicolon꞉ Semicolon): ";" # (40..41) - (TrailingTrivia) ► (EndOfLine): "\n" # (41..42) - (LeadingTrivia) ► (EndOfLine): "\n" # (42..43) diff --git a/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.7.1-failure.yml b/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.7.1-failure.yml index 1a5468bc69..b92c713ffb 100644 --- a/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.7.1-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.7.1-failure.yml @@ -60,9 +60,9 @@ Tree: - (item꞉ SourceUnitMember) ► (variant꞉ ImportDirective): # '\nimport "foo.sol";\n' (23..42) - (LeadingTrivia) ► (EndOfLine): "\n" # (23..24) - (import_keyword꞉ ImportKeyword): "import" # (24..30) - - (clause꞉ ImportClause) ► (variant꞉ PathImport): # ' "foo.sol"' (30..40) + - (clause꞉ ImportClause) ► (variant꞉ PathImport) ► (path꞉ StringLiteral): # ' "foo.sol"' (30..40) - (LeadingTrivia) ► (Whitespace): " " # (30..31) - - (path꞉ AsciiStringLiteral): '"foo.sol"' # (31..40) + - (variant꞉ DoubleQuotedStringLiteral): '"foo.sol"' # (31..40) - (semicolon꞉ Semicolon): ";" # (40..41) - (TrailingTrivia) ► (EndOfLine): "\n" # (41..42) - (LeadingTrivia) ► (EndOfLine): "\n" # (42..43) diff --git a/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.7.4-failure.yml b/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.7.4-failure.yml index fd4a357d22..d3790a30ff 100644 --- a/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.7.4-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.7.4-failure.yml @@ -60,9 +60,9 @@ Tree: - (item꞉ SourceUnitMember) ► (variant꞉ ImportDirective): # '\nimport "foo.sol";\n' (23..42) - (LeadingTrivia) ► (EndOfLine): "\n" # (23..24) - (import_keyword꞉ ImportKeyword): "import" # (24..30) - - (clause꞉ ImportClause) ► (variant꞉ PathImport): # ' "foo.sol"' (30..40) + - (clause꞉ ImportClause) ► (variant꞉ PathImport) ► (path꞉ StringLiteral): # ' "foo.sol"' (30..40) - (LeadingTrivia) ► (Whitespace): " " # (30..31) - - (path꞉ AsciiStringLiteral): '"foo.sol"' # (31..40) + - (variant꞉ DoubleQuotedStringLiteral): '"foo.sol"' # (31..40) - (semicolon꞉ Semicolon): ";" # (40..41) - (TrailingTrivia) ► (EndOfLine): "\n" # (41..42) - (LeadingTrivia) ► (EndOfLine): "\n" # (42..43) diff --git a/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.8.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.8.0-failure.yml index 9165857b99..0e8b8e81ca 100644 --- a/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.8.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.8.0-failure.yml @@ -60,9 +60,9 @@ Tree: - (item꞉ SourceUnitMember) ► (variant꞉ ImportDirective): # '\nimport "foo.sol";\n' (23..42) - (LeadingTrivia) ► (EndOfLine): "\n" # (23..24) - (import_keyword꞉ ImportKeyword): "import" # (24..30) - - (clause꞉ ImportClause) ► (variant꞉ PathImport): # ' "foo.sol"' (30..40) + - (clause꞉ ImportClause) ► (variant꞉ PathImport) ► (path꞉ StringLiteral): # ' "foo.sol"' (30..40) - (LeadingTrivia) ► (Whitespace): " " # (30..31) - - (path꞉ AsciiStringLiteral): '"foo.sol"' # (31..40) + - (variant꞉ DoubleQuotedStringLiteral): '"foo.sol"' # (31..40) - (semicolon꞉ Semicolon): ";" # (40..41) - (TrailingTrivia) ► (EndOfLine): "\n" # (41..42) - (LeadingTrivia) ► (EndOfLine): "\n" # (42..43) diff --git a/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.8.13-failure.yml b/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.8.13-failure.yml index 0a309817dc..34e94c4198 100644 --- a/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.8.13-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.8.13-failure.yml @@ -58,9 +58,9 @@ Tree: - (item꞉ SourceUnitMember) ► (variant꞉ ImportDirective): # '\nimport "foo.sol";\n' (23..42) - (LeadingTrivia) ► (EndOfLine): "\n" # (23..24) - (import_keyword꞉ ImportKeyword): "import" # (24..30) - - (clause꞉ ImportClause) ► (variant꞉ PathImport): # ' "foo.sol"' (30..40) + - (clause꞉ ImportClause) ► (variant꞉ PathImport) ► (path꞉ StringLiteral): # ' "foo.sol"' (30..40) - (LeadingTrivia) ► (Whitespace): " " # (30..31) - - (path꞉ AsciiStringLiteral): '"foo.sol"' # (31..40) + - (variant꞉ DoubleQuotedStringLiteral): '"foo.sol"' # (31..40) - (semicolon꞉ Semicolon): ";" # (40..41) - (TrailingTrivia) ► (EndOfLine): "\n" # (41..42) - (item꞉ SourceUnitMember) ► (variant꞉ UsingDirective): # "\nusing A for B;\n" (42..58) diff --git a/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.8.22-success.yml b/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.8.22-success.yml index 4192cb0175..759dc540db 100644 --- a/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.8.22-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.8.22-success.yml @@ -49,9 +49,9 @@ Tree: - (item꞉ SourceUnitMember) ► (variant꞉ ImportDirective): # '\nimport "foo.sol";\n' (23..42) - (LeadingTrivia) ► (EndOfLine): "\n" # (23..24) - (import_keyword꞉ ImportKeyword): "import" # (24..30) - - (clause꞉ ImportClause) ► (variant꞉ PathImport): # ' "foo.sol"' (30..40) + - (clause꞉ ImportClause) ► (variant꞉ PathImport) ► (path꞉ StringLiteral): # ' "foo.sol"' (30..40) - (LeadingTrivia) ► (Whitespace): " " # (30..31) - - (path꞉ AsciiStringLiteral): '"foo.sol"' # (31..40) + - (variant꞉ DoubleQuotedStringLiteral): '"foo.sol"' # (31..40) - (semicolon꞉ Semicolon): ";" # (40..41) - (TrailingTrivia) ► (EndOfLine): "\n" # (41..42) - (item꞉ SourceUnitMember) ► (variant꞉ UsingDirective): # "\nusing A for B;\n" (42..58) diff --git a/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.8.4-failure.yml b/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.8.4-failure.yml index ffd2e65d71..1e4526d7a1 100644 --- a/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.8.4-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.8.4-failure.yml @@ -60,9 +60,9 @@ Tree: - (item꞉ SourceUnitMember) ► (variant꞉ ImportDirective): # '\nimport "foo.sol";\n' (23..42) - (LeadingTrivia) ► (EndOfLine): "\n" # (23..24) - (import_keyword꞉ ImportKeyword): "import" # (24..30) - - (clause꞉ ImportClause) ► (variant꞉ PathImport): # ' "foo.sol"' (30..40) + - (clause꞉ ImportClause) ► (variant꞉ PathImport) ► (path꞉ StringLiteral): # ' "foo.sol"' (30..40) - (LeadingTrivia) ► (Whitespace): " " # (30..31) - - (path꞉ AsciiStringLiteral): '"foo.sol"' # (31..40) + - (variant꞉ DoubleQuotedStringLiteral): '"foo.sol"' # (31..40) - (semicolon꞉ Semicolon): ";" # (40..41) - (TrailingTrivia) ► (EndOfLine): "\n" # (41..42) - (LeadingTrivia) ► (EndOfLine): "\n" # (42..43) diff --git a/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.8.8-failure.yml b/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.8.8-failure.yml index 843423c743..bee9d3ebcb 100644 --- a/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.8.8-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/SourceUnit/everything/generated/0.8.8-failure.yml @@ -60,9 +60,9 @@ Tree: - (item꞉ SourceUnitMember) ► (variant꞉ ImportDirective): # '\nimport "foo.sol";\n' (23..42) - (LeadingTrivia) ► (EndOfLine): "\n" # (23..24) - (import_keyword꞉ ImportKeyword): "import" # (24..30) - - (clause꞉ ImportClause) ► (variant꞉ PathImport): # ' "foo.sol"' (30..40) + - (clause꞉ ImportClause) ► (variant꞉ PathImport) ► (path꞉ StringLiteral): # ' "foo.sol"' (30..40) - (LeadingTrivia) ► (Whitespace): " " # (30..31) - - (path꞉ AsciiStringLiteral): '"foo.sol"' # (31..40) + - (variant꞉ DoubleQuotedStringLiteral): '"foo.sol"' # (31..40) - (semicolon꞉ Semicolon): ";" # (40..41) - (TrailingTrivia) ► (EndOfLine): "\n" # (41..42) - (LeadingTrivia) ► (EndOfLine): "\n" # (42..43) diff --git a/crates/solidity/testing/snapshots/cst_output/Statements/invalid_termination/generated/0.5.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Statements/invalid_termination/generated/0.5.0-failure.yml index 64ad94ee21..0489f05f38 100644 --- a/crates/solidity/testing/snapshots/cst_output/Statements/invalid_termination/generated/0.5.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Statements/invalid_termination/generated/0.5.0-failure.yml @@ -7,7 +7,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or HexStringLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or ReturnKeyword or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword or WhileKeyword. + Error: Expected AddressKeyword or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or ReturnKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or UfixedKeyword or UintKeyword or WhileKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Statements/invalid_termination/input.sol:1:1] │ 1 │ ╭─▶ diff --git a/crates/solidity/testing/snapshots/cst_output/Statements/invalid_termination/generated/0.5.3-failure.yml b/crates/solidity/testing/snapshots/cst_output/Statements/invalid_termination/generated/0.5.3-failure.yml index bc82960315..f3f2e5aefb 100644 --- a/crates/solidity/testing/snapshots/cst_output/Statements/invalid_termination/generated/0.5.3-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Statements/invalid_termination/generated/0.5.3-failure.yml @@ -7,7 +7,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or HexStringLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or ReturnKeyword or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or WhileKeyword. + Error: Expected AddressKeyword or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or ReturnKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TypeKeyword or UfixedKeyword or UintKeyword or WhileKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Statements/invalid_termination/input.sol:1:1] │ 1 │ ╭─▶ diff --git a/crates/solidity/testing/snapshots/cst_output/Statements/invalid_termination/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Statements/invalid_termination/generated/0.6.0-failure.yml index 1bc19d137c..338084ea77 100644 --- a/crates/solidity/testing/snapshots/cst_output/Statements/invalid_termination/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Statements/invalid_termination/generated/0.6.0-failure.yml @@ -7,7 +7,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or HexStringLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or PayableKeyword or ReturnKeyword or StringKeyword or TrueKeyword or TryKeyword or TypeKeyword or UfixedKeyword or UintKeyword or WhileKeyword. + Error: Expected AddressKeyword or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or PayableKeyword or ReturnKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or StringKeyword or TrueKeyword or TryKeyword or TypeKeyword or UfixedKeyword or UintKeyword or WhileKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Statements/invalid_termination/input.sol:1:1] │ 1 │ ╭─▶ diff --git a/crates/solidity/testing/snapshots/cst_output/Statements/invalid_termination/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Statements/invalid_termination/generated/0.7.0-failure.yml index c880c67188..7da78efb22 100644 --- a/crates/solidity/testing/snapshots/cst_output/Statements/invalid_termination/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Statements/invalid_termination/generated/0.7.0-failure.yml @@ -7,7 +7,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or HexStringLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or PayableKeyword or ReturnKeyword or StringKeyword or TrueKeyword or TryKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UnicodeStringLiteral or WhileKeyword. + Error: Expected AddressKeyword or AssemblyKeyword or BoolKeyword or BreakKeyword or ByteKeyword or BytesKeyword or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or PayableKeyword or ReturnKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TryKeyword or TypeKeyword or UfixedKeyword or UintKeyword or WhileKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Statements/invalid_termination/input.sol:1:1] │ 1 │ ╭─▶ diff --git a/crates/solidity/testing/snapshots/cst_output/Statements/invalid_termination/generated/0.8.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/Statements/invalid_termination/generated/0.8.0-failure.yml index 9c9d44cd4d..53717e57b1 100644 --- a/crates/solidity/testing/snapshots/cst_output/Statements/invalid_termination/generated/0.8.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Statements/invalid_termination/generated/0.8.0-failure.yml @@ -7,7 +7,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or AssemblyKeyword or BoolKeyword or BreakKeyword or BytesKeyword or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or HexStringLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or PayableKeyword or ReturnKeyword or StringKeyword or TrueKeyword or TryKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UncheckedKeyword or UnicodeStringLiteral or WhileKeyword. + Error: Expected AddressKeyword or AssemblyKeyword or BoolKeyword or BreakKeyword or BytesKeyword or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or PayableKeyword or ReturnKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TryKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UncheckedKeyword or WhileKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Statements/invalid_termination/input.sol:1:1] │ 1 │ ╭─▶ diff --git a/crates/solidity/testing/snapshots/cst_output/Statements/invalid_termination/generated/0.8.4-failure.yml b/crates/solidity/testing/snapshots/cst_output/Statements/invalid_termination/generated/0.8.4-failure.yml index e0c2641d3d..f1b5c5120d 100644 --- a/crates/solidity/testing/snapshots/cst_output/Statements/invalid_termination/generated/0.8.4-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/Statements/invalid_termination/generated/0.8.4-failure.yml @@ -7,7 +7,7 @@ Source: > Errors: # 1 total - > - Error: Expected AddressKeyword or AsciiStringLiteral or AssemblyKeyword or BoolKeyword or BreakKeyword or BytesKeyword or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or HexStringLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or PayableKeyword or ReturnKeyword or RevertKeyword or StringKeyword or TrueKeyword or TryKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UncheckedKeyword or UnicodeStringLiteral or WhileKeyword. + Error: Expected AddressKeyword or AssemblyKeyword or BoolKeyword or BreakKeyword or BytesKeyword or ContinueKeyword or DecimalLiteral or DeleteKeyword or DoKeyword or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or DoubleQuotedUnicodeStringLiteral or EmitKeyword or FalseKeyword or FixedKeyword or ForKeyword or FunctionKeyword or HexLiteral or Identifier or IfKeyword or IntKeyword or MappingKeyword or NewKeyword or OpenBrace or OpenBracket or OpenParen or PayableKeyword or ReturnKeyword or RevertKeyword or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or SingleQuotedUnicodeStringLiteral or StringKeyword or TrueKeyword or TryKeyword or TypeKeyword or UfixedKeyword or UintKeyword or UncheckedKeyword or WhileKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/Statements/invalid_termination/input.sol:1:1] │ 1 │ ╭─▶ diff --git a/crates/solidity/testing/snapshots/cst_output/AsciiStringLiterals/multiple/generated/0.4.11-failure.yml b/crates/solidity/testing/snapshots/cst_output/StringLiterals/both_quotes/generated/0.4.11-failure.yml similarity index 82% rename from crates/solidity/testing/snapshots/cst_output/AsciiStringLiterals/multiple/generated/0.4.11-failure.yml rename to crates/solidity/testing/snapshots/cst_output/StringLiterals/both_quotes/generated/0.4.11-failure.yml index 047093b4c6..b92ac572f4 100644 --- a/crates/solidity/testing/snapshots/cst_output/AsciiStringLiterals/multiple/generated/0.4.11-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/StringLiterals/both_quotes/generated/0.4.11-failure.yml @@ -6,7 +6,7 @@ Source: > Errors: # 1 total - > Error: Expected end of file. - ╭─[crates/solidity/testing/snapshots/cst_output/AsciiStringLiterals/multiple/input.sol:1:1] + ╭─[crates/solidity/testing/snapshots/cst_output/StringLiterals/both_quotes/input.sol:1:1] │ 1 │ "foo" 'bar' │ ─────┬───── diff --git a/crates/solidity/testing/snapshots/cst_output/StringLiterals/both_quotes/generated/0.5.14-success.yml b/crates/solidity/testing/snapshots/cst_output/StringLiterals/both_quotes/generated/0.5.14-success.yml new file mode 100644 index 0000000000..08e7ac0d48 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/StringLiterals/both_quotes/generated/0.5.14-success.yml @@ -0,0 +1,13 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ "foo" 'bar' │ 0..11 + +Errors: [] + +Tree: + - (StringLiterals): # '"foo" ''bar''' (0..11) + - (item꞉ StringLiteral) ► (variant꞉ DoubleQuotedStringLiteral): '"foo"' # (0..5) + - (item꞉ StringLiteral): # " 'bar'" (5..11) + - (LeadingTrivia) ► (Whitespace): " " # (5..6) + - (variant꞉ SingleQuotedStringLiteral): "'bar'" # (6..11) diff --git a/crates/solidity/testing/snapshots/cst_output/AsciiStringLiterals/multiple/input.sol b/crates/solidity/testing/snapshots/cst_output/StringLiterals/both_quotes/input.sol similarity index 100% rename from crates/solidity/testing/snapshots/cst_output/AsciiStringLiterals/multiple/input.sol rename to crates/solidity/testing/snapshots/cst_output/StringLiterals/both_quotes/input.sol diff --git a/crates/solidity/testing/snapshots/cst_output/AsciiStringLiterals/single/generated/0.4.11-failure.yml b/crates/solidity/testing/snapshots/cst_output/StringLiterals/double_quote/generated/0.4.11-failure.yml similarity index 80% rename from crates/solidity/testing/snapshots/cst_output/AsciiStringLiterals/single/generated/0.4.11-failure.yml rename to crates/solidity/testing/snapshots/cst_output/StringLiterals/double_quote/generated/0.4.11-failure.yml index a8d1bcd923..35b86c3f1c 100644 --- a/crates/solidity/testing/snapshots/cst_output/AsciiStringLiterals/single/generated/0.4.11-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/StringLiterals/double_quote/generated/0.4.11-failure.yml @@ -6,7 +6,7 @@ Source: > Errors: # 1 total - > Error: Expected end of file. - ╭─[crates/solidity/testing/snapshots/cst_output/AsciiStringLiterals/single/input.sol:1:1] + ╭─[crates/solidity/testing/snapshots/cst_output/StringLiterals/double_quote/input.sol:1:1] │ 1 │ "foo" │ ──┬── diff --git a/crates/solidity/testing/snapshots/cst_output/AsciiStringLiterals/single/generated/0.5.14-success.yml b/crates/solidity/testing/snapshots/cst_output/StringLiterals/double_quote/generated/0.5.14-success.yml similarity index 62% rename from crates/solidity/testing/snapshots/cst_output/AsciiStringLiterals/single/generated/0.5.14-success.yml rename to crates/solidity/testing/snapshots/cst_output/StringLiterals/double_quote/generated/0.5.14-success.yml index 95b732a940..ba81a61b77 100644 --- a/crates/solidity/testing/snapshots/cst_output/AsciiStringLiterals/single/generated/0.5.14-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/StringLiterals/double_quote/generated/0.5.14-success.yml @@ -6,5 +6,5 @@ Source: > Errors: [] Tree: - - (AsciiStringLiterals): # '"foo"' (0..5) - - (item꞉ AsciiStringLiteral): '"foo"' # (0..5) + - (StringLiterals): # '"foo"' (0..5) + - (item꞉ StringLiteral) ► (variant꞉ DoubleQuotedStringLiteral): '"foo"' # (0..5) diff --git a/crates/solidity/testing/snapshots/cst_output/AsciiStringLiterals/single/input.sol b/crates/solidity/testing/snapshots/cst_output/StringLiterals/double_quote/input.sol similarity index 100% rename from crates/solidity/testing/snapshots/cst_output/AsciiStringLiterals/single/input.sol rename to crates/solidity/testing/snapshots/cst_output/StringLiterals/double_quote/input.sol diff --git a/crates/solidity/testing/snapshots/cst_output/StringLiterals/double_quote_unicode/generated/0.4.11-failure.yml b/crates/solidity/testing/snapshots/cst_output/StringLiterals/double_quote_unicode/generated/0.4.11-failure.yml new file mode 100644 index 0000000000..a0ef818eaf --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/StringLiterals/double_quote_unicode/generated/0.4.11-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ "Fireworks 🎆" │ 0..16 + +Errors: # 1 total + - > + Error: Expected end of file. + ╭─[crates/solidity/testing/snapshots/cst_output/StringLiterals/double_quote_unicode/input.sol:1:1] + │ + 1 │ "Fireworks 🎆" + │ ───────┬─────── + │ ╰───────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): '"Fireworks 🎆"\n' # (0..17) diff --git a/crates/solidity/testing/snapshots/cst_output/StringLiterals/double_quote_unicode/generated/0.5.14-success.yml b/crates/solidity/testing/snapshots/cst_output/StringLiterals/double_quote_unicode/generated/0.5.14-success.yml new file mode 100644 index 0000000000..cf34c13718 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/StringLiterals/double_quote_unicode/generated/0.5.14-success.yml @@ -0,0 +1,12 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ "Fireworks 🎆" │ 0..16 + +Errors: [] + +Tree: + - (StringLiterals): # '"Fireworks 🎆"\n' (0..17) + - (item꞉ StringLiteral): # '"Fireworks 🎆"\n' (0..17) + - (variant꞉ DoubleQuotedStringLiteral): '"Fireworks 🎆"' # (0..16) + - (TrailingTrivia) ► (EndOfLine): "\n" # (16..17) diff --git a/crates/solidity/testing/snapshots/cst_output/StringLiterals/double_quote_unicode/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/StringLiterals/double_quote_unicode/generated/0.7.0-failure.yml new file mode 100644 index 0000000000..31a2690729 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/StringLiterals/double_quote_unicode/generated/0.7.0-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ "Fireworks 🎆" │ 0..16 + +Errors: # 1 total + - > + Error: Expected DoubleQuotedStringLiteral or SingleQuotedStringLiteral. + ╭─[crates/solidity/testing/snapshots/cst_output/StringLiterals/double_quote_unicode/input.sol:1:1] + │ + 1 │ "Fireworks 🎆" + │ ───────┬─────── + │ ╰───────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): '"Fireworks 🎆"\n' # (0..17) diff --git a/crates/solidity/testing/snapshots/cst_output/StringLiterals/double_quote_unicode/input.sol b/crates/solidity/testing/snapshots/cst_output/StringLiterals/double_quote_unicode/input.sol new file mode 100644 index 0000000000..e37e02e66d --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/StringLiterals/double_quote_unicode/input.sol @@ -0,0 +1 @@ +"Fireworks 🎆" diff --git a/crates/solidity/testing/snapshots/cst_output/StringLiterals/single_quote/generated/0.4.11-failure.yml b/crates/solidity/testing/snapshots/cst_output/StringLiterals/single_quote/generated/0.4.11-failure.yml new file mode 100644 index 0000000000..068d5cf6ae --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/StringLiterals/single_quote/generated/0.4.11-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ 'foo' │ 0..5 + +Errors: # 1 total + - > + Error: Expected end of file. + ╭─[crates/solidity/testing/snapshots/cst_output/StringLiterals/single_quote/input.sol:1:1] + │ + 1 │ 'foo' + │ ───┬── + │ ╰──── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "'foo'\n" # (0..6) diff --git a/crates/solidity/testing/snapshots/cst_output/StringLiterals/single_quote/generated/0.5.14-success.yml b/crates/solidity/testing/snapshots/cst_output/StringLiterals/single_quote/generated/0.5.14-success.yml new file mode 100644 index 0000000000..80608640c6 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/StringLiterals/single_quote/generated/0.5.14-success.yml @@ -0,0 +1,12 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ 'foo' │ 0..5 + +Errors: [] + +Tree: + - (StringLiterals): # "'foo'\n" (0..6) + - (item꞉ StringLiteral): # "'foo'\n" (0..6) + - (variant꞉ SingleQuotedStringLiteral): "'foo'" # (0..5) + - (TrailingTrivia) ► (EndOfLine): "\n" # (5..6) diff --git a/crates/solidity/testing/snapshots/cst_output/StringLiterals/single_quote/input.sol b/crates/solidity/testing/snapshots/cst_output/StringLiterals/single_quote/input.sol new file mode 100644 index 0000000000..c2c4af01dc --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/StringLiterals/single_quote/input.sol @@ -0,0 +1 @@ +'foo' diff --git a/crates/solidity/testing/snapshots/cst_output/StringLiterals/single_quote_unicode/generated/0.4.11-failure.yml b/crates/solidity/testing/snapshots/cst_output/StringLiterals/single_quote_unicode/generated/0.4.11-failure.yml new file mode 100644 index 0000000000..ba29d1b994 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/StringLiterals/single_quote_unicode/generated/0.4.11-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ 'Fireworks 🎆' │ 0..16 + +Errors: # 1 total + - > + Error: Expected end of file. + ╭─[crates/solidity/testing/snapshots/cst_output/StringLiterals/single_quote_unicode/input.sol:1:1] + │ + 1 │ 'Fireworks 🎆' + │ ───────┬─────── + │ ╰───────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "'Fireworks 🎆'\n" # (0..17) diff --git a/crates/solidity/testing/snapshots/cst_output/StringLiterals/single_quote_unicode/generated/0.5.14-success.yml b/crates/solidity/testing/snapshots/cst_output/StringLiterals/single_quote_unicode/generated/0.5.14-success.yml new file mode 100644 index 0000000000..4be9ccb623 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/StringLiterals/single_quote_unicode/generated/0.5.14-success.yml @@ -0,0 +1,12 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ 'Fireworks 🎆' │ 0..16 + +Errors: [] + +Tree: + - (StringLiterals): # "'Fireworks 🎆'\n" (0..17) + - (item꞉ StringLiteral): # "'Fireworks 🎆'\n" (0..17) + - (variant꞉ SingleQuotedStringLiteral): "'Fireworks 🎆'" # (0..16) + - (TrailingTrivia) ► (EndOfLine): "\n" # (16..17) diff --git a/crates/solidity/testing/snapshots/cst_output/StringLiterals/single_quote_unicode/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/StringLiterals/single_quote_unicode/generated/0.7.0-failure.yml new file mode 100644 index 0000000000..f53d3a1400 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/StringLiterals/single_quote_unicode/generated/0.7.0-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ 'Fireworks 🎆' │ 0..16 + +Errors: # 1 total + - > + Error: Expected DoubleQuotedStringLiteral or SingleQuotedStringLiteral. + ╭─[crates/solidity/testing/snapshots/cst_output/StringLiterals/single_quote_unicode/input.sol:1:1] + │ + 1 │ 'Fireworks 🎆' + │ ───────┬─────── + │ ╰───────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "'Fireworks 🎆'\n" # (0..17) diff --git a/crates/solidity/testing/snapshots/cst_output/StringLiterals/single_quote_unicode/input.sol b/crates/solidity/testing/snapshots/cst_output/StringLiterals/single_quote_unicode/input.sol new file mode 100644 index 0000000000..d9ff2e9e1e --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/StringLiterals/single_quote_unicode/input.sol @@ -0,0 +1 @@ +'Fireworks 🎆' diff --git a/crates/solidity/testing/snapshots/cst_output/AsciiStringLiterals/single_trailing_ident/generated/0.4.11-failure.yml b/crates/solidity/testing/snapshots/cst_output/StringLiterals/single_trailing_ident/generated/0.4.11-failure.yml similarity index 79% rename from crates/solidity/testing/snapshots/cst_output/AsciiStringLiterals/single_trailing_ident/generated/0.4.11-failure.yml rename to crates/solidity/testing/snapshots/cst_output/StringLiterals/single_trailing_ident/generated/0.4.11-failure.yml index bcf4597e14..b87abc7ae6 100644 --- a/crates/solidity/testing/snapshots/cst_output/AsciiStringLiterals/single_trailing_ident/generated/0.4.11-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/StringLiterals/single_trailing_ident/generated/0.4.11-failure.yml @@ -6,7 +6,7 @@ Source: > Errors: # 1 total - > Error: Expected end of file. - ╭─[crates/solidity/testing/snapshots/cst_output/AsciiStringLiterals/single_trailing_ident/input.sol:1:1] + ╭─[crates/solidity/testing/snapshots/cst_output/StringLiterals/single_trailing_ident/input.sol:1:1] │ 1 │ "foo"bar │ ────┬──── diff --git a/crates/solidity/testing/snapshots/cst_output/AsciiStringLiterals/single_trailing_ident/generated/0.5.14-failure.yml b/crates/solidity/testing/snapshots/cst_output/StringLiterals/single_trailing_ident/generated/0.5.14-failure.yml similarity index 55% rename from crates/solidity/testing/snapshots/cst_output/AsciiStringLiterals/single_trailing_ident/generated/0.5.14-failure.yml rename to crates/solidity/testing/snapshots/cst_output/StringLiterals/single_trailing_ident/generated/0.5.14-failure.yml index 0299b7d9f6..5f90ff26ce 100644 --- a/crates/solidity/testing/snapshots/cst_output/AsciiStringLiterals/single_trailing_ident/generated/0.5.14-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/StringLiterals/single_trailing_ident/generated/0.5.14-failure.yml @@ -5,8 +5,8 @@ Source: > Errors: # 1 total - > - Error: Expected AsciiStringLiteral. - ╭─[crates/solidity/testing/snapshots/cst_output/AsciiStringLiterals/single_trailing_ident/input.sol:1:6] + Error: Expected DoubleQuotedStringLiteral or SingleQuotedStringLiteral. + ╭─[crates/solidity/testing/snapshots/cst_output/StringLiterals/single_trailing_ident/input.sol:1:6] │ 1 │ "foo"bar │ ──┬─ @@ -14,6 +14,6 @@ Errors: # 1 total ───╯ Tree: - - (AsciiStringLiterals): # '"foo"bar\n' (0..9) - - (item꞉ AsciiStringLiteral): '"foo"' # (0..5) + - (StringLiterals): # '"foo"bar\n' (0..9) + - (item꞉ StringLiteral) ► (variant꞉ DoubleQuotedStringLiteral): '"foo"' # (0..5) - (SKIPPED): "bar\n" # (5..9) diff --git a/crates/solidity/testing/snapshots/cst_output/AsciiStringLiterals/single_trailing_ident/input.sol b/crates/solidity/testing/snapshots/cst_output/StringLiterals/single_trailing_ident/input.sol similarity index 100% rename from crates/solidity/testing/snapshots/cst_output/AsciiStringLiterals/single_trailing_ident/input.sol rename to crates/solidity/testing/snapshots/cst_output/StringLiterals/single_trailing_ident/input.sol diff --git a/crates/solidity/testing/snapshots/cst_output/UnicodeStringLiterals/multiple/generated/0.7.0-success.yml b/crates/solidity/testing/snapshots/cst_output/UnicodeStringLiterals/multiple/generated/0.7.0-success.yml index 1d6bbe838f..ef791def94 100644 --- a/crates/solidity/testing/snapshots/cst_output/UnicodeStringLiterals/multiple/generated/0.7.0-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/UnicodeStringLiterals/multiple/generated/0.7.0-success.yml @@ -7,6 +7,7 @@ Errors: [] Tree: - (UnicodeStringLiterals): # 'unicode"happy 😃" unicode''sad 😔''' (0..37) - - (item꞉ UnicodeStringLiteral): 'unicode"happy 😃"' # (0..19) - - (LeadingTrivia) ► (Whitespace): " " # (19..20) - - (item꞉ UnicodeStringLiteral): "unicode'sad 😔'" # (20..37) + - (item꞉ UnicodeStringLiteral) ► (variant꞉ DoubleQuotedUnicodeStringLiteral): 'unicode"happy 😃"' # (0..19) + - (item꞉ UnicodeStringLiteral): # " unicode'sad 😔'" (19..37) + - (LeadingTrivia) ► (Whitespace): " " # (19..20) + - (variant꞉ SingleQuotedUnicodeStringLiteral): "unicode'sad 😔'" # (20..37) diff --git a/crates/solidity/testing/snapshots/cst_output/UnicodeStringLiterals/single/generated/0.7.0-success.yml b/crates/solidity/testing/snapshots/cst_output/UnicodeStringLiterals/single/generated/0.7.0-success.yml index ee8e442237..b42dbac48a 100644 --- a/crates/solidity/testing/snapshots/cst_output/UnicodeStringLiterals/single/generated/0.7.0-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/UnicodeStringLiterals/single/generated/0.7.0-success.yml @@ -7,4 +7,4 @@ Errors: [] Tree: - (UnicodeStringLiterals): # 'unicode"emoji 😃"' (0..19) - - (item꞉ UnicodeStringLiteral): 'unicode"emoji 😃"' # (0..19) + - (item꞉ UnicodeStringLiteral) ► (variant꞉ DoubleQuotedUnicodeStringLiteral): 'unicode"emoji 😃"' # (0..19) diff --git a/crates/solidity/testing/snapshots/cst_output/UnicodeStringLiterals/single_trailing_ident/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/UnicodeStringLiterals/single_trailing_ident/generated/0.7.0-failure.yml index c02fa4e499..db425b4fa9 100644 --- a/crates/solidity/testing/snapshots/cst_output/UnicodeStringLiterals/single_trailing_ident/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/UnicodeStringLiterals/single_trailing_ident/generated/0.7.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected UnicodeStringLiteral. + Error: Expected DoubleQuotedUnicodeStringLiteral or SingleQuotedUnicodeStringLiteral. ╭─[crates/solidity/testing/snapshots/cst_output/UnicodeStringLiterals/single_trailing_ident/input.sol:1:17] │ 1 │ unicode"emoji 😃"happy @@ -15,5 +15,5 @@ Errors: # 1 total Tree: - (UnicodeStringLiterals): # 'unicode"emoji 😃"happy\n' (0..25) - - (item꞉ UnicodeStringLiteral): 'unicode"emoji 😃"' # (0..19) + - (item꞉ UnicodeStringLiteral) ► (variant꞉ DoubleQuotedUnicodeStringLiteral): 'unicode"emoji 😃"' # (0..19) - (SKIPPED): "happy\n" # (19..25) diff --git a/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.4.11-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.4.11-failure.yml index a31359c1d2..f948a02a0e 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.4.11-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.4.11-failure.yml @@ -10,7 +10,7 @@ Source: > Errors: # 1 total - > - Error: Expected AsciiStringLiteral or CloseBrace or HexStringLiteral or OpenBrace or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBlockHashKeyword or YulBreakKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulContinueKeyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDifficultyKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulForKeyword or YulFunctionKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulIfKeyword or YulInvalidKeyword or YulIsZeroKeyword or YulLetKeyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulSha3Keyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStopKeyword or YulSubKeyword or YulSuicideKeyword or YulSwitchKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. + Error: Expected CloseBrace or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or OpenBrace or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBlockHashKeyword or YulBreakKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulContinueKeyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDifficultyKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulForKeyword or YulFunctionKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulIfKeyword or YulInvalidKeyword or YulIsZeroKeyword or YulLetKeyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulSha3Keyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStopKeyword or YulSubKeyword or YulSuicideKeyword or YulSwitchKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/input.sol:4:10] │ 4 │ ╭─▶ result := [mul(a, b) diff --git a/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.4.12-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.4.12-failure.yml index 7da3151b0e..eb38c041e8 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.4.12-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.4.12-failure.yml @@ -10,7 +10,7 @@ Source: > Errors: # 1 total - > - Error: Expected AsciiStringLiteral or CloseBrace or HexStringLiteral or OpenBrace or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBlockHashKeyword or YulBreakKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulContinueKeyword or YulCreate2Keyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDifficultyKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulForKeyword or YulFunctionKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulIfKeyword or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLetKeyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulSha3Keyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulSuicideKeyword or YulSwitchKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. + Error: Expected CloseBrace or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or OpenBrace or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBlockHashKeyword or YulBreakKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulContinueKeyword or YulCreate2Keyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDifficultyKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulForKeyword or YulFunctionKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulIfKeyword or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLetKeyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulSha3Keyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulSuicideKeyword or YulSwitchKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/input.sol:4:10] │ 4 │ ╭─▶ result := [mul(a, b) diff --git a/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.5.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.5.0-failure.yml index cc719c0063..a5cf15f25f 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.5.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.5.0-failure.yml @@ -10,7 +10,7 @@ Source: > Errors: # 1 total - > - Error: Expected AsciiStringLiteral or CloseBrace or HexStringLiteral or OpenBrace or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBlockHashKeyword or YulBreakKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulContinueKeyword or YulCreate2Keyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDifficultyKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeHashKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulForKeyword or YulFunctionKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulIfKeyword or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLetKeyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulSwitchKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. + Error: Expected CloseBrace or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or OpenBrace or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBlockHashKeyword or YulBreakKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulContinueKeyword or YulCreate2Keyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDifficultyKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeHashKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulForKeyword or YulFunctionKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulIfKeyword or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLetKeyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulSwitchKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/input.sol:4:10] │ 4 │ ╭─▶ result := [mul(a, b) diff --git a/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.6.0-failure.yml index d9007fddd0..1f6aca0ab2 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.6.0-failure.yml @@ -10,7 +10,7 @@ Source: > Errors: # 1 total - > - Error: Expected AsciiStringLiteral or CloseBrace or HexStringLiteral or OpenBrace or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBlockHashKeyword or YulBreakKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulContinueKeyword or YulCreate2Keyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDifficultyKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeHashKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulForKeyword or YulFunctionKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulIfKeyword or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLeaveKeyword or YulLetKeyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulSwitchKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. + Error: Expected CloseBrace or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or OpenBrace or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBlockHashKeyword or YulBreakKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulContinueKeyword or YulCreate2Keyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDifficultyKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeHashKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulForKeyword or YulFunctionKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulIfKeyword or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLeaveKeyword or YulLetKeyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulSwitchKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/input.sol:4:10] │ 4 │ ╭─▶ result := [mul(a, b) diff --git a/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.8.18-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.8.18-failure.yml index 14764e8081..712b0e8177 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.8.18-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.8.18-failure.yml @@ -10,7 +10,7 @@ Source: > Errors: # 1 total - > - Error: Expected AsciiStringLiteral or CloseBrace or HexStringLiteral or OpenBrace or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBaseFeeKeyword or YulBlockHashKeyword or YulBreakKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulContinueKeyword or YulCreate2Keyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeHashKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulForKeyword or YulFunctionKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulIfKeyword or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLeaveKeyword or YulLetKeyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulPrevRandaoKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulSwitchKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. + Error: Expected CloseBrace or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or OpenBrace or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBaseFeeKeyword or YulBlockHashKeyword or YulBreakKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulContinueKeyword or YulCreate2Keyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeHashKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulForKeyword or YulFunctionKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulIfKeyword or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLeaveKeyword or YulLetKeyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulPrevRandaoKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulSwitchKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/input.sol:4:10] │ 4 │ ╭─▶ result := [mul(a, b) diff --git a/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.8.7-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.8.7-failure.yml index c90e2bd5c8..91f64a1add 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.8.7-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.8.7-failure.yml @@ -10,7 +10,7 @@ Source: > Errors: # 1 total - > - Error: Expected AsciiStringLiteral or CloseBrace or HexStringLiteral or OpenBrace or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBaseFeeKeyword or YulBlockHashKeyword or YulBreakKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulContinueKeyword or YulCreate2Keyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDifficultyKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeHashKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulForKeyword or YulFunctionKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulIfKeyword or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLeaveKeyword or YulLetKeyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulSwitchKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. + Error: Expected CloseBrace or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or OpenBrace or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBaseFeeKeyword or YulBlockHashKeyword or YulBreakKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulContinueKeyword or YulCreate2Keyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDifficultyKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeHashKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulForKeyword or YulFunctionKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulIfKeyword or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLeaveKeyword or YulLetKeyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulSwitchKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/input.sol:4:10] │ 4 │ ╭─▶ result := [mul(a, b) diff --git a/crates/solidity/testing/snapshots/cst_output/YulExpression/decimal_trailing_ident_start/generated/0.4.11-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulExpression/decimal_trailing_ident_start/generated/0.4.11-failure.yml index 3a78f3b527..8f3f312840 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulExpression/decimal_trailing_ident_start/generated/0.4.11-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulExpression/decimal_trailing_ident_start/generated/0.4.11-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AsciiStringLiteral or HexStringLiteral or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBlockHashKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDifficultyKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulInvalidKeyword or YulIsZeroKeyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulSha3Keyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStopKeyword or YulSubKeyword or YulSuicideKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. + Error: Expected DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBlockHashKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDifficultyKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulInvalidKeyword or YulIsZeroKeyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulSha3Keyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStopKeyword or YulSubKeyword or YulSuicideKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/YulExpression/decimal_trailing_ident_start/input.sol:1:1] │ 1 │ 1a diff --git a/crates/solidity/testing/snapshots/cst_output/YulExpression/decimal_trailing_ident_start/generated/0.4.12-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulExpression/decimal_trailing_ident_start/generated/0.4.12-failure.yml index 49847a57ba..c753e87395 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulExpression/decimal_trailing_ident_start/generated/0.4.12-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulExpression/decimal_trailing_ident_start/generated/0.4.12-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AsciiStringLiteral or HexStringLiteral or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBlockHashKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulCreate2Keyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDifficultyKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulSha3Keyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulSuicideKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. + Error: Expected DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBlockHashKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulCreate2Keyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDifficultyKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulSha3Keyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulSuicideKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/YulExpression/decimal_trailing_ident_start/input.sol:1:1] │ 1 │ 1a diff --git a/crates/solidity/testing/snapshots/cst_output/YulExpression/decimal_trailing_ident_start/generated/0.5.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulExpression/decimal_trailing_ident_start/generated/0.5.0-failure.yml index 2c6eb4e347..a3abc26d44 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulExpression/decimal_trailing_ident_start/generated/0.5.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulExpression/decimal_trailing_ident_start/generated/0.5.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AsciiStringLiteral or HexStringLiteral or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBlockHashKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulCreate2Keyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDifficultyKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeHashKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. + Error: Expected DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBlockHashKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulCreate2Keyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDifficultyKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeHashKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/YulExpression/decimal_trailing_ident_start/input.sol:1:1] │ 1 │ 1a diff --git a/crates/solidity/testing/snapshots/cst_output/YulExpression/decimal_trailing_ident_start/generated/0.8.18-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulExpression/decimal_trailing_ident_start/generated/0.8.18-failure.yml index 466792b6ca..88e4bab4ed 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulExpression/decimal_trailing_ident_start/generated/0.8.18-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulExpression/decimal_trailing_ident_start/generated/0.8.18-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AsciiStringLiteral or HexStringLiteral or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBaseFeeKeyword or YulBlockHashKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulCreate2Keyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeHashKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulPrevRandaoKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. + Error: Expected DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBaseFeeKeyword or YulBlockHashKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulCreate2Keyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeHashKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulPrevRandaoKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/YulExpression/decimal_trailing_ident_start/input.sol:1:1] │ 1 │ 1a diff --git a/crates/solidity/testing/snapshots/cst_output/YulExpression/decimal_trailing_ident_start/generated/0.8.7-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulExpression/decimal_trailing_ident_start/generated/0.8.7-failure.yml index ce48f00291..be299b7208 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulExpression/decimal_trailing_ident_start/generated/0.8.7-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulExpression/decimal_trailing_ident_start/generated/0.8.7-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AsciiStringLiteral or HexStringLiteral or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBaseFeeKeyword or YulBlockHashKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulCreate2Keyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDifficultyKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeHashKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. + Error: Expected DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBaseFeeKeyword or YulBlockHashKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulCreate2Keyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDifficultyKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeHashKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/YulExpression/decimal_trailing_ident_start/input.sol:1:1] │ 1 │ 1a diff --git a/crates/solidity/testing/snapshots/cst_output/YulExpression/hex_trailing_ident_start/generated/0.4.11-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulExpression/hex_trailing_ident_start/generated/0.4.11-failure.yml index fe085c4756..ff6de34415 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulExpression/hex_trailing_ident_start/generated/0.4.11-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulExpression/hex_trailing_ident_start/generated/0.4.11-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AsciiStringLiteral or HexStringLiteral or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBlockHashKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDifficultyKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulInvalidKeyword or YulIsZeroKeyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulSha3Keyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStopKeyword or YulSubKeyword or YulSuicideKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. + Error: Expected DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBlockHashKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDifficultyKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulInvalidKeyword or YulIsZeroKeyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulSha3Keyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStopKeyword or YulSubKeyword or YulSuicideKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/YulExpression/hex_trailing_ident_start/input.sol:1:1] │ 1 │ 0x1$ diff --git a/crates/solidity/testing/snapshots/cst_output/YulExpression/hex_trailing_ident_start/generated/0.4.12-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulExpression/hex_trailing_ident_start/generated/0.4.12-failure.yml index 8222cf221f..499f3647cd 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulExpression/hex_trailing_ident_start/generated/0.4.12-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulExpression/hex_trailing_ident_start/generated/0.4.12-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AsciiStringLiteral or HexStringLiteral or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBlockHashKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulCreate2Keyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDifficultyKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulSha3Keyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulSuicideKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. + Error: Expected DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBlockHashKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulCreate2Keyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDifficultyKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulSha3Keyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulSuicideKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/YulExpression/hex_trailing_ident_start/input.sol:1:1] │ 1 │ 0x1$ diff --git a/crates/solidity/testing/snapshots/cst_output/YulExpression/hex_trailing_ident_start/generated/0.5.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulExpression/hex_trailing_ident_start/generated/0.5.0-failure.yml index 0323a4c35c..db4562cd81 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulExpression/hex_trailing_ident_start/generated/0.5.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulExpression/hex_trailing_ident_start/generated/0.5.0-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AsciiStringLiteral or HexStringLiteral or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBlockHashKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulCreate2Keyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDifficultyKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeHashKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. + Error: Expected DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBlockHashKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulCreate2Keyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDifficultyKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeHashKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/YulExpression/hex_trailing_ident_start/input.sol:1:1] │ 1 │ 0x1$ diff --git a/crates/solidity/testing/snapshots/cst_output/YulExpression/hex_trailing_ident_start/generated/0.8.18-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulExpression/hex_trailing_ident_start/generated/0.8.18-failure.yml index 360b2b070b..b85f20225a 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulExpression/hex_trailing_ident_start/generated/0.8.18-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulExpression/hex_trailing_ident_start/generated/0.8.18-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AsciiStringLiteral or HexStringLiteral or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBaseFeeKeyword or YulBlockHashKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulCreate2Keyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeHashKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulPrevRandaoKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. + Error: Expected DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBaseFeeKeyword or YulBlockHashKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulCreate2Keyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeHashKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulPrevRandaoKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/YulExpression/hex_trailing_ident_start/input.sol:1:1] │ 1 │ 0x1$ diff --git a/crates/solidity/testing/snapshots/cst_output/YulExpression/hex_trailing_ident_start/generated/0.8.7-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulExpression/hex_trailing_ident_start/generated/0.8.7-failure.yml index 36602b30cf..73125d2270 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulExpression/hex_trailing_ident_start/generated/0.8.7-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulExpression/hex_trailing_ident_start/generated/0.8.7-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AsciiStringLiteral or HexStringLiteral or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBaseFeeKeyword or YulBlockHashKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulCreate2Keyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDifficultyKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeHashKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. + Error: Expected DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBaseFeeKeyword or YulBlockHashKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulCreate2Keyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDifficultyKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeHashKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/YulExpression/hex_trailing_ident_start/input.sol:1:1] │ 1 │ 0x1$ diff --git a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_difficulty/generated/0.8.18-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_difficulty/generated/0.8.18-failure.yml index 94b0a0480f..7fd1a49d08 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_difficulty/generated/0.8.18-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_difficulty/generated/0.8.18-failure.yml @@ -5,7 +5,7 @@ Source: > Errors: # 1 total - > - Error: Expected AsciiStringLiteral or HexStringLiteral or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBaseFeeKeyword or YulBlockHashKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulCreate2Keyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeHashKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulPrevRandaoKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. + Error: Expected DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBaseFeeKeyword or YulBlockHashKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulCreate2Keyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeHashKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulPrevRandaoKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. ╭─[crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_difficulty/input.sol:1:1] │ 1 │ difficulty()