Top Description Fields Constructors Methods
org.jruby.ast

public abstract Class Colon2Node

extends Colon3Node
implements INameNode
Class Inheritance
All Implemented Interfaces
org.jruby.ast.types.INameNode
Known Direct Subclasses
org.jruby.ast.Colon2ConstNode, org.jruby.ast.Colon2ImplicitNode
Imports
java.util.List, org.jruby.RubySymbol, org.jruby.ast.types.INameNode, org.jruby.ast.visitor.NodeVisitor

Represents a '::' constant access or method call (Java::JavaClass).

Field Summary

Modifier and TypeField and Description
protected final Node
Inherited from org.jruby.ast.Colon3Node:
name

Constructor Summary

AccessConstructor and Description
public
Colon2Node(int line, Node leftNode, RubySymbol name)

Method Summary

Modifier and TypeMethod and Description
public <T> T
accept(NodeVisitor<T>
the visitor
iVisitor
)

Overrides org.jruby.ast.Colon3Node.accept.

Accept for the visitor pattern.

public List<Node>
public Node

Returns:

Returns a Node
getLeftNode
()

Gets the leftNode.

public NodeType
Inherited from org.jruby.ast.Colon3Node:
getName

Field Detail

leftNodeback to summary
protected final Node leftNode

Constructor Detail

Colon2Nodeback to summary
public Colon2Node(int line, Node leftNode, RubySymbol name)

Method Detail

acceptback to summary
public <T> T accept(NodeVisitor<T> iVisitor)

Overrides org.jruby.ast.Colon3Node.accept.

Accept for the visitor pattern.

Parameters
iVisitor:NodeVisitor<T>

the visitor

Annotations
@Override
childNodesback to summary
public List<Node> childNodes()

Overrides org.jruby.ast.Colon3Node.childNodes.

Annotations
@Override
getLeftNodeback to summary
public Node getLeftNode()

Gets the leftNode.

Returns:Node

Returns a Node

getNodeTypeback to summary
public NodeType getNodeType()

Overrides org.jruby.ast.Colon3Node.getNodeType.

Returns:NodeType

Doc from org.jruby.ast.Node.getNodeType.

the nodeId