org.jmodelica.modelica.compiler.IfWhenStmt Class Reference

node Modelica.ast:326 More...

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

org.jmodelica.modelica.compiler.Statement org.jmodelica.modelica.compiler.BaseNode org.jmodelica.modelica.compiler.IfStmt org.jmodelica.modelica.compiler.WhenStmt

List of all members.

Public Member Functions

void flushCache ()
 low-level
void flushCollectionCache ()
 internal
IfWhenStmt clone () throws CloneNotSupportedException
 internal
 IfWhenStmt ()
 method Modelica.ast:1
 IfWhenStmt (Comment p0, List< IfWhenClause > p1)
 method Modelica.ast:8
boolean mayHaveRewrite ()
 internal method Modelica.ast:21
void setComment (Comment node)
 Setter for Comment high-level method Modelica.ast:5.
Comment getComment ()
 Getter for Comment high-level method Modelica.ast:12.
Comment getCommentNoTransform ()
 low-level method Modelica.ast:18
void setIfWhenClauseList (List< IfWhenClause > list)
 Setter for IfWhenClauseList high-level method Modelica.ast:5.
int getNumIfWhenClause ()
IfWhenClause getIfWhenClause (int i)
 Getter for child in list IfWhenClauseList high-level method Modelica.ast:19.
void addIfWhenClause (IfWhenClause node)
 Add element to list IfWhenClauseList high-level method Modelica.ast:27.
void addIfWhenClauseNoTransform (IfWhenClause node)
 low-level method Modelica.ast:34
void setIfWhenClause (IfWhenClause node, int i)
 Setter for child in list IfWhenClauseList high-level method Modelica.ast:42.
List< IfWhenClausegetIfWhenClauses ()
 Getter for IfWhenClause list.
List< IfWhenClausegetIfWhenClausesNoTransform ()
 low-level method Modelica.ast:56
List< IfWhenClausegetIfWhenClauseList ()
 Getter for list IfWhenClauseList high-level method Modelica.ast:63.
List< IfWhenClausegetIfWhenClauseListNoTransform ()
 low-level method Modelica.ast:72
ASTNode rewriteTo ()
 internal

Protected Member Functions

FIfWhenStmt instantiateStatement ()
 method InstantiatedExpressions /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Flattening.jrag:1542
abstract FIfWhenStmt instantiateIfWhenStmt (List l)
 method InstantiatedExpressions /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Flattening.jrag:1549
int numChildren ()
 low-level method Modelica.ast:15


Detailed Description

node Modelica.ast:326

Constructor & Destructor Documentation

org.jmodelica.modelica.compiler.IfWhenStmt.IfWhenStmt (  ) 

method Modelica.ast:1

org.jmodelica.modelica.compiler.IfWhenStmt.IfWhenStmt ( Comment  p0,
List< IfWhenClause p1 
)

method Modelica.ast:8


Member Function Documentation

void org.jmodelica.modelica.compiler.IfWhenStmt.addIfWhenClause ( IfWhenClause  node  ) 

Add element to list IfWhenClauseList high-level method Modelica.ast:27.

Reimplemented in org.jmodelica.modelica.compiler.IfStmt, and org.jmodelica.modelica.compiler.WhenStmt.

void org.jmodelica.modelica.compiler.IfWhenStmt.addIfWhenClauseNoTransform ( IfWhenClause  node  ) 

low-level method Modelica.ast:34

Reimplemented in org.jmodelica.modelica.compiler.IfStmt, and org.jmodelica.modelica.compiler.WhenStmt.

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

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

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

Comment org.jmodelica.modelica.compiler.IfWhenStmt.getComment (  ) 

Getter for Comment high-level method Modelica.ast:12.

Reimplemented from org.jmodelica.modelica.compiler.Statement.

Reimplemented in org.jmodelica.modelica.compiler.IfStmt, and org.jmodelica.modelica.compiler.WhenStmt.

Comment org.jmodelica.modelica.compiler.IfWhenStmt.getCommentNoTransform (  ) 

low-level method Modelica.ast:18

Reimplemented from org.jmodelica.modelica.compiler.Statement.

Reimplemented in org.jmodelica.modelica.compiler.IfStmt, and org.jmodelica.modelica.compiler.WhenStmt.

IfWhenClause org.jmodelica.modelica.compiler.IfWhenStmt.getIfWhenClause ( int  i  ) 

Getter for child in list IfWhenClauseList high-level method Modelica.ast:19.

Reimplemented in org.jmodelica.modelica.compiler.IfStmt, and org.jmodelica.modelica.compiler.WhenStmt.

List<IfWhenClause> org.jmodelica.modelica.compiler.IfWhenStmt.getIfWhenClauseList (  ) 

Getter for list IfWhenClauseList high-level method Modelica.ast:63.

Reimplemented in org.jmodelica.modelica.compiler.IfStmt, and org.jmodelica.modelica.compiler.WhenStmt.

List<IfWhenClause> org.jmodelica.modelica.compiler.IfWhenStmt.getIfWhenClauseListNoTransform (  ) 

low-level method Modelica.ast:72

Reimplemented in org.jmodelica.modelica.compiler.IfStmt, and org.jmodelica.modelica.compiler.WhenStmt.

List<IfWhenClause> org.jmodelica.modelica.compiler.IfWhenStmt.getIfWhenClauses (  ) 

Getter for IfWhenClause list.

high-level method Modelica.ast:50

Reimplemented in org.jmodelica.modelica.compiler.IfStmt, and org.jmodelica.modelica.compiler.WhenStmt.

List<IfWhenClause> org.jmodelica.modelica.compiler.IfWhenStmt.getIfWhenClausesNoTransform (  ) 

low-level method Modelica.ast:56

Reimplemented in org.jmodelica.modelica.compiler.IfStmt, and org.jmodelica.modelica.compiler.WhenStmt.

int org.jmodelica.modelica.compiler.IfWhenStmt.getNumIfWhenClause (  ) 

Returns:
number of children in IfWhenClauseList high-level method Modelica.ast:12

Reimplemented in org.jmodelica.modelica.compiler.IfStmt, and org.jmodelica.modelica.compiler.WhenStmt.

abstract FIfWhenStmt org.jmodelica.modelica.compiler.IfWhenStmt.instantiateIfWhenStmt ( List  l  )  [protected, pure virtual]

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

Implemented in org.jmodelica.modelica.compiler.IfStmt, and org.jmodelica.modelica.compiler.WhenStmt.

FIfWhenStmt org.jmodelica.modelica.compiler.IfWhenStmt.instantiateStatement (  )  [protected, virtual]

method InstantiatedExpressions /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Flattening.jrag:1542

Implements org.jmodelica.modelica.compiler.Statement.

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

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

low-level method Modelica.ast:15

Reimplemented from org.jmodelica.modelica.compiler.Statement.

Reimplemented in org.jmodelica.modelica.compiler.IfStmt, and org.jmodelica.modelica.compiler.WhenStmt.

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

void org.jmodelica.modelica.compiler.IfWhenStmt.setComment ( Comment  node  ) 

Setter for Comment high-level method Modelica.ast:5.

Reimplemented from org.jmodelica.modelica.compiler.Statement.

Reimplemented in org.jmodelica.modelica.compiler.IfStmt, and org.jmodelica.modelica.compiler.WhenStmt.

void org.jmodelica.modelica.compiler.IfWhenStmt.setIfWhenClause ( IfWhenClause  node,
int  i 
)

Setter for child in list IfWhenClauseList high-level method Modelica.ast:42.

Reimplemented in org.jmodelica.modelica.compiler.IfStmt, and org.jmodelica.modelica.compiler.WhenStmt.

void org.jmodelica.modelica.compiler.IfWhenStmt.setIfWhenClauseList ( List< IfWhenClause list  ) 

Setter for IfWhenClauseList high-level method Modelica.ast:5.

Reimplemented in org.jmodelica.modelica.compiler.IfStmt, and org.jmodelica.modelica.compiler.WhenStmt.


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

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