Package net.hydromatic.morel.ast
Class Ast.Exp
java.lang.Object
net.hydromatic.morel.ast.AstNode
net.hydromatic.morel.ast.Ast.Exp
- Direct Known Subclasses:
Ast.AnnotatedExp,Ast.Apply,Ast.Case,Ast.Fn,Ast.From,Ast.Id,Ast.If,Ast.InfixCall,Ast.Let,Ast.ListExp,Ast.Literal,Ast.PrefixCall,Ast.Record,Ast.RecordSelector,Ast.Tuple
- Enclosing class:
Ast
Base class of expression ASTs.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Ast.ExpAccepts a shuttle, calling theShuttle.visit(net.hydromatic.morel.ast.Ast.Literal)method appropriate to the type of this node, and returning the result.args()Returns a list of all arguments.voidforEachArg(ObjIntConsumer<Ast.Exp> action)
-
Constructor Details
-
Exp
-
-
Method Details
-
forEachArg
-
accept
Description copied from class:AstNodeAccepts a shuttle, calling theShuttle.visit(net.hydromatic.morel.ast.Ast.Literal)method appropriate to the type of this node, and returning the result. -
args
Returns a list of all arguments.
-