Interface IExpressionVariableFacade
- All Superinterfaces:
IVariableFacade
- All Known Implementing Classes:
ExpressionVariableFacade
Variable facade for variables that are defined by an expression tree,
which can contain nested operators, references to other variables, inline constants and parameters.
Expressions without parameters evaluate to the value of their root node,
expressions with parameters evaluate to an operator.
Simple expressions (a single operator with only variable references) are stored as
IOperatorVariableFacade instead.-
Nested Class Summary
Nested classes/interfaces inherited from interface IVariableFacade
IVariableFacade.IValidator -
Method Summary
Methods inherited from interface IVariableFacade
appendHoverText, getClient, getId, getLabel, getOutputType, getVariable, isValid, validate
-
Method Details
-
getExpression
- Returns:
- The expression, or null if the facade is invalid.
-
getReferenceTypes
- Returns:
- The output types of the referenced variables, by variable id, as far as they were known when this card was written. This is only used when editing the card, evaluation always uses the actual variables.
-
getText
- Returns:
- The text the expression was typed as, or null if it was not typed or is printed. This is only used when editing the card, and only while the text still reads as the expression.
-