-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ac47c39
commit f2c0bfb
Showing
5 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
crates/solidity/outputs/cargo/tests/src/cst_output/generated/UnnamedFunctionDefinition.rs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
23 changes: 23 additions & 0 deletions
23
...shots/cst_output/UnnamedFunctionDefinition/private_attribute/generated/0.4.11-success.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# This file is generated automatically by infrastructure scripts. Please don't edit by hand. | ||
|
||
Source: > | ||
1 │ function () private {} │ 0..22 | ||
Errors: [] | ||
|
||
Tree: | ||
- (UnnamedFunctionDefinition): # "function () private {}\n" (0..23) | ||
- (function_keyword꞉ FunctionKeyword): "function" # (0..8) | ||
- (parameters꞉ ParametersDeclaration): # " ()" (8..11) | ||
- (LeadingTrivia) ► (Whitespace): " " # (8..9) | ||
- (open_paren꞉ OpenParen): "(" # (9..10) | ||
- (close_paren꞉ CloseParen): ")" # (10..11) | ||
- (attributes꞉ UnnamedFunctionAttributes): # " private" (11..19) | ||
- (item꞉ UnnamedFunctionAttribute): # " private" (11..19) | ||
- (LeadingTrivia) ► (Whitespace): " " # (11..12) | ||
- (variant꞉ PrivateKeyword): "private" # (12..19) | ||
- (body꞉ FunctionBody) ► (variant꞉ Block): # " {}\n" (19..23) | ||
- (LeadingTrivia) ► (Whitespace): " " # (19..20) | ||
- (open_brace꞉ OpenBrace): "{" # (20..21) | ||
- (close_brace꞉ CloseBrace): "}" # (21..22) | ||
- (TrailingTrivia) ► (EndOfLine): "\n" # (22..23) |
23 changes: 23 additions & 0 deletions
23
...pshots/cst_output/UnnamedFunctionDefinition/private_attribute/generated/0.5.0-failure.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# This file is generated automatically by infrastructure scripts. Please don't edit by hand. | ||
|
||
Source: > | ||
1 │ function () private {} │ 0..22 | ||
Errors: # 1 total | ||
- > | ||
Error: Expected ExternalKeyword or Identifier or OpenBrace or OverrideKeyword or PayableKeyword or PureKeyword or Semicolon or ViewKeyword. | ||
╭─[crates/solidity/testing/snapshots/cst_output/UnnamedFunctionDefinition/private_attribute/input.sol:1:12] | ||
│ | ||
1 │ function () private {} | ||
│ ──────┬───── | ||
│ ╰─────── Error occurred here. | ||
───╯ | ||
Tree: | ||
- (UnnamedFunctionDefinition): # "function () private {}\n" (0..23) | ||
- (function_keyword꞉ FunctionKeyword): "function" # (0..8) | ||
- (parameters꞉ ParametersDeclaration): # " ()" (8..11) | ||
- (LeadingTrivia) ► (Whitespace): " " # (8..9) | ||
- (open_paren꞉ OpenParen): "(" # (9..10) | ||
- (close_paren꞉ CloseParen): ")" # (10..11) | ||
- (SKIPPED): " private {}\n" # (11..23) |
17 changes: 17 additions & 0 deletions
17
...pshots/cst_output/UnnamedFunctionDefinition/private_attribute/generated/0.6.0-failure.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# This file is generated automatically by infrastructure scripts. Please don't edit by hand. | ||
|
||
Source: > | ||
1 │ function () private {} │ 0..22 | ||
Errors: # 1 total | ||
- > | ||
Error: Expected end of file. | ||
╭─[crates/solidity/testing/snapshots/cst_output/UnnamedFunctionDefinition/private_attribute/input.sol:1:1] | ||
│ | ||
1 │ function () private {} | ||
│ ───────────┬─────────── | ||
│ ╰───────────── Error occurred here. | ||
───╯ | ||
Tree: | ||
- (SKIPPED): "function () private {}\n" # (0..23) |
1 change: 1 addition & 0 deletions
1
...lidity/testing/snapshots/cst_output/UnnamedFunctionDefinition/private_attribute/input.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
function () private {} |