Package uk.co.cogitolearning.cogpar
Class SequenceExpressionNode.Term
- java.lang.Object
-
- uk.co.cogitolearning.cogpar.SequenceExpressionNode.Term
-
- Enclosing class:
- SequenceExpressionNode
public class SequenceExpressionNode.Term extends Object
An inner class that defines a pair containing an ExpressionNode and a boolean flag.
-
-
Field Summary
Fields Modifier and Type Field Description ExpressionNodeexpressionthe expression nodebooleanpositivethe boolean flag
-
Constructor Summary
Constructors Constructor Description Term(boolean positive, ExpressionNode expression)Construct the Term object with some values.
-
-
-
Field Detail
-
positive
public final boolean positive
the boolean flag
-
expression
public final ExpressionNode expression
the expression node
-
-
Constructor Detail
-
Term
public Term(boolean positive, ExpressionNode expression)Construct the Term object with some values.- Parameters:
positive- the boolean flagexpression- the expression node
-
-