public static class OclNode.RealLiteralExp extends OclNode.LiteralExp
A RealLiteralExp OclNode represents a real value.
OclNode.AttributeCallExp, OclNode.BooleanLiteralExp, OclNode.BuiltInDescr, OclNode.BuiltInType, OclNode.ClassLiteralExp, OclNode.DataType, OclNode.DateTimeLiteralExp, OclNode.Declaration, OclNode.EnumerationLiteralExp, OclNode.Expression, OclNode.IfExp, OclNode.IntegerLiteralExp, OclNode.IterationCallExp, OclNode.LetExp, OclNode.LiteralExp, OclNode.MultiplicityMapping, OclNode.OclVoidLiteralExp, OclNode.OperationCallExp, OclNode.PackageLiteralExp, OclNode.PropertyCallExp, OclNode.PropertyCategory, OclNode.PropertySelector, OclNode.RealLiteralExp, OclNode.StringLiteralExp, OclNode.VariableExp
Modifier and Type | Field and Description |
---|---|
double |
value |
Modifier and Type | Method and Description |
---|---|
String |
asString()
This returns the value as a String.
|
void |
debugPrintContent(PrintWriter stream)
This is for generating debug output out of OclNodes.
|
debugPrint, getDataType, isBuiltInType, isMultiple, iso19103AssumedBuiltInType
public void debugPrintContent(PrintWriter stream)
This is for generating debug output out of OclNodes.
debugPrintContent
in class OclNode
stream
- PrintWriter onto which the debug output is to be directed.public String asString()
asString
in class OclNode.LiteralExp
Copyright © 2017. All rights reserved.