Package net.hydromatic.morel.ast
Class Ast.Fn
java.lang.Object
net.hydromatic.morel.ast.AstNode
net.hydromatic.morel.ast.Ast.Exp
net.hydromatic.morel.ast.Ast.Fn
- Enclosing class:
Ast
Lambda expression.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAccepts a shuttle, calling theShuttle.visit(net.hydromatic.morel.ast.Ast.Literal)method appropriate to the type of this node, and returning the result.voidAccepts a visitor, calling theShuttle.visit(net.hydromatic.morel.ast.Ast.Literal)method appropriate to the type of this node, and returning the result.Creates a copy of thisFnwith given contents, or this if the contents are the same.(package private) AstWriterMethods inherited from class net.hydromatic.morel.ast.Ast.Exp
args, forEachArg
-
Field Details
-
matchList
-
-
Constructor Details
-
Fn
-
-
Method Details
-
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. -
accept
Description copied from class:AstNodeAccepts a visitor, calling theShuttle.visit(net.hydromatic.morel.ast.Ast.Literal)method appropriate to the type of this node, and returning the result. -
unparse
-
copy
Creates a copy of thisFnwith given contents, or this if the contents are the same.
-