public abstract class Colon2Node extends Colon3Node implements INameNode
Modifier and Type | Field and Description |
---|---|
protected Node |
leftNode |
name
containsVariableAssignment, newline
Constructor and Description |
---|
Colon2Node(ISourcePosition position,
Node leftNode,
RubySymbol name) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(NodeVisitor<T> iVisitor)
Accept for the visitor pattern.
|
java.util.List<Node> |
childNodes() |
Node |
getLeftNode()
Gets the leftNode.
|
NodeType |
getNodeType() |
getName
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getFile, getLine, getNodeName, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toString, toStringInternal
protected final Node leftNode
public Colon2Node(ISourcePosition position, Node leftNode, RubySymbol name)
public NodeType getNodeType()
getNodeType
in class Colon3Node
public <T> T accept(NodeVisitor<T> iVisitor)
accept
in class Colon3Node
iVisitor
- the visitorpublic Node getLeftNode()
public java.util.List<Node> childNodes()
childNodes
in class Colon3Node
Copyright © 2001-2018 JRuby. All Rights Reserved.