
Public Member Functions | |
| CValueBoolean (boolean b) | |
| Constructor. | |
| boolean | booleanValue () |
| Convert to boolean. | |
| int | intValue () |
| Convert to int. | |
| CValue | convertBoolean () |
| Convert to CValueBoolean. | |
| String | stringValue () |
| Convert to string. | |
| FLitExp | buildLiteral () |
| Create a new literal expression AST node. | |
Static Public Attributes | |
| static final CValueBoolean | FALSE = new CValueBoolean(false) |
A CValueBolean with the value false, for conveniance. | |
| static final CValueBoolean | TRUE = new CValueBoolean(false) |
A CValueBolean with the value true, for conveniance. | |
class :0
| org.jmodelica.modelica.compiler.CValueBoolean.CValueBoolean | ( | boolean | b | ) |
Constructor.
| b | Boolean value. |
| boolean org.jmodelica.modelica.compiler.CValueBoolean.booleanValue | ( | ) |
Convert to boolean.
Reimplemented from org.jmodelica.modelica.compiler.CValue.
| FLitExp org.jmodelica.modelica.compiler.CValueBoolean.buildLiteral | ( | ) |
Create a new literal expression AST node.
Reimplemented from org.jmodelica.modelica.compiler.CValue.
| CValue org.jmodelica.modelica.compiler.CValueBoolean.convertBoolean | ( | ) |
| int org.jmodelica.modelica.compiler.CValueBoolean.intValue | ( | ) |
Convert to int.
Used for array index and comparisons.
Reimplemented from org.jmodelica.modelica.compiler.CValue.
| String org.jmodelica.modelica.compiler.CValueBoolean.stringValue | ( | ) |
Convert to string.
Reimplemented from org.jmodelica.modelica.compiler.CValue.
final CValueBoolean org.jmodelica.modelica.compiler.CValueBoolean.FALSE = new CValueBoolean(false) [static] |
A CValueBolean with the value false, for conveniance.
final CValueBoolean org.jmodelica.modelica.compiler.CValueBoolean.TRUE = new CValueBoolean(false) [static] |
A CValueBolean with the value true, for conveniance.
1.5.8