Package de.redsix.dmncheck.feel
Interface FeelExpression
- All Known Implementing Classes:
FeelExpression.BooleanLiteral,FeelExpression.DateLiteral,FeelExpression.DateTimeLiteral,FeelExpression.DisjunctionExpression,FeelExpression.DoubleLiteral,FeelExpression.Empty,FeelExpression.IntegerLiteral,FeelExpression.NaryExpression,FeelExpression.Null,FeelExpression.QuestionMark,FeelExpression.RangeExpression,FeelExpression.StringLiteral,FeelExpression.VariableLiteral
public sealed interface FeelExpression
permits FeelExpression.Empty, FeelExpression.Null, FeelExpression.QuestionMark, FeelExpression.BooleanLiteral, FeelExpression.DateLiteral, FeelExpression.DateTimeLiteral, FeelExpression.DoubleLiteral, FeelExpression.IntegerLiteral, FeelExpression.StringLiteral, FeelExpression.VariableLiteral, FeelExpression.RangeExpression, FeelExpression.NaryExpression, FeelExpression.DisjunctionExpression
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final record -
Method Summary
Modifier and TypeMethodDescriptionstatic FeelExpressionbinaryExpression(Operator operator, FeelExpression operand, FeelExpression otherOperand) default booleancontainsVariable(String name) default FeelExpressiondefault booleanisDate()default booleansubsumes(FeelExpression expression) static FeelExpressionunaryExpression(Operator operator, FeelExpression operand)
-
Method Details
-
subsumes
-
containsVariable
-
isLiteral
default boolean isLiteral() -
isDate
default boolean isDate() -
extractDateExpression
-
unaryExpression
-
binaryExpression
static FeelExpression binaryExpression(Operator operator, FeelExpression operand, FeelExpression otherOperand)
-