org.jruby.ast
Class Colon2Node

java.lang.Object
  extended byorg.jruby.ast.AbstractNode
      extended byorg.jruby.ast.Colon2Node
All Implemented Interfaces:
INameNode, INode, java.io.Serializable

public class Colon2Node
extends AbstractNode
implements INameNode

Represents a '::' constant access or method call.

Version:
$Revision: 1.5 $
Author:
jpetersen
See Also:
Serialized Form

Constructor Summary
Colon2Node(ISourcePosition position, INode leftNode, java.lang.String name)
           
 
Method Summary
 void accept(INodeVisitor iVisitor)
          Accept for the visitor pattern.
 INode getLeftNode()
          Gets the leftNode.
 java.lang.String getName()
          Gets the name.
 
Methods inherited from class org.jruby.ast.AbstractNode
getPosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Colon2Node

public Colon2Node(ISourcePosition position,
                  INode leftNode,
                  java.lang.String name)
Method Detail

accept

public void accept(INodeVisitor iVisitor)
Accept for the visitor pattern.

Specified by:
accept in interface INode
Parameters:
iVisitor - the visitor

getLeftNode

public INode getLeftNode()
Gets the leftNode.

Returns:
Returns a INode

getName

public java.lang.String getName()
Gets the name.

Specified by:
getName in interface INameNode
Returns:
Returns a String


Copyright © 2002 Jan Arne Petersen. All Rights Reserved.