org.jmodelica.modelica.compiler.InstElementModification Class Reference

node InstanceTree.ast:144 More...

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

org.jmodelica.modelica.compiler.InstNamedModification org.jmodelica.modelica.compiler.InstArgument org.jmodelica.modelica.compiler.InstModification org.jmodelica.modelica.compiler.BaseNode org.jmodelica.modelica.compiler.InstComponentModification

List of all members.

Public Member Functions

void flushCache ()
 low-level
void flushCollectionCache ()
 internal
InstElementModification clone () throws CloneNotSupportedException
 internal
 InstElementModification ()
 method InstanceTree.ast:1
 InstElementModification (Modification p0, boolean p1, boolean p2, InstAccess p3, Opt< InstModification > p4)
 method InstanceTree.ast:8
boolean mayHaveRewrite ()
 internal method InstanceTree.ast:24
void setModification (Modification value)
 Setter for lexeme Modification high-level method InstanceTree.ast:5.
Modification getModification ()
 Getter for lexeme Modification high-level method InstanceTree.ast:12.
void setEach (boolean value)
 Setter for lexeme Each high-level method InstanceTree.ast:5.
boolean getEach ()
 Getter for lexeme Each high-level method InstanceTree.ast:12.
void setFinal (boolean value)
 Setter for lexeme Final high-level method InstanceTree.ast:5.
boolean getFinal ()
 Getter for lexeme Final high-level method InstanceTree.ast:12.
void setName (InstAccess node)
 Setter for Name high-level method InstanceTree.ast:5.
InstAccess getName ()
 Getter for Name high-level method InstanceTree.ast:12.
InstAccess getNameNoTransform ()
 low-level method InstanceTree.ast:18
void setInstModificationOpt (Opt< InstModification > opt)
 Setter for InstModificationOpt low-level method InstanceTree.ast:5.
boolean hasInstModification ()
 Does this node have a InstModification child? high-level method InstanceTree.ast:12.
InstModification getInstModification ()
 Getter for optional child InstModification high-level method InstanceTree.ast:19.
void setInstModification (InstModification node)
 Setter for optional child InstModification high-level method InstanceTree.ast:27.
Opt< InstModificationgetInstModificationOpt ()
 low-level method InstanceTree.ast:37
Opt< InstModificationgetInstModificationOptNoTransform ()
 low-level method InstanceTree.ast:44
HashSet lookupInstClassInInstClass (String name)
 inh InstLookupClassesInModifications /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/InstLookupClasses.jrag:574
HashSet lookupInstComponentInInstElement (String name)
 The inherited attribute lookupInstComponentInInstElement defines the lookup mechanism for left hand component references in modifications.
HashSet Define_HashSet_lookupInstClass (ASTNode caller, ASTNode child, String name)
 /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/InstLookupClasses.jrag:576 internal
HashSet Define_HashSet_lookupInstClassInInstClass (ASTNode caller, ASTNode child, String name)
 /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/InstLookupClasses.jrag:579 internal
HashSet Define_HashSet_lookupInstComponentInInstElement (ASTNode caller, ASTNode child, String name)
 /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/InstLookupComponents.jrag:276 internal
ASTNode rewriteTo ()
 internal

Protected Member Functions

int numChildren ()
 low-level method InstanceTree.ast:18


Detailed Description

node InstanceTree.ast:144

Constructor & Destructor Documentation

org.jmodelica.modelica.compiler.InstElementModification.InstElementModification (  ) 

method InstanceTree.ast:1

org.jmodelica.modelica.compiler.InstElementModification.InstElementModification ( Modification  p0,
boolean  p1,
boolean  p2,
InstAccess  p3,
Opt< InstModification p4 
)

method InstanceTree.ast:8


Member Function Documentation

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

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

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

HashSet org.jmodelica.modelica.compiler.InstElementModification.Define_HashSet_lookupInstClassInInstClass ( ASTNode  caller,
ASTNode  child,
String  name 
)

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

HashSet org.jmodelica.modelica.compiler.InstElementModification.Define_HashSet_lookupInstComponentInInstElement ( ASTNode  caller,
ASTNode  child,
String  name 
)

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

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

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

boolean org.jmodelica.modelica.compiler.InstElementModification.getEach (  ) 

Getter for lexeme Each high-level method InstanceTree.ast:12.

Reimplemented from org.jmodelica.modelica.compiler.InstNamedModification.

Reimplemented in org.jmodelica.modelica.compiler.InstComponentModification.

boolean org.jmodelica.modelica.compiler.InstElementModification.getFinal (  ) 

Getter for lexeme Final high-level method InstanceTree.ast:12.

Reimplemented from org.jmodelica.modelica.compiler.InstNamedModification.

Reimplemented in org.jmodelica.modelica.compiler.InstComponentModification.

InstModification org.jmodelica.modelica.compiler.InstElementModification.getInstModification (  ) 

Getter for optional child InstModification high-level method InstanceTree.ast:19.

Reimplemented in org.jmodelica.modelica.compiler.InstComponentModification.

Opt<InstModification> org.jmodelica.modelica.compiler.InstElementModification.getInstModificationOpt (  ) 

low-level method InstanceTree.ast:37

Reimplemented in org.jmodelica.modelica.compiler.InstComponentModification.

Opt<InstModification> org.jmodelica.modelica.compiler.InstElementModification.getInstModificationOptNoTransform (  ) 

low-level method InstanceTree.ast:44

Reimplemented in org.jmodelica.modelica.compiler.InstComponentModification.

Modification org.jmodelica.modelica.compiler.InstElementModification.getModification (  ) 

Getter for lexeme Modification high-level method InstanceTree.ast:12.

Reimplemented from org.jmodelica.modelica.compiler.InstNamedModification.

Reimplemented in org.jmodelica.modelica.compiler.InstComponentModification.

InstAccess org.jmodelica.modelica.compiler.InstElementModification.getName (  ) 

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

Reimplemented from org.jmodelica.modelica.compiler.InstNamedModification.

Reimplemented in org.jmodelica.modelica.compiler.InstComponentModification.

InstAccess org.jmodelica.modelica.compiler.InstElementModification.getNameNoTransform (  ) 

low-level method InstanceTree.ast:18

Reimplemented from org.jmodelica.modelica.compiler.InstNamedModification.

Reimplemented in org.jmodelica.modelica.compiler.InstComponentModification.

boolean org.jmodelica.modelica.compiler.InstElementModification.hasInstModification (  ) 

Does this node have a InstModification child? high-level method InstanceTree.ast:12.

Reimplemented in org.jmodelica.modelica.compiler.InstComponentModification.

HashSet org.jmodelica.modelica.compiler.InstElementModification.lookupInstClassInInstClass ( String  name  ) 

inh InstLookupClassesInModifications /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/InstLookupClasses.jrag:574

HashSet org.jmodelica.modelica.compiler.InstElementModification.lookupInstComponentInInstElement ( String  name  ) 

The inherited attribute lookupInstComponentInInstElement defines the lookup mechanism for left hand component references in modifications.

InstComponents are looked up in InstComponentDecl:s sometimes and in InstClassDecl:s sometimes. TODO: this should probably be fixed.

inh LookupInstComponentsInModifications /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/InstLookupComponents.jrag:266

Reimplemented from org.jmodelica.modelica.compiler.InstNamedModification.

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

internal method InstanceTree.ast:24

Reimplemented from org.jmodelica.modelica.compiler.InstNamedModification.

Reimplemented in org.jmodelica.modelica.compiler.InstComponentModification.

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

low-level method InstanceTree.ast:18

Reimplemented from org.jmodelica.modelica.compiler.InstNamedModification.

Reimplemented in org.jmodelica.modelica.compiler.InstComponentModification.

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

void org.jmodelica.modelica.compiler.InstElementModification.setEach ( boolean  value  ) 

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

Reimplemented from org.jmodelica.modelica.compiler.InstNamedModification.

Reimplemented in org.jmodelica.modelica.compiler.InstComponentModification.

void org.jmodelica.modelica.compiler.InstElementModification.setFinal ( boolean  value  ) 

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

Reimplemented from org.jmodelica.modelica.compiler.InstNamedModification.

Reimplemented in org.jmodelica.modelica.compiler.InstComponentModification.

void org.jmodelica.modelica.compiler.InstElementModification.setInstModification ( InstModification  node  ) 

Setter for optional child InstModification high-level method InstanceTree.ast:27.

Reimplemented in org.jmodelica.modelica.compiler.InstComponentModification.

void org.jmodelica.modelica.compiler.InstElementModification.setInstModificationOpt ( Opt< InstModification opt  ) 

Setter for InstModificationOpt low-level method InstanceTree.ast:5.

Reimplemented in org.jmodelica.modelica.compiler.InstComponentModification.

void org.jmodelica.modelica.compiler.InstElementModification.setModification ( Modification  value  ) 

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

Reimplemented from org.jmodelica.modelica.compiler.InstNamedModification.

Reimplemented in org.jmodelica.modelica.compiler.InstComponentModification.

void org.jmodelica.modelica.compiler.InstElementModification.setName ( InstAccess  node  ) 

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

Reimplemented from org.jmodelica.modelica.compiler.InstNamedModification.

Reimplemented in org.jmodelica.modelica.compiler.InstComponentModification.


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