de.interactive_instruments.ShapeChange.Ocl
Class OclNode.VariableExp

java.lang.Object
  extended by de.interactive_instruments.ShapeChange.Ocl.OclNode
      extended by de.interactive_instruments.ShapeChange.Ocl.OclNode.VariableExp
Enclosing class:
OclNode

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.


Nested Class Summary
 
Nested classes/interfaces inherited from class de.interactive_instruments.ShapeChange.Ocl.OclNode
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
 
Field Summary
 OclNode.Declaration declaration
           
 
Fields inherited from class de.interactive_instruments.ShapeChange.Ocl.OclNode
dataType
 
Constructor Summary
OclNode.VariableExp(OclNode.Declaration decl)
          Initialize a VariableExp from its associated Declaration object.
 
Method Summary
 void debugPrintContent(PrintWriter stream)
          This is for generating debug output out of OclNodes.
 
Methods inherited from class de.interactive_instruments.ShapeChange.Ocl.OclNode
debugPrint, getDataType, isBuiltInType, isMultiple, iso19103AssumedBuiltInType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

declaration

public OclNode.Declaration declaration
Constructor Detail

OclNode.VariableExp

public OclNode.VariableExp(OclNode.Declaration decl)
Initialize a VariableExp from its associated Declaration object.

Parameters:
decl - The Declaration for this variable instance
Method Detail

debugPrintContent

public void debugPrintContent(PrintWriter stream)

This is for generating debug output out of OclNodes.

Overrides:
debugPrintContent in class OclNode
Parameters:
streamPrint - Writer onto which the debug output is to be directed.


Copyright © 2015. All rights reserved.