|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--openjava.ptree.util.ParseTreeVisitor | +--openjava.ptree.util.GenericVisitor | +--saffron.util.UnboundVariableCollector
Util.getUnboundVariables(saffron.rel.Rel)
Field Summary | |
(package private) Environment |
env
|
(package private) Hashtable |
mapNameToClass
|
Constructor Summary | |
(package private) |
UnboundVariableCollector(Environment env)
|
Method Summary | |
ExpressionList |
getArgumentList()
Returns an argument list value0, ..., valueN containing
all variables valueivalue in this cluster's
expression. |
StatementList |
getAssignmentList()
Returns a set of assignments to member variables: this.value0
= value0; ...; this.valueN = valueN; return this; . |
MemberDeclarationList |
getMemberDeclarationList()
Returns a set of declarations of members to hold variables: private Class0 value0; ...; private ClassN valueN; . |
ParameterList |
getParameterList()
Returns a parameter list Class0 value0, ..., ClassN
valueN containing all of the unbound variables
valueivalue in this cluster's expression. |
void |
visit(Variable v)
|
Methods inherited from class openjava.ptree.util.GenericVisitor |
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visitGeneric |
Methods inherited from class openjava.ptree.util.ParseTreeVisitor |
visit |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
Environment env
Hashtable mapNameToClass
Constructor Detail |
UnboundVariableCollector(Environment env)
Method Detail |
public void visit(Variable v)
visit
in class GenericVisitor
public ParameterList getParameterList()
Class0 value0, ..., ClassN
valueN
containing all of the unbound variables
valueivalue
in this cluster's expression.
public ExpressionList getArgumentList()
value0, ..., valueN
containing
all variables valueivalue
in this cluster's
expression.
public StatementList getAssignmentList()
this.value0
= value0; ...; this.valueN = valueN; return this;
.
public MemberDeclarationList getMemberDeclarationList()
private Class0 value0; ...; private ClassN valueN;
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |