Class InverseNode
- java.lang.Object
-
- com.aquima.interactions.expressions.parser.ParseNodeBase
-
- com.aquima.interactions.expressions.r7.parser.nodes.InverseNode
-
- All Implemented Interfaces:
IParseNode
public class InverseNode extends ParseNodeBase
The InverseExpression class will wrap an expression, and invert its's sign.- Since:
- 5.0
- Author:
- O. Kerpershoek, F. van der Meer
-
-
Constructor Summary
Constructors Constructor Description InverseNode(IParseNode expression)
Constructs an Inverse statement for the specified expression.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IParseNode
getExpression()
This method returns the expression whose sign is inverted by this statement.String
toString()
-
Methods inherited from class com.aquima.interactions.expressions.parser.ParseNodeBase
getEndPosition, getPosition, setPosition
-
-
-
-
Constructor Detail
-
InverseNode
public InverseNode(IParseNode expression)
Constructs an Inverse statement for the specified expression.- Parameters:
expression
- The expression that should be inverted.
-
-
Method Detail
-
getExpression
public IParseNode getExpression()
This method returns the expression whose sign is inverted by this statement.- Returns:
- The expression whose sign is inverted by this statement.
-
-