Skip to content

Commit

Permalink
Rename YulIdentifierPath(s) -> YulPath(s)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xanewok committed Apr 24, 2024
1 parent 123fc17 commit 04541c7
Show file tree
Hide file tree
Showing 143 changed files with 367 additions and 379 deletions.
14 changes: 5 additions & 9 deletions crates/solidity/inputs/language/src/definition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4209,7 +4209,7 @@ codegen_language_macros::compile!(Language(
name = YulVariableDeclarationStatement,
fields = (
let_keyword = Required(YulLetKeyword),
names = Required(YulIdentifierPaths),
names = Required(YulPaths),
value = Optional(reference = YulVariableDeclarationValue)
)
),
Expand All @@ -4223,7 +4223,7 @@ codegen_language_macros::compile!(Language(
Struct(
name = YulAssignmentStatement,
fields = (
names = Required(YulIdentifierPaths),
names = Required(YulPaths),
assignment = Required(YulAssignmentOperator),
expression = Required(YulExpression)
)
Expand Down Expand Up @@ -4333,7 +4333,7 @@ codegen_language_macros::compile!(Language(
primary_expressions = [
PrimaryExpression(reference = YulLiteral),
PrimaryExpression(reference = YulBuiltInFunction),
PrimaryExpression(reference = YulIdentifierPath)
PrimaryExpression(reference = YulPath)
]
),
Separated(
Expand All @@ -4342,13 +4342,9 @@ codegen_language_macros::compile!(Language(
separator = Comma,
allow_empty = true
),
Separated(name = YulPaths, reference = YulPath, separator = Comma),
Separated(
name = YulIdentifierPaths,
reference = YulIdentifierPath,
separator = Comma
),
Separated(
name = YulIdentifierPath,
name = YulPath,
reference = YulPathComponent,
separator = Period
),
Expand Down

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.

57 changes: 26 additions & 31 deletions crates/solidity/outputs/npm/package/src/ast/generated/ast_types.ts

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.

Loading

0 comments on commit 04541c7

Please sign in to comment.