public class IterNode extends Node implements DefNode
containsVariableAssignment, newline| Constructor and Description | 
|---|
| IterNode(ISourcePosition position,
        ArgsNode args,
        Node body,
        StaticScope scope)Used for all non-for types of blocks. | 
| IterNode(ISourcePosition position,
        Node args,
        StaticScope scope,
        Node body)Used by Truffle 'for' and by ForNode only. | 
| Modifier and Type | Method and Description | 
|---|---|
| <T> T | accept(NodeVisitor<T> iVisitor)Accept for the visitor pattern. | 
| List<Node> | childNodes() | 
| ArgsNode | getArgsNode()Gets the argsNode. | 
| Node | getBodyNode()Gets the bodyNode. | 
| NodeType | getNodeType() | 
| StaticScope | getScope()Get the static scoping information. | 
| Node | getVarNode()Gets the varNode. | 
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getLine, getNodeName, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toStringpublic IterNode(ISourcePosition position, Node args, StaticScope scope, Node body)
public IterNode(ISourcePosition position, ArgsNode args, Node body, StaticScope scope)
public NodeType getNodeType()
getNodeType in class Nodepublic <T> T accept(NodeVisitor<T> iVisitor)
public ArgsNode getArgsNode()
DefNodegetArgsNode in interface DefNodepublic StaticScope getScope()
DefNodepublic Node getBodyNode()
getBodyNode in interface DefNodepublic Node getVarNode()
public List<Node> childNodes()
childNodes in class NodeCopyright © 2001-2015 JRuby. All Rights Reserved.