Skip to content
This repository has been archived by the owner on Sep 27, 2020. It is now read-only.

[Question] what is definition of AST node type ExpressionStatement ? #61

Open
yxliang01 opened this issue Apr 20, 2019 · 2 comments
Open

Comments

@yxliang01
Copy link
Contributor

Is it formally defined as an expression which is also a statement?

@yxliang01 yxliang01 changed the title [Question] what is definition of ExpressionStatement ? [Question] what is definition of AST node type ExpressionStatement ? Apr 20, 2019
@federicobond
Copy link
Owner

It's really up to us, but I would not like to stray too far from the official AST output produced by solc.

@yxliang01
Copy link
Contributor Author

@federicobond Hmm so for the current implementation what kinds of code will be transformed to a ExpressionStatement AST node type?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants