
Public Member Functions | |
| void | flushCache () |
| low-level | |
| void | flushCollectionCache () |
| internal | |
| FSubscriptedExp | clone () throws CloneNotSupportedException |
| internal | |
| FSubscriptedExp | copy () |
| internal | |
| FSubscriptedExp | fullCopy () |
| low-level | |
| FSubscriptedExp (FExp exp, int index) | |
Create a new FSubscriptedExp with a new FArraySubscripts, containing the proper number of FSubscripts (according to exp). | |
| FSubscriptedExp | createEmptyNode () |
| method InheritedFactoryMethods /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Constructors.jrag:535 | |
| FExp | flatten (FQName prefix) |
| method FlatExpressions /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Flattening.jrag:1210 | |
| void | prettyPrint (Printer p, PrintStream str, String indent) |
| method FlattPrettyPrint /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/PrettyPrint.jrag:1582 | |
| void | createArrayTemporaries (List clauses, List vars, Map< String, FExp > indexMap, boolean addVar) |
| method Scalarization /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Scalarization.jrag:1180 | |
| FExp | scalarizeExp (Map< String, FExp > indexMap) |
| method Scalarization /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Scalarization.jrag:1566 | |
| FSubscriptedExp () | |
| method FlatModelica.ast:1 | |
| FSubscriptedExp (FExp p0, FArraySubscripts p1) | |
| method FlatModelica.ast:8 | |
| boolean | mayHaveRewrite () |
| internal method FlatModelica.ast:23 | |
| void | setFExp (FExp node) |
| Setter for FExp high-level method FlatModelica.ast:5. | |
| FExp | getFExp () |
| Getter for FExp high-level method FlatModelica.ast:12. | |
| FExp | getFExpNoTransform () |
| low-level method FlatModelica.ast:18 | |
| void | setFArraySubscripts (FArraySubscripts node) |
| Setter for FArraySubscripts high-level method FlatModelica.ast:5. | |
| FArraySubscripts | getFArraySubscripts () |
| Getter for FArraySubscripts high-level method FlatModelica.ast:12. | |
| FArraySubscripts | getFArraySubscriptsNoTransform () |
| low-level method FlatModelica.ast:18 | |
| void | setArray (Array node) |
| Setter for Array high-level method FlatModelica.ast:5. | |
| Array | getArrayNoTransform () |
| low-level method FlatModelica.ast:11 | |
| void | setDynamicFExpList (List< FExp > list) |
| Setter for DynamicFExpList high-level method FlatModelica.ast:5. | |
| int | getNumDynamicFExp () |
| FExp | getDynamicFExp (int i) |
| Getter for child in list DynamicFExpList high-level method FlatModelica.ast:19. | |
| void | addDynamicFExp (FExp node) |
| Add element to list DynamicFExpList high-level method FlatModelica.ast:27. | |
| void | addDynamicFExpNoTransform (FExp node) |
| low-level method FlatModelica.ast:34 | |
| void | setDynamicFExp (FExp node, int i) |
| Setter for child in list DynamicFExpList high-level method FlatModelica.ast:42. | |
| List< FExp > | getDynamicFExps () |
| Getter for DynamicFExp list. | |
| List< FExp > | getDynamicFExpsNoTransform () |
| low-level method FlatModelica.ast:56 | |
| List< FExp > | getDynamicFExpListNoTransform () |
| low-level method FlatModelica.ast:62 | |
| int | ndims () |
| Get array dimensions. | |
| Size | size () |
| Get the array sizes. | |
| Array | getArray () |
| Computes an Array where all elements are scalar expressions. | |
| Indices | indices () |
| Get the set of all array indices of an subscripted array expression. | |
| FType | type () |
| syn FlatTypeAnalysis /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatTypeAnalysis.jrag:443 | |
| FTypePrefixVariability | expVariability () |
| syn FlatVariability /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatVariability.jrag:329 | |
| FExp | splitArrayExp (int index) |
| Return the expression corresponding to the given index in this array expression. | |
| Size | Define_Size_mySize (ASTNode caller, ASTNode child) |
| /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Arrays.jrag:563 internal | |
| ASTNode | rewriteTo () |
| internal | |
Protected Member Functions | |
| int | numChildren () |
| low-level method FlatModelica.ast:17 | |
| int | getArrayChildPosition () |
| low-level method FlatModelica.ast:17 | |
| int | getDynamicFExpListChildPosition () |
| low-level method FlatModelica.ast:68 | |
node FlatModelica.ast:933
| org.jmodelica.modelica.compiler.FSubscriptedExp.FSubscriptedExp | ( | FExp | exp, | |
| int | index | |||
| ) |
Create a new FSubscriptedExp with a new FArraySubscripts, containing the proper number of FSubscripts (according to exp).
All FSubscripts except the first will be FColonSubscripts.
| exp | the expression this FSubscriptedExp should wrap. | |
| index | the index to use for the first FSubscript. method Constructors /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Constructors.jrag:397 |
| org.jmodelica.modelica.compiler.FSubscriptedExp.FSubscriptedExp | ( | ) |
method FlatModelica.ast:1
| org.jmodelica.modelica.compiler.FSubscriptedExp.FSubscriptedExp | ( | FExp | p0, | |
| FArraySubscripts | p1 | |||
| ) |
method FlatModelica.ast:8
| void org.jmodelica.modelica.compiler.FSubscriptedExp.addDynamicFExp | ( | FExp | node | ) |
Add element to list DynamicFExpList high-level method FlatModelica.ast:27.
Reimplemented from org.jmodelica.modelica.compiler.FExp.
| void org.jmodelica.modelica.compiler.FSubscriptedExp.addDynamicFExpNoTransform | ( | FExp | node | ) |
| FSubscriptedExp org.jmodelica.modelica.compiler.FSubscriptedExp.clone | ( | ) | throws CloneNotSupportedException |
| FSubscriptedExp org.jmodelica.modelica.compiler.FSubscriptedExp.copy | ( | ) |
internal
| void org.jmodelica.modelica.compiler.FSubscriptedExp.createArrayTemporaries | ( | List | clauses, | |
| List | vars, | |||
| Map< String, FExp > | indexMap, | |||
| boolean | addVar | |||
| ) |
method Scalarization /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Scalarization.jrag:1180
| FSubscriptedExp org.jmodelica.modelica.compiler.FSubscriptedExp.createEmptyNode | ( | ) | [virtual] |
method InheritedFactoryMethods /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Constructors.jrag:535
Implements org.jmodelica.modelica.compiler.FExp.
| Size org.jmodelica.modelica.compiler.FSubscriptedExp.Define_Size_mySize | ( | ASTNode | caller, | |
| ASTNode | child | |||
| ) |
/tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Arrays.jrag:563 internal
| FTypePrefixVariability org.jmodelica.modelica.compiler.FSubscriptedExp.expVariability | ( | ) |
syn FlatVariability /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatVariability.jrag:329
Reimplemented from org.jmodelica.modelica.compiler.FExp.
method FlatExpressions /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Flattening.jrag:1210
Reimplemented from org.jmodelica.modelica.compiler.FExp.
| void org.jmodelica.modelica.compiler.FSubscriptedExp.flushCache | ( | ) |
| void org.jmodelica.modelica.compiler.FSubscriptedExp.flushCollectionCache | ( | ) |
| FSubscriptedExp org.jmodelica.modelica.compiler.FSubscriptedExp.fullCopy | ( | ) |
low-level
| Array org.jmodelica.modelica.compiler.FSubscriptedExp.getArray | ( | ) |
Computes an Array where all elements are scalar expressions.
This is used mainly to scalarize array expressions.
this otherwise. syn nta Arrays /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Arrays.jrag:1300 Reimplemented from org.jmodelica.modelica.compiler.FExp.
| int org.jmodelica.modelica.compiler.FSubscriptedExp.getArrayChildPosition | ( | ) | [protected] |
| Array org.jmodelica.modelica.compiler.FSubscriptedExp.getArrayNoTransform | ( | ) |
| FExp org.jmodelica.modelica.compiler.FSubscriptedExp.getDynamicFExp | ( | int | i | ) |
Getter for child in list DynamicFExpList high-level method FlatModelica.ast:19.
Reimplemented from org.jmodelica.modelica.compiler.FExp.
| int org.jmodelica.modelica.compiler.FSubscriptedExp.getDynamicFExpListChildPosition | ( | ) | [protected] |
| List<FExp> org.jmodelica.modelica.compiler.FSubscriptedExp.getDynamicFExpListNoTransform | ( | ) |
| List<FExp> org.jmodelica.modelica.compiler.FSubscriptedExp.getDynamicFExps | ( | ) |
Getter for DynamicFExp list.
high-level method FlatModelica.ast:50
Reimplemented from org.jmodelica.modelica.compiler.FExp.
| List<FExp> org.jmodelica.modelica.compiler.FSubscriptedExp.getDynamicFExpsNoTransform | ( | ) |
| FArraySubscripts org.jmodelica.modelica.compiler.FSubscriptedExp.getFArraySubscripts | ( | ) |
Getter for FArraySubscripts high-level method FlatModelica.ast:12.
| FArraySubscripts org.jmodelica.modelica.compiler.FSubscriptedExp.getFArraySubscriptsNoTransform | ( | ) |
low-level method FlatModelica.ast:18
| FExp org.jmodelica.modelica.compiler.FSubscriptedExp.getFExp | ( | ) |
Getter for FExp high-level method FlatModelica.ast:12.
| FExp org.jmodelica.modelica.compiler.FSubscriptedExp.getFExpNoTransform | ( | ) |
low-level method FlatModelica.ast:18
| int org.jmodelica.modelica.compiler.FSubscriptedExp.getNumDynamicFExp | ( | ) |
Reimplemented from org.jmodelica.modelica.compiler.FExp.
| Indices org.jmodelica.modelica.compiler.FSubscriptedExp.indices | ( | ) |
Get the set of all array indices of an subscripted array expression.
Reimplemented from org.jmodelica.modelica.compiler.FExp.
| boolean org.jmodelica.modelica.compiler.FSubscriptedExp.mayHaveRewrite | ( | ) |
| int org.jmodelica.modelica.compiler.FSubscriptedExp.ndims | ( | ) |
Get array dimensions.
A value > 0 indicates an array, 0 indicates a scalar and -1 indicates an error in computation of the array dimensions.
Reimplemented from org.jmodelica.modelica.compiler.FExp.
| int org.jmodelica.modelica.compiler.FSubscriptedExp.numChildren | ( | ) | [protected] |
| void org.jmodelica.modelica.compiler.FSubscriptedExp.prettyPrint | ( | Printer | p, | |
| PrintStream | str, | |||
| String | indent | |||
| ) |
method FlattPrettyPrint /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/PrettyPrint.jrag:1582
| ASTNode org.jmodelica.modelica.compiler.FSubscriptedExp.rewriteTo | ( | ) |
method Scalarization /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Scalarization.jrag:1566
Reimplemented from org.jmodelica.modelica.compiler.FExp.
| void org.jmodelica.modelica.compiler.FSubscriptedExp.setArray | ( | Array | node | ) |
Setter for Array high-level method FlatModelica.ast:5.
Reimplemented from org.jmodelica.modelica.compiler.FExp.
| void org.jmodelica.modelica.compiler.FSubscriptedExp.setDynamicFExp | ( | FExp | node, | |
| int | i | |||
| ) |
Setter for child in list DynamicFExpList high-level method FlatModelica.ast:42.
Reimplemented from org.jmodelica.modelica.compiler.FExp.
| void org.jmodelica.modelica.compiler.FSubscriptedExp.setDynamicFExpList | ( | List< FExp > | list | ) |
Setter for DynamicFExpList high-level method FlatModelica.ast:5.
Reimplemented from org.jmodelica.modelica.compiler.FExp.
| void org.jmodelica.modelica.compiler.FSubscriptedExp.setFArraySubscripts | ( | FArraySubscripts | node | ) |
Setter for FArraySubscripts high-level method FlatModelica.ast:5.
| void org.jmodelica.modelica.compiler.FSubscriptedExp.setFExp | ( | FExp | node | ) |
Setter for FExp high-level method FlatModelica.ast:5.
| Size org.jmodelica.modelica.compiler.FSubscriptedExp.size | ( | ) |
Get the array sizes.
syn Arrays /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Arrays.jrag:697
Reimplemented from org.jmodelica.modelica.compiler.FExp.
| FExp org.jmodelica.modelica.compiler.FSubscriptedExp.splitArrayExp | ( | int | index | ) |
Return the expression corresponding to the given index in this array expression.
Will not create new nodes unless necessary. syn Flattening /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Flattening.jrag:619
Reimplemented from org.jmodelica.modelica.compiler.FExp.
| FType org.jmodelica.modelica.compiler.FSubscriptedExp.type | ( | ) |
syn FlatTypeAnalysis /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatTypeAnalysis.jrag:443
Reimplemented from org.jmodelica.modelica.compiler.FExp.
1.5.8