forked from NomicFoundation/slang
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Support the
from
contextual keyword
- Loading branch information
Showing
6 changed files
with
135 additions
and
121 deletions.
There are no files selected for viewing
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
80 changes: 41 additions & 39 deletions
80
crates/solidity/outputs/cargo/crate/src/generated/language.rs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
80 changes: 41 additions & 39 deletions
80
crates/solidity/outputs/npm/crate/src/generated/language.rs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
...lidity/testing/snapshots/cst_output/EventDefinition/transfer/generated/0.4.11-failure.yml
This file was deleted.
Oops, something went wrong.
33 changes: 33 additions & 0 deletions
33
...lidity/testing/snapshots/cst_output/EventDefinition/transfer/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,33 @@ | ||
# This file is generated automatically by infrastructure scripts. Please don't edit by hand. | ||
|
||
Source: > | ||
1 │ event Transfer(address indexed from, address indexed to, uint256 value); │ 0..72 | ||
Errors: [] | ||
|
||
Tree: | ||
- EventDefinition (Rule): # 0..73 "event Transfer(address indexed from, address index..." | ||
- EventKeyword (Token): "event" # 0..5 | ||
- Identifier (Token): "Transfer" # 6..14 | ||
- OpenParen (Token): "(" # 14..15 | ||
- EventParametersList (Rule): # 15..70 "address indexed from, address indexed to, uint256 ..." | ||
- EventParameter (Rule): # 15..35 "address indexed from" | ||
- TypeName (Rule): # 15..22 "address" | ||
- AddressType (Rule): # 15..22 "address" | ||
- AddressKeyword (Token): "address" # 15..22 | ||
- IndexedKeyword (Token): "indexed" # 23..30 | ||
- Identifier (Token): "from" # 31..35 | ||
- Comma (Token): "," # 35..36 | ||
- EventParameter (Rule): # 36..55 " address indexed to" | ||
- TypeName (Rule): # 36..44 " address" | ||
- AddressType (Rule): # 36..44 " address" | ||
- AddressKeyword (Token): "address" # 37..44 | ||
- IndexedKeyword (Token): "indexed" # 45..52 | ||
- Identifier (Token): "to" # 53..55 | ||
- Comma (Token): "," # 55..56 | ||
- EventParameter (Rule): # 56..70 " uint256 value" | ||
- TypeName (Rule): # 56..64 " uint256" | ||
- UnsignedIntegerType (Token): "uint256" # 57..64 | ||
- Identifier (Token): "value" # 65..70 | ||
- CloseParen (Token): ")" # 70..71 | ||
- Semicolon (Token): ";" # 71..72 |
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