|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSFE.Compiler.UniqueVariables
public class UniqueVariables
A class that handles the unique variables.
Method Summary | |
---|---|
void |
add(Lvalue lval,
boolean isParameter)
|
void |
addVar(java.lang.String name,
Type type,
boolean isParameter,
boolean isOutput)
|
java.util.Set |
enumScope()
Returns all vars in current scope |
java.util.Vector |
getParameters()
|
LvalExpression |
getVar(java.lang.String name)
Returns the LvalExpression reference of a var. |
void |
multi2SingleBit()
|
java.util.HashMap |
popScope()
Removes the current scope (= hash table in head of linked list) |
void |
pushScope()
Adds a new scope (= new hash table in linked list) |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void pushScope()
public java.util.HashMap popScope()
public java.util.Set enumScope()
public void addVar(java.lang.String name, Type type, boolean isParameter, boolean isOutput)
public void add(Lvalue lval, boolean isParameter)
public LvalExpression getVar(java.lang.String name)
public void multi2SingleBit()
public java.util.Vector getParameters()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |