Top Description Constructors Methods
org.jruby.ast

public Class PreExeNode

extends IterNode
Class Inheritance
Known Direct Subclasses
org.jruby.ast.PreExe19Node
Imports
org.jruby.ast.visitor.NodeVisitor, org.jruby.parser.StaticScope

A pre-execution construction (BEGIN { ... }).

Constructor Summary

AccessConstructor and Description
public
PreExeNode(int line, StaticScope scope, Node body, int endLine)

Method Summary

Modifier and TypeMethod and Description
public <T> T
accept(NodeVisitor<T>
the visitor
iVisitor
)

Overrides org.jruby.ast.IterNode.accept.

Accept for the visitor pattern.

public NodeType
Inherited from org.jruby.ast.IterNode:
childNodesgetArgsNodegetBodyNodegetEndLinegetScopegetVarNode

Constructor Detail

PreExeNodeback to summary
public PreExeNode(int line, StaticScope scope, Node body, int endLine)

Method Detail

acceptback to summary
public <T> T accept(NodeVisitor<T> iVisitor)

Overrides org.jruby.ast.IterNode.accept.

Doc from org.jruby.ast.IterNode.accept.

Accept for the visitor pattern.

Parameters
iVisitor:NodeVisitor<T>

the visitor

Annotations
@Override
getNodeTypeback to summary
public NodeType getNodeType()

Overrides org.jruby.ast.IterNode.getNodeType.

Returns:NodeType

Doc from org.jruby.ast.Node.getNodeType.

the nodeId

Annotations
@Override