public static class OclNode.VariableExp extends OclNode
VariableExp objects stand for an instance of a variable in some expression. The variable is always associated with a single Declaration object, which defines the meaning of a variable.
Note that all access paths to model contents start with a VariableExp, mostly self.
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 |
---|---|
OclNode.Declaration |
declaration |
Constructor and Description |
---|
VariableExp(OclNode.Declaration decl)
Initialize a VariableExp from its associated Declaration object.
|
Modifier and Type | Method and Description |
---|---|
void |
debugPrintContent(PrintWriter stream)
This is for generating debug output out of OclNodes.
|
debugPrint, getDataType, isBuiltInType, isMultiple, iso19103AssumedBuiltInType
public OclNode.Declaration declaration
public VariableExp(OclNode.Declaration decl)
decl
- The Declaration for this variable instancepublic void debugPrintContent(PrintWriter stream)
This is for generating debug output out of OclNodes.
debugPrintContent
in class OclNode
streamPrint
- Writer onto which the debug output is to be directed.Copyright © 2018. All rights reserved.