-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@nomicfoundation/slang": patch | ||
--- | ||
|
||
support string literals in version pragmas |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# This file is generated automatically by infrastructure scripts. Please don't edit by hand. | ||
|
||
Source: > | ||
1 │ solidity "1.2.3" │ 0..16 | ||
Errors: [] | ||
|
||
Tree: | ||
- (VersionPragma): # 'solidity "1.2.3"\n' (0..17) | ||
- (solidity_keyword꞉ SolidityKeyword): "solidity" # (0..8) | ||
- (expressions꞉ VersionPragmaExpressions): # ' "1.2.3"\n' (8..17) | ||
- (item꞉ VersionPragmaExpression): # ' "1.2.3"\n' (8..17) | ||
- (LeadingTrivia) ► (Whitespace): " " # (8..9) | ||
- (variant꞉ AsciiStringLiteral): '"1.2.3"' # (9..16) | ||
- (TrailingTrivia) ► (EndOfLine): "\n" # (16..17) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
solidity "1.2.3" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# This file is generated automatically by infrastructure scripts. Please don't edit by hand. | ||
|
||
Source: > | ||
1 │ solidity ^"1.2.3" || "4.5.6"-"7.8.9" │ 0..36 | ||
Errors: [] | ||
|
||
Tree: | ||
- (VersionPragma): # 'solidity ^"1.2.3" || "4.5.6"-"7.8.9"\n' (0..37) | ||
- (solidity_keyword꞉ SolidityKeyword): "solidity" # (0..8) | ||
- (expressions꞉ VersionPragmaExpressions): # ' ^"1.2.3" || "4.5.6"-"7.8.9"\n' (8..37) | ||
- (item꞉ VersionPragmaExpression) ► (variant꞉ VersionPragmaOrExpression): # ' ^"1.2.3" || "4.5.6"-"7.8.9"\n' (8..37) | ||
- (left_operand꞉ VersionPragmaExpression) ► (variant꞉ VersionPragmaPrefixExpression): # ' ^"1.2.3"' (8..17) | ||
- (LeadingTrivia) ► (Whitespace): " " # (8..9) | ||
- (operator꞉ Caret): "^" # (9..10) | ||
- (operand꞉ VersionPragmaExpression) ► (variant꞉ AsciiStringLiteral): '"1.2.3"' # (10..17) | ||
- (LeadingTrivia) ► (Whitespace): " " # (17..18) | ||
- (operator꞉ BarBar): "||" # (18..20) | ||
- (right_operand꞉ VersionPragmaExpression) ► (variant꞉ VersionPragmaRangeExpression): # ' "4.5.6"-"7.8.9"\n' (20..37) | ||
- (left_operand꞉ VersionPragmaExpression): # ' "4.5.6"' (20..28) | ||
- (LeadingTrivia) ► (Whitespace): " " # (20..21) | ||
- (variant꞉ AsciiStringLiteral): '"4.5.6"' # (21..28) | ||
- (operator꞉ Minus): "-" # (28..29) | ||
- (right_operand꞉ VersionPragmaExpression): # '"7.8.9"\n' (29..37) | ||
- (variant꞉ AsciiStringLiteral): '"7.8.9"' # (29..36) | ||
- (TrailingTrivia) ► (EndOfLine): "\n" # (36..37) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
solidity ^"1.2.3" || "4.5.6"-"7.8.9" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# This file is generated automatically by infrastructure scripts. Please don't edit by hand. | ||
|
||
Source: > | ||
1 │ solidity '1.2.3' │ 0..16 | ||
Errors: [] | ||
|
||
Tree: | ||
- (VersionPragma): # "solidity '1.2.3'\n" (0..17) | ||
- (solidity_keyword꞉ SolidityKeyword): "solidity" # (0..8) | ||
- (expressions꞉ VersionPragmaExpressions): # " '1.2.3'\n" (8..17) | ||
- (item꞉ VersionPragmaExpression): # " '1.2.3'\n" (8..17) | ||
- (LeadingTrivia) ► (Whitespace): " " # (8..9) | ||
- (variant꞉ AsciiStringLiteral): "'1.2.3'" # (9..16) | ||
- (TrailingTrivia) ► (EndOfLine): "\n" # (16..17) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
solidity '1.2.3' |