Class ExpressionWalker
java.lang.Object
edu.udel.cis.vsl.sarl.preuniverse.common.ExpressionWalker
Walks a symbolic expression to collect all free (unbound) symbolic constants
occurring anywhere in that expression.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs new walker and does the walk, filling inresult. -
Method Summary
Modifier and TypeMethodDescriptionGets the result: the set of free symbolic constants occurring in the original expression that was provided at creation.
-
Constructor Details
-
ExpressionWalker
Constructs new walker and does the walk, filling inresult.- Parameters:
expr- the non-nullsymbolic expression that will be walked
-
-
Method Details
-
getResult
Gets the result: the set of free symbolic constants occurring in the original expression that was provided at creation.- Returns:
- the result
-