
Public Member Functions | |
| void | flushCache () |
| low-level | |
| void | flushCollectionCache () |
| internal | |
| FForIndex | clone () throws CloneNotSupportedException |
| internal | |
| FForIndex | copy () |
| internal | |
| FForIndex | fullCopy () |
| low-level | |
| FForIndex (String name, FExp end) | |
| Constructs an FForIndex with a temporary index variable and a range expression starting at 1 as the in expression. | |
| FForIndex (String name, FQName var, int dim) | |
| Constructs an FForIndex with a temporary index variable and loops over the given variable. | |
| FForIndex | flatten (FQName prefix) |
| method FlatExpressions /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Flattening.jrag:1361 | |
| void | prettyPrint (Printer p, PrintStream str, String indent) |
| method FlattPrettyPrint /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/PrettyPrint.jrag:1548 | |
| FForIndex | scalarize (Map< String, FExp > indexMap) |
| method Scalarization /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Scalarization.jrag:1660 | |
| void | prettyPrint_XML (Printer p, PrintStream str, String indent) |
| method XMLCodeGen /tmp/JModelica/Compiler/ModelicaXMLBackEnd/src/jastadd/XMLCodeGen.jrag:378 | |
| void | prettyPrint_CAD (Printer p, PrintStream str, String indent) |
| method CADCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CADCodeGen.jrag:1367 | |
| void | printForArrayDecl_CAD (Printer p, PrintStream str, String indent) |
| method CADCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CADCodeGen.jrag:1372 | |
| void | printForArrayNext_CAD (Printer p, PrintStream str, String indent) |
| method CADCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CADCodeGen.jrag:1383 | |
| void | prettyPrint_C (Printer p, PrintStream str, String indent) |
| method CCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen.jrag:658 | |
| void | printForArrayDecl_C (Printer p, PrintStream str, String indent) |
| method CCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen.jrag:663 | |
| void | printForArrayNext_C (Printer p, PrintStream str, String indent) |
| method CCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen.jrag:674 | |
| FForIndex () | |
| method FlatModelica.ast:1 | |
| FForIndex (Opt< FExp > p0, FVariable p1) | |
| method FlatModelica.ast:8 | |
| boolean | mayHaveRewrite () |
| internal method FlatModelica.ast:21 | |
| void | setFExpOpt (Opt< FExp > opt) |
| Setter for FExpOpt low-level method FlatModelica.ast:5. | |
| boolean | hasFExp () |
| Does this node have a FExp child? high-level method FlatModelica.ast:12. | |
| FExp | getFExp () |
| Getter for optional child FExp high-level method FlatModelica.ast:19. | |
| void | setFExp (FExp node) |
| Setter for optional child FExp high-level method FlatModelica.ast:27. | |
| Opt< FExp > | getFExpOpt () |
| low-level method FlatModelica.ast:37 | |
| Opt< FExp > | getFExpOptNoTransform () |
| low-level method FlatModelica.ast:44 | |
| void | setFVariable (FVariable node) |
| Setter for FVariable high-level method FlatModelica.ast:5. | |
| FVariable | getFVariable () |
| Getter for FVariable high-level method FlatModelica.ast:12. | |
| FVariable | getFVariableNoTransform () |
| low-level method FlatModelica.ast:18 | |
| int[] | myIndices () |
| Get the set of all values this for index spans. | |
| boolean | isCircular () |
| syn CircularExpressions /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/ConstantEvaluation.jrag:2466 | |
| FTypePrefixVariability | variability () |
| syn FlatVariability /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatVariability.jrag:315 | |
| String | name () |
| syn Names /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:521 | |
| boolean | needsForArray () |
| syn CCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen.jrag:688 | |
| CommonForIndex | Define_CommonForIndex_myForIndex (ASTNode caller, ASTNode child) |
| /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Arrays.jrag:1056 internal | |
| boolean | Define_boolean_inRecord (ASTNode caller, ASTNode child) |
| /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatAPI.jrag:1209 internal | |
| boolean | Define_boolean_isForIndex (ASTNode caller, ASTNode child) |
| /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatNameBinding.jrag:161 internal | |
| FAbstractEquation | Define_FAbstractEquation_parameterEquation (ASTNode caller, ASTNode child) |
| /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatNameBinding.jrag:180 internal | |
| int | Define_int_variableIndex (ASTNode caller, ASTNode child) |
| /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:1097 internal | |
| ASTNode | rewriteTo () |
| internal | |
Protected Member Functions | |
| int | numChildren () |
| low-level method FlatModelica.ast:15 | |
Protected Attributes | |
| int | isCircular_visited = -1 |
| internal | |
| boolean | isCircular_computed = false |
| internal | |
| boolean | isCircular_initialized = false |
| internal | |
| boolean | isCircular_value |
| internal | |
node FlatModelica.ast:823
| org.jmodelica.modelica.compiler.FForIndex.FForIndex | ( | String | name, | |
| FExp | end | |||
| ) |
Constructs an FForIndex with a temporary index variable and a range expression starting at 1 as the in expression.
| name | the name of the index | |
| end | the upper limit for the range expression method Constructors /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Constructors.jrag:237 |
| org.jmodelica.modelica.compiler.FForIndex.FForIndex | ( | String | name, | |
| FQName | var, | |||
| int | dim | |||
| ) |
Constructs an FForIndex with a temporary index variable and loops over the given variable.
| name | the name of the index | |
| var | the name of the variable to loop over | |
| dim | the dimension to loop over method Constructors /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Constructors.jrag:252 |
| org.jmodelica.modelica.compiler.FForIndex.FForIndex | ( | ) |
method FlatModelica.ast:1
method FlatModelica.ast:8
| FForIndex org.jmodelica.modelica.compiler.FForIndex.clone | ( | ) | throws CloneNotSupportedException |
| FForIndex org.jmodelica.modelica.compiler.FForIndex.copy | ( | ) |
internal
| boolean org.jmodelica.modelica.compiler.FForIndex.Define_boolean_inRecord | ( | ASTNode | caller, | |
| ASTNode | child | |||
| ) |
/tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatAPI.jrag:1209 internal
| boolean org.jmodelica.modelica.compiler.FForIndex.Define_boolean_isForIndex | ( | ASTNode | caller, | |
| ASTNode | child | |||
| ) |
/tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatNameBinding.jrag:161 internal
| CommonForIndex org.jmodelica.modelica.compiler.FForIndex.Define_CommonForIndex_myForIndex | ( | ASTNode | caller, | |
| ASTNode | child | |||
| ) |
/tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Arrays.jrag:1056 internal
| FAbstractEquation org.jmodelica.modelica.compiler.FForIndex.Define_FAbstractEquation_parameterEquation | ( | ASTNode | caller, | |
| ASTNode | child | |||
| ) |
/tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatNameBinding.jrag:180 internal
| int org.jmodelica.modelica.compiler.FForIndex.Define_int_variableIndex | ( | ASTNode | caller, | |
| ASTNode | child | |||
| ) |
/tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:1097 internal
method FlatExpressions /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Flattening.jrag:1361
Implements org.jmodelica.modelica.compiler.CommonForIndex.
| void org.jmodelica.modelica.compiler.FForIndex.flushCache | ( | ) |
| void org.jmodelica.modelica.compiler.FForIndex.flushCollectionCache | ( | ) |
| FForIndex org.jmodelica.modelica.compiler.FForIndex.fullCopy | ( | ) |
low-level
| FExp org.jmodelica.modelica.compiler.FForIndex.getFExp | ( | ) |
Getter for optional child FExp high-level method FlatModelica.ast:19.
Reimplemented from org.jmodelica.modelica.compiler.CommonForIndex.
| Opt<FExp> org.jmodelica.modelica.compiler.FForIndex.getFExpOpt | ( | ) |
low-level method FlatModelica.ast:37
Reimplemented from org.jmodelica.modelica.compiler.CommonForIndex.
| Opt<FExp> org.jmodelica.modelica.compiler.FForIndex.getFExpOptNoTransform | ( | ) |
low-level method FlatModelica.ast:44
Reimplemented from org.jmodelica.modelica.compiler.CommonForIndex.
| FVariable org.jmodelica.modelica.compiler.FForIndex.getFVariable | ( | ) |
Getter for FVariable high-level method FlatModelica.ast:12.
| FVariable org.jmodelica.modelica.compiler.FForIndex.getFVariableNoTransform | ( | ) |
low-level method FlatModelica.ast:18
| boolean org.jmodelica.modelica.compiler.FForIndex.hasFExp | ( | ) |
Does this node have a FExp child? high-level method FlatModelica.ast:12.
Reimplemented from org.jmodelica.modelica.compiler.CommonForIndex.
| boolean org.jmodelica.modelica.compiler.FForIndex.isCircular | ( | ) |
syn CircularExpressions /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/ConstantEvaluation.jrag:2466
| boolean org.jmodelica.modelica.compiler.FForIndex.mayHaveRewrite | ( | ) |
internal method FlatModelica.ast:21
Reimplemented from org.jmodelica.modelica.compiler.CommonForIndex.
| int [] org.jmodelica.modelica.compiler.FForIndex.myIndices | ( | ) | [virtual] |
Get the set of all values this for index spans.
Implements org.jmodelica.modelica.compiler.CommonForIndex.
| String org.jmodelica.modelica.compiler.FForIndex.name | ( | ) | [virtual] |
syn Names /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:521
Implements org.jmodelica.modelica.compiler.CommonForIndex.
| boolean org.jmodelica.modelica.compiler.FForIndex.needsForArray | ( | ) |
syn CCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen.jrag:688
| int org.jmodelica.modelica.compiler.FForIndex.numChildren | ( | ) | [protected] |
low-level method FlatModelica.ast:15
Reimplemented from org.jmodelica.modelica.compiler.CommonForIndex.
| void org.jmodelica.modelica.compiler.FForIndex.prettyPrint | ( | Printer | p, | |
| PrintStream | str, | |||
| String | indent | |||
| ) | [virtual] |
method FlattPrettyPrint /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/PrettyPrint.jrag:1548
Implements org.jmodelica.modelica.compiler.CommonForIndex.
| void org.jmodelica.modelica.compiler.FForIndex.prettyPrint_C | ( | Printer | p, | |
| PrintStream | str, | |||
| String | indent | |||
| ) |
method CCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen.jrag:658
| void org.jmodelica.modelica.compiler.FForIndex.prettyPrint_CAD | ( | Printer | p, | |
| PrintStream | str, | |||
| String | indent | |||
| ) |
method CADCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CADCodeGen.jrag:1367
| void org.jmodelica.modelica.compiler.FForIndex.prettyPrint_XML | ( | Printer | p, | |
| PrintStream | str, | |||
| String | indent | |||
| ) |
method XMLCodeGen /tmp/JModelica/Compiler/ModelicaXMLBackEnd/src/jastadd/XMLCodeGen.jrag:378
| void org.jmodelica.modelica.compiler.FForIndex.printForArrayDecl_C | ( | Printer | p, | |
| PrintStream | str, | |||
| String | indent | |||
| ) |
method CCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen.jrag:663
| void org.jmodelica.modelica.compiler.FForIndex.printForArrayDecl_CAD | ( | Printer | p, | |
| PrintStream | str, | |||
| String | indent | |||
| ) |
method CADCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CADCodeGen.jrag:1372
| void org.jmodelica.modelica.compiler.FForIndex.printForArrayNext_C | ( | Printer | p, | |
| PrintStream | str, | |||
| String | indent | |||
| ) |
method CCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen.jrag:674
| void org.jmodelica.modelica.compiler.FForIndex.printForArrayNext_CAD | ( | Printer | p, | |
| PrintStream | str, | |||
| String | indent | |||
| ) |
method CADCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CADCodeGen.jrag:1383
| ASTNode org.jmodelica.modelica.compiler.FForIndex.rewriteTo | ( | ) |
method Scalarization /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Scalarization.jrag:1660
| void org.jmodelica.modelica.compiler.FForIndex.setFExp | ( | FExp | node | ) |
Setter for optional child FExp high-level method FlatModelica.ast:27.
Reimplemented from org.jmodelica.modelica.compiler.CommonForIndex.
| void org.jmodelica.modelica.compiler.FForIndex.setFExpOpt | ( | Opt< FExp > | opt | ) |
Setter for FExpOpt low-level method FlatModelica.ast:5.
Reimplemented from org.jmodelica.modelica.compiler.CommonForIndex.
| void org.jmodelica.modelica.compiler.FForIndex.setFVariable | ( | FVariable | node | ) |
Setter for FVariable high-level method FlatModelica.ast:5.
| FTypePrefixVariability org.jmodelica.modelica.compiler.FForIndex.variability | ( | ) |
syn FlatVariability /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatVariability.jrag:315
boolean org.jmodelica.modelica.compiler.FForIndex.isCircular_computed = false [protected] |
internal
boolean org.jmodelica.modelica.compiler.FForIndex.isCircular_initialized = false [protected] |
internal
boolean org.jmodelica.modelica.compiler.FForIndex.isCircular_value [protected] |
internal
int org.jmodelica.modelica.compiler.FForIndex.isCircular_visited = -1 [protected] |
internal
1.5.8