Skip to content

Commit

Permalink
WIP: StatementsList
Browse files Browse the repository at this point in the history
  • Loading branch information
Xanewok committed Nov 16, 2023
1 parent 9454e02 commit 485bf25
Show file tree
Hide file tree
Showing 38 changed files with 42 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
reference: "OpenBrace"
parser:
optional:
reference: "StatementsList"
reference: "Statements"
close:
reference: "CloseBrace"

- name: "StatementsList"
- name: "Statements"
kind: "Parser"
unversioned:
oneOrMore:
Expand Down
4 changes: 2 additions & 2 deletions crates/solidity/inputs/language/src/dsl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ slang_grammar! {

inline parser BitwiseXOrOperator = Caret ;

parser Block = ((StatementsList ?) delimited by OpenBrace and CloseBrace) ;
parser Block = ((Statements ?) delimited by OpenBrace and CloseBrace) ;

inline parser BooleanExpression = (TrueKeyword | FalseKeyword) ;

Expand Down Expand Up @@ -497,7 +497,7 @@ slang_grammar! {
SimpleStatement | ControlStatement | AssemblyStatement | Block | { introduced in "0.8.0" UncheckedBlock }
) ;

parser StatementsList = (Statement +) ;
parser Statements = (Statement +) ;

inline parser StringExpression = (
HexStringLiteralsList | AsciiStringLiteralsList | { introduced in "0.7.0" UnicodeStringLiteralsList }
Expand Down
4 changes: 2 additions & 2 deletions crates/solidity/outputs/cargo/crate/src/generated/kinds.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions 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.

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.

4 changes: 2 additions & 2 deletions crates/solidity/outputs/npm/crate/src/generated/kinds.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions 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.

4 changes: 2 additions & 2 deletions crates/solidity/outputs/npm/package/src/generated/index.d.ts

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.

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.

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.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 485bf25

Please sign in to comment.