Package org.jruby.ast
Class LambdaNode
java.lang.Object
org.jruby.ast.Node
org.jruby.ast.IterNode
org.jruby.ast.LambdaNode
- All Implemented Interfaces:
DefNode
Stubby lambda node (1.9 only)
-
Field Summary
Fields inherited from class org.jruby.ast.Node
containsVariableAssignment, newline
-
Constructor Summary
ConstructorsConstructorDescriptionLambdaNode
(int line, ArgsNode args, Node body, StaticScope scope, int endLine) -
Method Summary
Modifier and TypeMethodDescription<T> T
accept
(NodeVisitor<T> visitor) Accept for the visitor pattern.getArgs()
getBody()
Methods inherited from class org.jruby.ast.IterNode
getArgsNode, getBodyNode, getEndLine, getScope, getVarNode
Methods inherited from class org.jruby.ast.Node
containsVariableAssignment, createList, createList, createList, createList, executesOnce, getFile, getLine, getNodeName, isNewline, isNil, needsDefinitionCheck, setLine, setNewline, toString, toString, toStringExtraInfo, toStringInternal, unsetNewline
-
Constructor Details
-
LambdaNode
-
-
Method Details
-
getNodeType
- Overrides:
getNodeType
in classIterNode
- Returns:
- the nodeId
-
getArgs
-
getBody
-
accept
Description copied from class:IterNode
Accept for the visitor pattern. -
childNodes
- Overrides:
childNodes
in classIterNode
-