org.jrubyparser.ast
Class Colon2ImplicitNode

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.Colon2ImplicitNode
All Implemented Interfaces:
INameMatchable, INameNode, ISourcePositionHolder

public class Colon2ImplicitNode
extends Colon2Node

Represents a bare class declaration (e.g. class Foo/module Foo). This is slightly misnamed since it contains no double colons (::), but our cname production needs to be a common type. In JRuby 2, we will rename this.


Field Summary
 
Fields inherited from class org.jrubyparser.ast.Colon2Node
leftNode
 
Fields inherited from class org.jrubyparser.ast.Colon3Node
name
 
Constructor Summary
Colon2ImplicitNode(SourcePosition position, 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

Colon2ImplicitNode

public Colon2ImplicitNode(SourcePosition position,
                          String name)


Copyright © 2013. All Rights Reserved.