Uses of Class
org.openhab.core.voice.text.Expression
Packages that use Expression
-
Uses of Expression in org.openhab.core.voice.text
Subclasses of Expression in org.openhab.core.voice.textModifier and TypeClassDescriptionfinal class
Expression that successfully parses, if a given expression occurs or repeats with a specified cardinality.final class
Expression that successfully parses, if a thing identifier token is found.final class
Expression that decorates the resulting (proxied) AST node of a given expression by a name, value and tag.final class
Expression that successfully parses, if a given string constant is found.final class
Expression that successfully parses, if a sequence of given expressions is matching.Methods in org.openhab.core.voice.text that return ExpressionModifier and TypeMethodDescriptionprotected Expression
Adds a command to the resulting AST tree.protected Expression
Adds a command to the resulting AST tree, if the expression matches.protected Expression
AbstractRuleBasedInterpreter.cmd
(Object expression, @Nullable AbstractRuleBasedInterpreter.ItemCommandSupplier command) Adds command resolver to the resulting AST tree, if the expression matches.protected @Nullable Expression
Converts an object to an expression.protected Expression[]
Converts all parameters to an expression array.Rule.getExpression()
ExpressionIdentifier.getStopper()
ExpressionCardinality.getSubExpression()
ExpressionLet.getSubExpression()
protected Expression
AbstractRuleBasedInterpreter.name()
Creates an item name placeholder expression.protected Expression
AbstractRuleBasedInterpreter.name
(@Nullable Expression stopper) Creates an item name placeholder expression.protected Expression
Adds a name and a tag to the resulting AST tree, if the given expression matches.protected Expression
Adds a value to the resulting AST tree, if the given expression matches.protected Expression
Adds a name to the resulting AST tree, if the given expression matches.Methods in org.openhab.core.voice.text with parameters of type ExpressionModifier and TypeMethodDescriptionprotected Expression
AbstractRuleBasedInterpreter.name
(@Nullable Expression stopper) Creates an item name placeholder expression.Constructors in org.openhab.core.voice.text with parameters of type ExpressionModifierConstructorDescriptionExpressionCardinality
(Expression subExpression, boolean atLeastOne, boolean atMostOne) Constructs a new instance.ExpressionIdentifier
(AbstractRuleBasedInterpreter interpreter, Expression stopper) Constructs a new instance.ExpressionLet
(String name, Expression subExpression) Constructs a new instance.ExpressionLet
(String name, Expression subExpression, Object value, Object tag) Constructs a new instance.ExpressionLet
(Expression subExpression, Object value) Constructs a new instance.ExpressionSequence
(Expression... subExpressions) Constructs a new instance.Rule
(Expression expression, AbstractRuleBasedInterpreter.ItemFilter itemFilter, boolean isForced, boolean isSilent) Constructs a new instance.