Package org.jruby.ast
Class Colon2Node
java.lang.Object
org.jruby.ast.Node
org.jruby.ast.Colon3Node
org.jruby.ast.Colon2Node
- All Implemented Interfaces:
INameNode
- Direct Known Subclasses:
Colon2ConstNode
,Colon2ImplicitNode
Represents a '::' constant access or method call (Java::JavaClass).
-
Field Summary
FieldsFields inherited from class org.jruby.ast.Colon3Node
name
Fields inherited from class org.jruby.ast.Node
containsVariableAssignment, newline
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> T
accept
(NodeVisitor<T> iVisitor) Accept for the visitor pattern.Gets the leftNode.Methods inherited from class org.jruby.ast.Colon3Node
getName
Methods 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
-
Field Details
-
leftNode
-
-
Constructor Details
-
Colon2Node
-
-
Method Details
-
getNodeType
- Overrides:
getNodeType
in classColon3Node
- Returns:
- the nodeId
-
accept
Accept for the visitor pattern.- Overrides:
accept
in classColon3Node
- Parameters:
iVisitor
- the visitor
-
getLeftNode
Gets the leftNode.- Returns:
- Returns a Node
-
childNodes
- Overrides:
childNodes
in classColon3Node
-