Package org.jruby.ast
Class PreExeNode
java.lang.Object
org.jruby.ast.Node
org.jruby.ast.IterNode
org.jruby.ast.PreExeNode
- All Implemented Interfaces:
DefNode
- Direct Known Subclasses:
PreExe19Node
A pre-execution construction (BEGIN { ... }).
-
Field Summary
Fields inherited from class org.jruby.ast.Node
containsVariableAssignment, newline
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> T
accept
(NodeVisitor<T> iVisitor) Accept for the visitor pattern.Methods inherited from class org.jruby.ast.IterNode
childNodes, 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
-
PreExeNode
-
-
Method Details
-
getNodeType
- Overrides:
getNodeType
in classIterNode
- Returns:
- the nodeId
-
accept
Description copied from class:IterNode
Accept for the visitor pattern.
-