org.jrubyparser.ast
Class Colon2MethodNode
java.lang.Object
org.jrubyparser.ast.Node
org.jrubyparser.ast.Colon3Node
org.jrubyparser.ast.Colon2Node
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.
| 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 |
Colon2MethodNode
public Colon2MethodNode(SourcePosition position,
Node leftNode,
String name)
Copyright © 2013. All Rights Reserved.