|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.parser.LocalNamesElement
Constructor Summary | |
LocalNamesElement()
|
Method Summary | |
void |
changeBlockLevel(int change)
|
void |
ensureLocalRegistered(java.lang.String name)
|
int |
getLocalIndex(java.lang.String name)
Returns the index of the local variable 'name' in the table of registered variable names. |
java.util.List |
getLocalNames()
Gets the localNames. |
StackElement |
getNext()
|
boolean |
isInBlock()
|
boolean |
isLocalRegistered(java.lang.String name)
Returns true if there was already an assignment to a local variable named name, false otherwise. |
int |
registerLocal(java.lang.String name)
Register the local variable name 'name' in the table of registered variable names. |
void |
setLocalNames(java.util.List localNames)
Sets the localNames. |
void |
setNext(StackElement newNext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LocalNamesElement()
Method Detail |
public StackElement getNext()
getNext
in interface StackElement
StackElement.getNext()
public void setNext(StackElement newNext)
setNext
in interface StackElement
StackElement.setNext(StackElement)
public boolean isLocalRegistered(java.lang.String name)
name
- The name of the local variable.
public int getLocalIndex(java.lang.String name)
name
- The name of the local variable
public void ensureLocalRegistered(java.lang.String name)
public int registerLocal(java.lang.String name)
name
- The name of the local variable.
public java.util.List getLocalNames()
public void setLocalNames(java.util.List localNames)
localNames
- The localNames to setpublic boolean isInBlock()
public void changeBlockLevel(int change)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |