org.jmodelica.modelica.compiler.InstArrayAccess Class Reference

node InstanceTree.ast:117 More...

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

org.jmodelica.modelica.compiler.InstAccess org.jmodelica.modelica.compiler.BaseNode org.jmodelica.modelica.compiler.CommonNamePart org.jmodelica.modelica.compiler.InstAmbiguousAccess org.jmodelica.modelica.compiler.InstComponentAccess org.jmodelica.modelica.compiler.InstParseAccess

List of all members.

Public Member Functions

void flushCache ()
 low-level
void flushCollectionCache ()
 internal
InstArrayAccess clone () throws CloneNotSupportedException
 internal
InstArrayAccess copy ()
 internal
InstArrayAccess fullCopy ()
 low-level
InstComponentDecl lookupArrayElement (InstComponentDecl array)
 method InstLookupComponents /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/InstLookupComponents.jrag:63
 InstArrayAccess ()
 method InstanceTree.ast:1
 InstArrayAccess (String p0, Opt< FArraySubscripts > p1)
 method InstanceTree.ast:8
 InstArrayAccess (beaver.Symbol p0, Opt< FArraySubscripts > p1)
 method InstanceTree.ast:13
boolean mayHaveRewrite ()
 internal method InstanceTree.ast:27
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 setFArraySubscriptsOpt (Opt< FArraySubscripts > opt)
 Setter for FArraySubscriptsOpt low-level method InstanceTree.ast:5.
boolean hasFArraySubscripts ()
 Does this node have a FArraySubscripts child? high-level method InstanceTree.ast:12.
FArraySubscripts getFArraySubscripts ()
 Getter for optional child FArraySubscripts high-level method InstanceTree.ast:19.
void setFArraySubscripts (FArraySubscripts node)
 Setter for optional child FArraySubscripts high-level method InstanceTree.ast:27.
Opt< FArraySubscriptsgetFArraySubscriptsOpt ()
 low-level method InstanceTree.ast:37
Opt< FArraySubscriptsgetFArraySubscriptsOptNoTransform ()
 low-level method InstanceTree.ast:44
void setExpandedSubscripts (FArraySubscripts node)
 Setter for ExpandedSubscripts high-level method InstanceTree.ast:5.
FArraySubscripts getExpandedSubscriptsNoTransform ()
 low-level method InstanceTree.ast:11
boolean isInstArrayAccess ()
 Check if an instance access has array subscripts.
FArraySubscripts fArraySubscripts ()
 Get the FArraySubscripts of an InstAccess, if any.
FArraySubscripts getExpandedSubscripts ()
 Get the expanded array subscripts of this access.
Size size ()
 Get the array sizes.
InstAccess splitArrayAccess (int index)
 syn Flattening /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Flattening.jrag:655
Size Define_Size_mySize (ASTNode caller, ASTNode child)
 /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Arrays.jrag:561 internal
HashSet Define_HashSet_lookupInstClass (ASTNode caller, ASTNode child, String name)
 /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/InstLookupClasses.jrag:294 internal
HashSet Define_HashSet_lookupInstComponent (ASTNode caller, ASTNode child, String name)
 /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/InstLookupComponents.jrag:43 internal
ASTNode rewriteTo ()
 internal

Protected Member Functions

InstArrayAccess specifyEach (Index i, int[] dim)
 method Arrays /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Arrays.jrag:1553
int numChildren ()
 low-level method InstanceTree.ast:21
int getExpandedSubscriptsChildPosition ()
 low-level method InstanceTree.ast:17


Detailed Description

node InstanceTree.ast:117

Constructor & Destructor Documentation

org.jmodelica.modelica.compiler.InstArrayAccess.InstArrayAccess (  ) 

method InstanceTree.ast:1

org.jmodelica.modelica.compiler.InstArrayAccess.InstArrayAccess ( String  p0,
Opt< FArraySubscripts p1 
)

method InstanceTree.ast:8

org.jmodelica.modelica.compiler.InstArrayAccess.InstArrayAccess ( beaver.Symbol  p0,
Opt< FArraySubscripts p1 
)

method InstanceTree.ast:13


Member Function Documentation

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

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

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

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

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

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

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

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

Size org.jmodelica.modelica.compiler.InstArrayAccess.Define_Size_mySize ( ASTNode  caller,
ASTNode  child 
)

/tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Arrays.jrag:561 internal

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

FArraySubscripts org.jmodelica.modelica.compiler.InstArrayAccess.fArraySubscripts (  ) 

Get the FArraySubscripts of an InstAccess, if any.

Returns:
A reference to a FArraySubscripts object, or null. syn Arrays /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Arrays.jrag:74

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

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

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

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

FArraySubscripts org.jmodelica.modelica.compiler.InstArrayAccess.getExpandedSubscripts (  ) 

Get the expanded array subscripts of this access.

An access without subscripts returns subscripts that span the entire component. Any colon subscripts are expanded into constant vector expressions. syn nta Arrays /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Arrays.jrag:331

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

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

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

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

Opt<FArraySubscripts> org.jmodelica.modelica.compiler.InstArrayAccess.getFArraySubscriptsOpt (  ) 

Opt<FArraySubscripts> org.jmodelica.modelica.compiler.InstArrayAccess.getFArraySubscriptsOptNoTransform (  ) 

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

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

boolean org.jmodelica.modelica.compiler.InstArrayAccess.isInstArrayAccess (  ) 

Check if an instance access has array subscripts.

Returns:
True if the access has array subscripts, otherwise false. syn Arrays /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Arrays.jrag:65

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

InstComponentDecl org.jmodelica.modelica.compiler.InstArrayAccess.lookupArrayElement ( InstComponentDecl  array  ) 

method InstLookupComponents /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/InstLookupComponents.jrag:63

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

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

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

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

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

void org.jmodelica.modelica.compiler.InstArrayAccess.setFArraySubscripts ( FArraySubscripts  node  ) 

void org.jmodelica.modelica.compiler.InstArrayAccess.setFArraySubscriptsOpt ( Opt< FArraySubscripts opt  ) 

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

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

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

Get the array sizes.

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

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

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

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

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

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

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

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


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

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