|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fmrisc.Syntax.ASTVisitorBase fmrisc.Semantics.FreeVariables
public final class FreeVariables
Compute the free variables of an expression.
Method Summary | |
---|---|
static void |
append(Expression exp,
java.util.Vector result)
Compute free variables of expression. |
static java.util.Vector |
compute(Expression exp)
Compute free variables of expression. |
static java.util.Vector |
compute(Type type)
Compute free variables of type. |
Methods inherited from class fmrisc.Syntax.ASTVisitorBase |
---|
isCloned, visit |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.Vector compute(Expression exp)
exp
- an expression.
public static java.util.Vector compute(Type type)
type
- a type.
public static void append(Expression exp, java.util.Vector result)
exp
- an expression.result
- a vector to which the ValueSymbol objects representing the
free variables of the expression are appended (each symbol will
occur only once in result).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |