visitor ======= .. testsetup:: * # import everything from the module containing this class so that # doctests for the class docstrings see the correct environment from pyomo.core.expr import * try: from pyomo.core.expr import _autosummary_doctest_setup _autosummary_doctest_setup() except ImportError: pass .. currentmodule:: pyomo.core.expr .. automodule:: pyomo.core.expr.visitor :undoc-members: .. rubric:: Classes .. autosummary:: :toctree: :template: recursive-class.rst EvaluateFixedSubexpressionVisitor ExpressionReplacementVisitor ExpressionValueVisitor IdentifyMutableParamVisitor IdentifyVariableVisitor SimpleExpressionVisitor StreamBasedExpressionVisitor .. rubric:: Exceptions .. autosummary:: :toctree: :template: recursive-class.rst FixedExpressionError NonConstantExpressionError RevertToNonrecursive .. rubric:: Functions .. autosummary:: :toctree: :template: recursive-base.rst clone_expression evaluate_expression evaluate_fixed_subexpressions expression_to_string get_stack_depth identify_components identify_mutable_parameters identify_variables polynomial_degree replace_expressions sizeof_expression