Package com.powsybl.dsl.ast
Class BooleanLiteralNode
- java.lang.Object
-
- com.powsybl.dsl.ast.AbstractLiteralNode
-
- com.powsybl.dsl.ast.BooleanLiteralNode
-
- All Implemented Interfaces:
ExpressionNode
public class BooleanLiteralNode extends AbstractLiteralNode
- Author:
- Geoffroy Jamgotchian
-
-
Field Summary
Fields Modifier and Type Field Description static BooleanLiteralNode
FALSE
static BooleanLiteralNode
TRUE
-
Constructor Summary
Constructors Constructor Description BooleanLiteralNode(boolean value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LiteralType
getType()
Object
getValue()
-
Methods inherited from class com.powsybl.dsl.ast.AbstractLiteralNode
accept
-
-
-
-
Field Detail
-
TRUE
public static final BooleanLiteralNode TRUE
-
FALSE
public static final BooleanLiteralNode FALSE
-
-
Method Detail
-
getType
public LiteralType getType()
- Specified by:
getType
in classAbstractLiteralNode
-
getValue
public Object getValue()
- Specified by:
getValue
in classAbstractLiteralNode
-
-