org.jrubyparser.ast
Class Colon2MethodNode

java.lang.Object
  extended by org.jrubyparser.ast.Node
      extended by org.jrubyparser.ast.Colon3Node
          extended by org.jrubyparser.ast.Colon2Node
              extended by org.jrubyparser.ast.Colon2MethodNode
All Implemented Interfaces:
INameMatchable, INameNode, ISourcePositionHolder

public class Colon2MethodNode
extends Colon2Node

Represents a constant path which ends in a method (e.g. Foo::bar). Note: methods with explicit parameters (e.g. Foo::bar()) will be a CallNode.


Field Summary
 
Fields inherited from class org.jrubyparser.ast.Colon2Node
leftNode
 
Fields inherited from class org.jrubyparser.ast.Colon3Node
name
 
Constructor Summary
Colon2MethodNode(SourcePosition position, Node leftNode, String name)
           
 
Method Summary
 
Methods inherited from class org.jrubyparser.ast.Colon2Node
accept, getLeftNode, getNodeType, isSame
 
Methods inherited from class org.jrubyparser.ast.Colon3Node
getLexicalName, getLexicalNamePosition, getName, getNamePosition, isNameMatch, setName
 
Methods inherited from class org.jrubyparser.ast.Node
adopt, adopt, adoptUsingNodesPosition, childNodes, comparePositionWith, createList, getClosestIScope, getClosestModule, getGrandParent, getInlineComment, getInnermostIter, getMethodFor, getNodeAt, getNodeName, getOutermostIter, getParent, getPosition, getPositionIncludingComments, getPreviousComments, insertAfter, insertAll, insertBefore, insertNode, isBlockParameter, isDescendentOf, isLeaf, isMethodParameter, setParent, setPosition, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jrubyparser.ast.INameNode
getLexicalName, getLexicalNamePosition, getName, getNamePosition, setName
 
Methods inherited from interface org.jrubyparser.ast.INameMatchable
isNameMatch
 

Constructor Detail

Colon2MethodNode

public Colon2MethodNode(SourcePosition position,
                        Node leftNode,
                        String name)


Copyright © 2013. All Rights Reserved.