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> Taccept(NodeVisitor<T> iVisitor) Accept for the visitor pattern.Methods inherited from class org.jruby.ast.IterNode
childNodes, getArgsNode, getBodyNode, getEndLine, getScope, getVarNodeMethods 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:
getNodeTypein classIterNode- Returns:
- the nodeId
-
accept
Description copied from class:IterNodeAccept for the visitor pattern.
-