Package com.powsybl.dsl.ast
Class AbstractLiteralNode
- java.lang.Object
-
- com.powsybl.dsl.ast.AbstractLiteralNode
-
- All Implemented Interfaces:
ExpressionNode
- Direct Known Subclasses:
BigDecimalLiteralNode
,BooleanLiteralNode
,DoubleLiteralNode
,FloatLiteralNode
,IntegerLiteralNode
,StringLiteralNode
public abstract class AbstractLiteralNode extends Object implements ExpressionNode
- Author:
- Geoffroy Jamgotchian
-
-
Constructor Summary
Constructors Constructor Description AbstractLiteralNode()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description <R,A>
Raccept(ExpressionVisitor<R,A> visitor, A arg)
abstract LiteralType
getType()
abstract Object
getValue()
-
-
-
Method Detail
-
getType
public abstract LiteralType getType()
-
getValue
public abstract Object getValue()
-
accept
public <R,A> R accept(ExpressionVisitor<R,A> visitor, A arg)
- Specified by:
accept
in interfaceExpressionNode
-
-