Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pub enum AstNode {
- String(String),
- Integer(i64),
- List(Vec<AstNode>),
- Block(Vec<AstNode>),
- VariableLookup {
- ident: String,
- },
- AttributeLookup {
- expr: Box<AstNode>,
- attr: String,
- },
- MethodLookup {
- expr: Box<AstNode>,
- meth: String,
- },
- FunctionCall {
- func: Box<AstNode>,
- args: Vec<AstNode>,
- },
- }
Add Comment
Please, Sign In to add comment