Package org.jruby.ast
Class Colon3Node
java.lang.Object
org.jruby.ast.Node
org.jruby.ast.Colon3Node
- All Implemented Interfaces:
INameNode
- Direct Known Subclasses:
Colon2Node
Global scope node (::FooBar). This is used to gain access to the global scope (that of the
Object class) when referring to a constant or method.
-
Field Summary
FieldsFields inherited from class org.jruby.ast.Node
containsVariableAssignment, EMPTY_LIST, newline -
Constructor Summary
ConstructorsModifierConstructorDescriptionColon3Node(int line, RubySymbol name) protectedColon3Node(int line, RubySymbol name, boolean containsAssignment) -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(NodeVisitor<T> iVisitor) Accept for the visitor pattern.getName()Gets the name.Methods inherited from class org.jruby.ast.Node
containsVariableAssignment, createList, createList, createList, createList, executesOnce, findFirstChild, getFile, getLine, getNodeName, isNewline, isNil, needsDefinitionCheck, setLine, setNewline, toString, toString, toStringExtraInfo, toStringInternal, unsetNewline
-
Field Details
-
name
-
-
Constructor Details
-
Colon3Node
-
Colon3Node
-
-
Method Details
-
getNodeType
- Specified by:
getNodeTypein classNode- Returns:
- the nodeId
-
accept
Accept for the visitor pattern. -
getName
Gets the name. -
childNodes
- Specified by:
childNodesin classNode
-