org.jmodelica.modelica.compiler.InstGlobalAccess Class Reference

node InstanceTree.ast:120 More...

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

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
InstGlobalAccess clone () throws CloneNotSupportedException
 internal
InstGlobalAccess copy ()
 internal
InstGlobalAccess fullCopy ()
 low-level
 InstGlobalAccess (InstAccess access)
 Constructs an InstGlobalAccess with an empty ID.
void dumpTree (String indent)
 method InstDumpTree /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/DumpTree.jadd:181
void prettyPrint (Printer p, PrintStream str, String indent)
 method FlattPrettyPrint /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/PrettyPrint.jrag:1406
 InstGlobalAccess ()
 method InstanceTree.ast:1
 InstGlobalAccess (String p0, InstAccess p1)
 method InstanceTree.ast:7
 InstGlobalAccess (beaver.Symbol p0, InstAccess p1)
 method InstanceTree.ast:12
boolean mayHaveRewrite ()
 internal method InstanceTree.ast:26
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 setInstAccess (InstAccess node)
 Setter for InstAccess high-level method InstanceTree.ast:5.
InstAccess getInstAccess ()
 Getter for InstAccess high-level method InstanceTree.ast:12.
InstAccess getInstAccessNoTransform ()
 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:1284
InstAccess splitArrayAccess (int index)
 syn Flattening /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Flattening.jrag:666
HashSet lookupInstClass ()
 syn InstLookupClasses /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/InstLookupClasses.jrag:23
InstClassDecl myInstClassDecl ()
 syn InstLookupClasses /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/InstLookupClasses.jrag:511
InstComponentDecl myInstComponentDecl ()
 syn InstLookupComponents /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/InstLookupComponents.jrag:253
String name ()
 syn Names /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:441
String qualifiedName ()
 syn Names /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:455
String lastName ()
 syn Names /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:479
String enclosingName ()
 syn Names /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:525
InstAccess getLastInstAccess ()
 syn Names /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:622
InstAccess getFirstInstAccess ()
 Access method for the first Access of a qualified or unqualified name.
HashSet Define_HashSet_lookupInstClass (ASTNode caller, ASTNode child, String name)
 /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/InstLookupClasses.jrag:293 internal
HashSet Define_HashSet_lookupInstComponent (ASTNode caller, ASTNode child, String name)
 /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/InstLookupComponents.jrag:45 internal
InstAccess Define_InstAccess_retrieveTopInstAccess (ASTNode caller, ASTNode child, InstAccess pre)
 /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:696 internal
ASTNode rewriteTo ()
 internal

Protected Member Functions

InstGlobalAccess specifyEach (Index i, int[] dim)
 method Arrays /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Arrays.jrag:1549
void typeError (InstAccess top)
 method FlatTypeCheck /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatTypeCheck.jrag:152
int numChildren ()
 low-level method InstanceTree.ast:20
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:120

Constructor & Destructor Documentation

org.jmodelica.modelica.compiler.InstGlobalAccess.InstGlobalAccess ( InstAccess  access  ) 

Constructs an InstGlobalAccess with an empty ID.

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

org.jmodelica.modelica.compiler.InstGlobalAccess.InstGlobalAccess (  ) 

method InstanceTree.ast:1

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

method InstanceTree.ast:7

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

method InstanceTree.ast:12


Member Function Documentation

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

Get the expanded FArraySubscripts of each part of this access.

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

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

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

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

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

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

internal

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

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

internal

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

low-level

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

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

internal

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

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

low-level

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

low-level method InstanceTree.ast:17

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

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

low-level method InstanceTree.ast:11

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

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

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

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

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

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

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

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

InstAccess org.jmodelica.modelica.compiler.InstGlobalAccess.getInstAccess (  ) 

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

InstAccess org.jmodelica.modelica.compiler.InstGlobalAccess.getInstAccessNoTransform (  ) 

low-level method InstanceTree.ast:18

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

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

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

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

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

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

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

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

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

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

internal method InstanceTree.ast:26

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

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

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

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

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

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

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

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

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

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

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

low-level method InstanceTree.ast:20

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

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

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

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

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

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

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

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

internal

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

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

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

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

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

method InstanceTree.ast:8

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

void org.jmodelica.modelica.compiler.InstGlobalAccess.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.InstGlobalAccess.setInstAccess ( InstAccess  node  ) 

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

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

Get the array sizes.

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

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

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

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

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

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

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

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

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

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

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:50 2011 for JModelica.org by  doxygen 1.5.8