org.jrubyparser.ast
Interface INameNode

All Superinterfaces:
INameMatchable
All Known Subinterfaces:
IClassVariable, IGlobalVariable, IInstanceVariable, ILocalVariable, IParameter
All Known Implementing Classes:
ArgumentNode, AttrAssignNode, BackRefNode, BareKeywordNode, BlockArgNode, CallNode, ClassVarAsgnNode, ClassVarDeclNode, ClassVarNode, Colon2ConstNode, Colon2ImplicitNode, Colon2MethodNode, Colon2Node, Colon3Node, ConstDeclNode, ConstNode, DAsgnNode, DefnNode, DefsNode, DVarNode, FalseNode, FCallNode, GlobalAsgnNode, GlobalVarNode, InstAsgnNode, InstVarNode, KeywordRestArgNode, LocalAsgnNode, LocalVarNode, MethodDefNode, MethodNameNode, NamedNode, NilNode, NthRefNode, OptArgNode, RestArgNode, SelfNode, SymbolNode, TrueNode, TypedArgumentNode, UnaryCallNode, UnnamedRestArgNode, VCallNode

public interface INameNode
extends INameMatchable


Method Summary
 String getLexicalName()
          Get the name including any leading sigils.
 SourcePosition getLexicalNamePosition()
          The position of the name + any sigils that come with it.
 String getName()
          Get the plain name without sigils.
 SourcePosition getNamePosition()
          The position of just the name part of the node.
 void setName(String newName)
          Set the name (name should not include sigils).
 
Methods inherited from interface org.jrubyparser.ast.INameMatchable
isNameMatch
 

Method Detail

getName

String getName()
Get the plain name without sigils.


getLexicalName

String getLexicalName()
Get the name including any leading sigils.


setName

void setName(String newName)
Set the name (name should not include sigils).


getNamePosition

SourcePosition getNamePosition()
The position of just the name part of the node.


getLexicalNamePosition

SourcePosition getLexicalNamePosition()
The position of the name + any sigils that come with it.



Copyright © 2013. All Rights Reserved.