Package com.gengoai.parsing
Class BaseExpression
- java.lang.Object
-
- com.gengoai.parsing.BaseExpression
-
- All Implemented Interfaces:
Expression
,Serializable
- Direct Known Subclasses:
BinaryInfixOperatorExpression
,ListExpression
,UnaryOperatorExpression
,ValueExpression
public abstract class BaseExpression extends Object implements Expression
Abstract Base Class for Expressions to implement.- Author:
- David B. Bracewell
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BaseExpression(Tag tag)
Instantiates a new BaseExpression
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tag
getType()
Gets the tag associated with the Expression-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.gengoai.parsing.Expression
apply, as, isInstance, isInstance, isInstance, when, when
-
-
-
-
Constructor Detail
-
BaseExpression
public BaseExpression(Tag tag)
Instantiates a new BaseExpression- Parameters:
tag
- the tag for the expression
-
-
Method Detail
-
getType
public Tag getType()
Description copied from interface:Expression
Gets the tag associated with the Expression- Specified by:
getType
in interfaceExpression
- Returns:
- the type
-
-