org.jmodelica.modelica.compiler.InstDot Class Reference

node InstanceTree.ast:115 More...

Inheritance diagram for org.jmodelica.modelica.compiler.InstDot:

org.jmodelica.modelica.compiler.InstAccess org.jmodelica.modelica.compiler.BaseNode org.jmodelica.modelica.compiler.CommonNamePart

List of all members.

Public Member Functions

void flushCache ()
 low-level
void flushCollectionCache ()
 internal
InstDot clone () throws CloneNotSupportedException
 internal
InstDot copy ()
 internal
InstDot fullCopy ()
 low-level
 InstDot (InstAccess left, InstAccess right)
 Constructs an InstDot with an empty ID.
void dumpTree (String indent)
 method InstDumpTree /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/DumpTree.jadd:175
void collectErrors ()
 method InstanceErrorCheck /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/ErrorCheck.jrag:753
void typeCheck ()
 method FlatTypeCheck /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatTypeCheck.jrag:507
void checkAccessCompInClassLeft (InstAccess right)
 method FlatTypeCheck /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatTypeCheck.jrag:515
void checkAccessCompInClassRight (InstClassDecl icd)
 method FlatTypeCheck /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatTypeCheck.jrag:532
void prettyPrint (Printer p, PrintStream str, String indent)
 method FlattPrettyPrint /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/PrettyPrint.jrag:1400
InstDot copyAndAppend (String id)
 method Names /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:727
 InstDot ()
 method InstanceTree.ast:1
 InstDot (String p0, InstAccess p1, InstAccess p2)
 method InstanceTree.ast:7
 InstDot (beaver.Symbol p0, InstAccess p1, InstAccess p2)
 method InstanceTree.ast:13
boolean mayHaveRewrite ()
 internal method InstanceTree.ast:28
void setID (String value)
 Setter for lexeme ID high-level method InstanceTree.ast:5.
void setID (beaver.Symbol symbol)
 method InstanceTree.ast:8
String getID ()
 Getter for lexeme ID high-level method InstanceTree.ast:19.
void setLeft (InstAccess node)
 Setter for Left high-level method InstanceTree.ast:5.
InstAccess getLeft ()
 Getter for Left high-level method InstanceTree.ast:12.
InstAccess getLeftNoTransform ()
 low-level method InstanceTree.ast:18
void setRight (InstAccess node)
 Setter for Right high-level method InstanceTree.ast:5.
InstAccess getRight ()
 Getter for Right high-level method InstanceTree.ast:12.
InstAccess getRightNoTransform ()
 low-level method InstanceTree.ast:18
void setExpandedSubscripts (FArraySubscripts node)
 Setter for ExpandedSubscripts high-level method InstanceTree.ast:5.
FArraySubscripts getExpandedSubscriptsNoTransform ()
 low-level method InstanceTree.ast:11
ArrayList< FArraySubscriptsallFArraySubscripts ()
 Get the expanded FArraySubscripts of each part of this access.
Size size ()
 Get the array sizes.
CValue ceval ()
 syn ConstantEvaluation /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/ConstantEvaluation.jrag:1283
InstAccess splitArrayAccess (int index)
 syn Flattening /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Flattening.jrag:644
HashSet lookupInstClass ()
 syn InstLookupClasses /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/InstLookupClasses.jrag:22
InstClassDecl myInstClassDecl ()
 syn InstLookupClasses /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/InstLookupClasses.jrag:510
InstComponentDecl myInstComponentDecl ()
 syn InstLookupComponents /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/InstLookupComponents.jrag:252
Kind predKind ()
 The attribute predKind defines the kind for the previous part of a qualified name.
String name ()
 syn Names /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:442
String qualifiedName ()
 syn Names /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:453
String lastName ()
 syn Names /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:478
String enclosingName ()
 syn Names /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:524
InstAccess getLastInstAccess ()
 syn Names /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:621
InstAccess getFirstInstAccess ()
 Access method for the first Access of a qualified or unqualified name.
FArraySubscripts getFArraySubscripts ()
 syn Names /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:705
boolean hasFArraySubscripts ()
 syn Names /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:708
boolean isSlice ()
 Check if this is a slice operation.
boolean isDisabled ()
 syn ComponentDeclMethods /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:1761
CValue Define_CValue_cevalRecordMember (ASTNode caller, ASTNode child, String id)
 /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/ConstantEvaluation.jrag:1325 internal
HashSet Define_HashSet_lookupInstClass (ASTNode caller, ASTNode child, String name)
 /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/InstLookupClasses.jrag:292 internal
HashSet Define_HashSet_lookupInstComponent (ASTNode caller, ASTNode child, String name)
 /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/InstLookupComponents.jrag:42 internal
Kind Define_Kind_kind (ASTNode caller, ASTNode child)
 /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/InstNameClassification.jrag:79 internal
InstAccess Define_InstAccess_getNextInstAccess (ASTNode caller, ASTNode child)
 /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:652 internal
InstAccess Define_InstAccess_retrieveTopInstAccess (ASTNode caller, ASTNode child, InstAccess pre)
 /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:695 internal
ASTNode rewriteTo ()
 internal

Protected Member Functions

InstDot specifyEach (Index i, int[] dim)
 method Arrays /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Arrays.jrag:1545
void typeError (InstAccess top)
 method FlatTypeCheck /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatTypeCheck.jrag:148
int numChildren ()
 low-level method InstanceTree.ast:22
int getExpandedSubscriptsChildPosition ()
 low-level method InstanceTree.ast:17

Protected Attributes

boolean name_computed = false
 internal
String name_value
 internal
boolean qualifiedName_computed = false
 internal
String qualifiedName_value
 internal


Detailed Description

node InstanceTree.ast:115

Constructor & Destructor Documentation

org.jmodelica.modelica.compiler.InstDot.InstDot ( InstAccess  left,
InstAccess  right 
)

Constructs an InstDot with an empty ID.

method Constructors /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Constructors.jrag:205

org.jmodelica.modelica.compiler.InstDot.InstDot (  ) 

method InstanceTree.ast:1

org.jmodelica.modelica.compiler.InstDot.InstDot ( String  p0,
InstAccess  p1,
InstAccess  p2 
)

method InstanceTree.ast:7

org.jmodelica.modelica.compiler.InstDot.InstDot ( beaver.Symbol  p0,
InstAccess  p1,
InstAccess  p2 
)

method InstanceTree.ast:13


Member Function Documentation

ArrayList<FArraySubscripts> org.jmodelica.modelica.compiler.InstDot.allFArraySubscripts (  ) 

Get the expanded FArraySubscripts of each part of this access.

syn Arrays /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Arrays.jrag:302

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

CValue org.jmodelica.modelica.compiler.InstDot.ceval (  ) 

syn ConstantEvaluation /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/ConstantEvaluation.jrag:1283

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

void org.jmodelica.modelica.compiler.InstDot.checkAccessCompInClassLeft ( InstAccess  right  ) 

method FlatTypeCheck /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatTypeCheck.jrag:515

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

void org.jmodelica.modelica.compiler.InstDot.checkAccessCompInClassRight ( InstClassDecl  icd  ) 

method FlatTypeCheck /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatTypeCheck.jrag:532

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

InstDot org.jmodelica.modelica.compiler.InstDot.clone (  )  throws CloneNotSupportedException

internal

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

void org.jmodelica.modelica.compiler.InstDot.collectErrors (  ) 

method InstanceErrorCheck /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/ErrorCheck.jrag:753

InstDot org.jmodelica.modelica.compiler.InstDot.copy (  ) 

internal

InstDot org.jmodelica.modelica.compiler.InstDot.copyAndAppend ( String  id  ) 

method Names /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:727

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

CValue org.jmodelica.modelica.compiler.InstDot.Define_CValue_cevalRecordMember ( ASTNode  caller,
ASTNode  child,
String  id 
)

/tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/ConstantEvaluation.jrag:1325 internal

Reimplemented from org.jmodelica.modelica.compiler.BaseNode.

HashSet org.jmodelica.modelica.compiler.InstDot.Define_HashSet_lookupInstClass ( ASTNode  caller,
ASTNode  child,
String  name 
)

/tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/InstLookupClasses.jrag:292 internal

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

HashSet org.jmodelica.modelica.compiler.InstDot.Define_HashSet_lookupInstComponent ( ASTNode  caller,
ASTNode  child,
String  name 
)

/tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/InstLookupComponents.jrag:42 internal

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

InstAccess org.jmodelica.modelica.compiler.InstDot.Define_InstAccess_getNextInstAccess ( ASTNode  caller,
ASTNode  child 
)

/tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:652 internal

InstAccess org.jmodelica.modelica.compiler.InstDot.Define_InstAccess_retrieveTopInstAccess ( ASTNode  caller,
ASTNode  child,
InstAccess  pre 
)

/tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:695 internal

Kind org.jmodelica.modelica.compiler.InstDot.Define_Kind_kind ( ASTNode  caller,
ASTNode  child 
)

/tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/InstNameClassification.jrag:79 internal

void org.jmodelica.modelica.compiler.InstDot.dumpTree ( String  indent  ) 

method InstDumpTree /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/DumpTree.jadd:175

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

String org.jmodelica.modelica.compiler.InstDot.enclosingName (  ) 

syn Names /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:524

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

void org.jmodelica.modelica.compiler.InstDot.flushCache (  ) 

low-level

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

void org.jmodelica.modelica.compiler.InstDot.flushCollectionCache (  ) 

internal

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

InstDot org.jmodelica.modelica.compiler.InstDot.fullCopy (  ) 

low-level

int org.jmodelica.modelica.compiler.InstDot.getExpandedSubscriptsChildPosition (  )  [protected]

low-level method InstanceTree.ast:17

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

FArraySubscripts org.jmodelica.modelica.compiler.InstDot.getExpandedSubscriptsNoTransform (  ) 

low-level method InstanceTree.ast:11

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

FArraySubscripts org.jmodelica.modelica.compiler.InstDot.getFArraySubscripts (  ) 

syn Names /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:705

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

InstAccess org.jmodelica.modelica.compiler.InstDot.getFirstInstAccess (  ) 

Access method for the first Access of a qualified or unqualified name.

syn Names /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:647

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

String org.jmodelica.modelica.compiler.InstDot.getID (  ) 

Getter for lexeme ID high-level method InstanceTree.ast:19.

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

InstAccess org.jmodelica.modelica.compiler.InstDot.getLastInstAccess (  ) 

syn Names /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:621

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

InstAccess org.jmodelica.modelica.compiler.InstDot.getLeft (  ) 

Getter for Left high-level method InstanceTree.ast:12.

InstAccess org.jmodelica.modelica.compiler.InstDot.getLeftNoTransform (  ) 

low-level method InstanceTree.ast:18

InstAccess org.jmodelica.modelica.compiler.InstDot.getRight (  ) 

Getter for Right high-level method InstanceTree.ast:12.

InstAccess org.jmodelica.modelica.compiler.InstDot.getRightNoTransform (  ) 

low-level method InstanceTree.ast:18

boolean org.jmodelica.modelica.compiler.InstDot.hasFArraySubscripts (  ) 

syn Names /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:708

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

boolean org.jmodelica.modelica.compiler.InstDot.isDisabled (  ) 

syn ComponentDeclMethods /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:1761

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

boolean org.jmodelica.modelica.compiler.InstDot.isSlice (  ) 

Check if this is a slice operation.

syn Slices /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:753

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

String org.jmodelica.modelica.compiler.InstDot.lastName (  ) 

syn Names /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:478

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

HashSet org.jmodelica.modelica.compiler.InstDot.lookupInstClass (  ) 

syn InstLookupClasses /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/InstLookupClasses.jrag:22

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

boolean org.jmodelica.modelica.compiler.InstDot.mayHaveRewrite (  ) 

internal method InstanceTree.ast:28

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

InstClassDecl org.jmodelica.modelica.compiler.InstDot.myInstClassDecl (  ) 

syn InstLookupClasses /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/InstLookupClasses.jrag:510

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

InstComponentDecl org.jmodelica.modelica.compiler.InstDot.myInstComponentDecl (  ) 

syn InstLookupComponents /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/InstLookupComponents.jrag:252

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

String org.jmodelica.modelica.compiler.InstDot.name (  ) 

syn Names /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:442

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

int org.jmodelica.modelica.compiler.InstDot.numChildren (  )  [protected]

low-level method InstanceTree.ast:22

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

Kind org.jmodelica.modelica.compiler.InstDot.predKind (  ) 

The attribute predKind defines the kind for the previous part of a qualified name.

syn InstNameClassification /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/InstNameClassification.jrag:103

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

void org.jmodelica.modelica.compiler.InstDot.prettyPrint ( Printer  p,
PrintStream  str,
String  indent 
)

method FlattPrettyPrint /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/PrettyPrint.jrag:1400

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

String org.jmodelica.modelica.compiler.InstDot.qualifiedName (  ) 

syn Names /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:453

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

ASTNode org.jmodelica.modelica.compiler.InstDot.rewriteTo (  ) 

internal

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

void org.jmodelica.modelica.compiler.InstDot.setExpandedSubscripts ( FArraySubscripts  node  ) 

Setter for ExpandedSubscripts high-level method InstanceTree.ast:5.

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

void org.jmodelica.modelica.compiler.InstDot.setID ( beaver.Symbol  symbol  ) 

method InstanceTree.ast:8

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

void org.jmodelica.modelica.compiler.InstDot.setID ( String  value  ) 

Setter for lexeme ID high-level method InstanceTree.ast:5.

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

void org.jmodelica.modelica.compiler.InstDot.setLeft ( InstAccess  node  ) 

Setter for Left high-level method InstanceTree.ast:5.

void org.jmodelica.modelica.compiler.InstDot.setRight ( InstAccess  node  ) 

Setter for Right high-level method InstanceTree.ast:5.

Size org.jmodelica.modelica.compiler.InstDot.size (  ) 

Get the array sizes.

syn Arrays /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Arrays.jrag:821

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

InstDot org.jmodelica.modelica.compiler.InstDot.specifyEach ( Index  i,
int[]  dim 
) [protected]

method Arrays /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Arrays.jrag:1545

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

InstAccess org.jmodelica.modelica.compiler.InstDot.splitArrayAccess ( int  index  ) 

syn Flattening /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Flattening.jrag:644

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

void org.jmodelica.modelica.compiler.InstDot.typeCheck (  ) 

method FlatTypeCheck /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatTypeCheck.jrag:507

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.

void org.jmodelica.modelica.compiler.InstDot.typeError ( InstAccess  top  )  [protected]

method FlatTypeCheck /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatTypeCheck.jrag:148

Reimplemented from org.jmodelica.modelica.compiler.InstAccess.


Member Data Documentation

internal

internal

internal

internal


The documentation for this class was generated from the following file:

Generated on Fri Oct 7 14:50:46 2011 for JModelica.org by  doxygen 1.5.8