Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 184c818

Browse files
Merge pull request #3 from noitatum/emit_statement
Add emit statement support.
2 parents 1896036 + f1da1d0 commit 184c818

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎solidity_parser/parser.py‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,11 @@ def visitFunctionCall(self, ctx):
313313
arguments=args,
314314
names=names)
315315

316+
def visitEmitStatement(self, ctx):
317+
return Node(ctx=ctx,
318+
type='EmitStatement',
319+
eventCall=self.visit(ctx.getChild(1)))
320+
316321
def visitStructDefinition(self, ctx):
317322
return Node(ctx=ctx,
318323
type='StructDefinition',

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /