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