public abstract class EquationVisitor
extends java.lang.Object
The generic version of the method to visit a UnitEquation, UnitExpr, and UnitTerm are specified here. To do a specific kind of visit create a class that extends EquationVisitor that overrides some one or more of these methods. These methods are specified as throwing an IllegalActionException to make it possible for the overridden methods in a subclass to throw IllegalActionException.
Constructor and Description |
---|
EquationVisitor() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
_visitUnitEquation(UnitEquation uEquation)
Visit a UnitEquation by visiting the left and right sides of the
equation.
|
protected java.lang.Object |
_visitUnitExpr(UnitExpr unitExpr)
Visit a UnitExpr by visiting the UnitTerms.
|
protected java.lang.Object |
_visitUnitTerm(UnitTerm uTerm)
Visit a UnitTerm by visiting the UnitExpr if there is one.
|
protected java.lang.Object _visitUnitEquation(UnitEquation uEquation) throws IllegalActionException
uEquation
- The UnitEquation to visit.IllegalActionException
- Not thrown in this base class.protected java.lang.Object _visitUnitExpr(UnitExpr unitExpr) throws IllegalActionException
unitExpr
- The UnitExpr to visit.IllegalActionException
- Not thrown in this base class.protected java.lang.Object _visitUnitTerm(UnitTerm uTerm) throws IllegalActionException
uTerm
- The UnitTerm to visit.IllegalActionException
- Not thrown in this base class.