
Public Member Functions | |
| void | flushCache () |
| low-level | |
| void | flushCollectionCache () |
| internal | |
| FFunctionCallLeft | clone () throws CloneNotSupportedException |
| internal | |
| FFunctionCallLeft | copy () |
| internal | |
| FFunctionCallLeft | fullCopy () |
| low-level | |
| void | setEvaluationValue (CValue val, Map< CommonVariableDecl, CValue > map) |
| Set the current function evaluation value of referenced variable. | |
| void | typeCheck () |
| method FlatTypeCheck /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatTypeCheck.jrag:444 | |
| FFunctionCallLeft | flatten (FQName prefix) |
| method FlatExpressions /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Flattening.jrag:910 | |
| FFunctionCallLeft | scalarize (Map< String, FExp > indexMap) |
| method Scalarization /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Scalarization.jrag:1139 | |
| void | prettyPrint_XML (Printer p, PrintStream str, String indent) |
| method XMLCodeGen /tmp/JModelica/Compiler/ModelicaXMLBackEnd/src/jastadd/XMLCodeGen.jrag:283 | |
| void | genTempVars_CAD (Printer p, PrintStream str, String indent) |
| method CADCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CADCodeGen.jrag:995 | |
| void | genTempVar_var_CAD (String indent, PrintStream str) |
| method CADCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CADCodeGen.jrag:1109 | |
| void | genTempVar_der_CAD (String indent, PrintStream str) |
| method CADCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CADCodeGen.jrag:1133 | |
| void | genArgument_var_CAD (PrintStream str) |
| method CADCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CADCodeGen.jrag:1187 | |
| void | genArgument_der_CAD (PrintStream str) |
| method CADCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CADCodeGen.jrag:1197 | |
| void | genWriteBack_CAD (PrintStream str, String indent) |
| method CADCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CADCodeGen.jrag:1224 | |
| void | genTempVars_C (Printer p, PrintStream str, String indent) |
| method CCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen.jrag:1074 | |
| void | setBaseIndex (int i) |
| method CCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen.jrag:1400 | |
| void | genTempVar_C (String indent, PrintStream str) |
| method CCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen.jrag:1417 | |
| void | genArgument_C (PrintStream str) |
| method CCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen.jrag:1427 | |
| void | genWriteBack_C (PrintStream str, String indent) |
| method CCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen.jrag:1437 | |
| void | genWriteBackAssignment_C (PrintStream str, String indent) |
| method CCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen.jrag:1479 | |
| FFunctionCallLeft () | |
| method FlatModelica.ast:1 | |
| FFunctionCallLeft (Opt< FExp > p0) | |
| method FlatModelica.ast:8 | |
| boolean | mayHaveRewrite () |
| internal method FlatModelica.ast:20 | |
| 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 | |
| CValue | extractCValue (CValue val, FVariable fv) |
Given that val is the value of this use expression, extract the part of it referring to fv, or null if none match. | |
| int | myIndex () |
| Return the index of the variable assigned by this FFunctionCallLeft among all those assigned by the same FFunctionCallEquation/Stmt syn FlatFunctionUtils /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:1538. | |
| int | myLastIndex () |
| syn FlatFunctionUtils /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:1543 | |
| int | numScalarVars () |
| Get the number of scalar variables assigned by this FFunctionCallLeft. | |
| String | xmlTag () |
| syn XMLTagBinding /tmp/JModelica/Compiler/ModelicaXMLBackEnd/src/jastadd/XMLCodeGen.jrag:575 | |
| String | xmlNamespace () |
| syn XMLTagBinding /tmp/JModelica/Compiler/ModelicaXMLBackEnd/src/jastadd/XMLCodeGen.jrag:608 | |
| String | name_var_CAD () |
| syn CADCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CADCodeGen.jrag:1095 | |
| String | name_der_CAD () |
| syn CADCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CADCodeGen.jrag:1119 | |
| String | type_C () |
| syn CCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen.jrag:436 | |
| String | name_C () |
| syn CCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen.jrag:1403 | |
| Size | size () |
| inh Arrays /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Arrays.jrag:743 | |
| FType | type () |
| inh FlatTypeAnalysis /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatTypeAnalysis.jrag:466 | |
| String | functionCallDecription () |
| inh FlatTypeCheck /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatTypeCheck.jrag:461 | |
| String | funcName () |
| inh FlatFunctionUtils /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:1430 | |
| boolean | inFunction () |
| inh FlatFunctionUtils /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:1499 | |
| int | prevIndex () |
| inh FlatFunctionUtils /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:1539 | |
| InstComponentDecl | myOutput () |
| inh FlatFunctionUtils /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:1570 | |
| boolean | Define_boolean_useIsAssignment (ASTNode caller, ASTNode child) |
| /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatAPI.jrag:2025 internal | |
| boolean | Define_boolean_canAcceptArray (ASTNode caller, ASTNode child) |
| /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Scalarization.jrag:1463 internal | |
| boolean | Define_boolean_isAssignUse (ASTNode caller, ASTNode child) |
| /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen.jrag:165 internal | |
| ASTNode | rewriteTo () |
| internal | |
Protected Member Functions | |
| int | numChildren () |
| low-level method FlatModelica.ast:14 | |
Protected Attributes | |
| boolean | myIndex_computed = false |
| internal | |
| int | myIndex_value |
| internal | |
| boolean | myOutput_computed = false |
| internal | |
| InstComponentDecl | myOutput_value |
| internal | |
Needed because it is allowed to leave places in the variable list empty. Example: (x, , z) = func(a, b); node FlatModelica.ast:442
| org.jmodelica.modelica.compiler.FFunctionCallLeft.FFunctionCallLeft | ( | ) |
method FlatModelica.ast:1
| org.jmodelica.modelica.compiler.FFunctionCallLeft.FFunctionCallLeft | ( | Opt< FExp > | p0 | ) |
method FlatModelica.ast:8
| FFunctionCallLeft org.jmodelica.modelica.compiler.FFunctionCallLeft.clone | ( | ) | throws CloneNotSupportedException |
| FFunctionCallLeft org.jmodelica.modelica.compiler.FFunctionCallLeft.copy | ( | ) |
internal
| boolean org.jmodelica.modelica.compiler.FFunctionCallLeft.Define_boolean_canAcceptArray | ( | ASTNode | caller, | |
| ASTNode | child | |||
| ) |
/tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Scalarization.jrag:1463 internal
Reimplemented from org.jmodelica.modelica.compiler.BaseNode.
| boolean org.jmodelica.modelica.compiler.FFunctionCallLeft.Define_boolean_isAssignUse | ( | ASTNode | caller, | |
| ASTNode | child | |||
| ) |
/tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen.jrag:165 internal
| boolean org.jmodelica.modelica.compiler.FFunctionCallLeft.Define_boolean_useIsAssignment | ( | ASTNode | caller, | |
| ASTNode | child | |||
| ) |
/tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatAPI.jrag:2025 internal
Given that val is the value of this use expression, extract the part of it referring to fv, or null if none match.
syn ConstantEvaluation /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/ConstantEvaluation.jrag:1529
| FFunctionCallLeft org.jmodelica.modelica.compiler.FFunctionCallLeft.flatten | ( | FQName | prefix | ) |
method FlatExpressions /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Flattening.jrag:910
| void org.jmodelica.modelica.compiler.FFunctionCallLeft.flushCache | ( | ) |
| void org.jmodelica.modelica.compiler.FFunctionCallLeft.flushCollectionCache | ( | ) |
| FFunctionCallLeft org.jmodelica.modelica.compiler.FFunctionCallLeft.fullCopy | ( | ) |
low-level
| String org.jmodelica.modelica.compiler.FFunctionCallLeft.funcName | ( | ) |
inh FlatFunctionUtils /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:1430
| String org.jmodelica.modelica.compiler.FFunctionCallLeft.functionCallDecription | ( | ) |
inh FlatTypeCheck /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatTypeCheck.jrag:461
| void org.jmodelica.modelica.compiler.FFunctionCallLeft.genArgument_C | ( | PrintStream | str | ) |
method CCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen.jrag:1427
| void org.jmodelica.modelica.compiler.FFunctionCallLeft.genArgument_der_CAD | ( | PrintStream | str | ) |
method CADCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CADCodeGen.jrag:1197
| void org.jmodelica.modelica.compiler.FFunctionCallLeft.genArgument_var_CAD | ( | PrintStream | str | ) |
method CADCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CADCodeGen.jrag:1187
| void org.jmodelica.modelica.compiler.FFunctionCallLeft.genTempVar_C | ( | String | indent, | |
| PrintStream | str | |||
| ) |
method CCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen.jrag:1417
| void org.jmodelica.modelica.compiler.FFunctionCallLeft.genTempVar_der_CAD | ( | String | indent, | |
| PrintStream | str | |||
| ) |
method CADCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CADCodeGen.jrag:1133
| void org.jmodelica.modelica.compiler.FFunctionCallLeft.genTempVar_var_CAD | ( | String | indent, | |
| PrintStream | str | |||
| ) |
method CADCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CADCodeGen.jrag:1109
| void org.jmodelica.modelica.compiler.FFunctionCallLeft.genTempVars_C | ( | Printer | p, | |
| PrintStream | str, | |||
| String | indent | |||
| ) |
method CCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen.jrag:1074
| void org.jmodelica.modelica.compiler.FFunctionCallLeft.genTempVars_CAD | ( | Printer | p, | |
| PrintStream | str, | |||
| String | indent | |||
| ) |
method CADCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CADCodeGen.jrag:995
| void org.jmodelica.modelica.compiler.FFunctionCallLeft.genWriteBack_C | ( | PrintStream | str, | |
| String | indent | |||
| ) |
method CCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen.jrag:1437
| void org.jmodelica.modelica.compiler.FFunctionCallLeft.genWriteBack_CAD | ( | PrintStream | str, | |
| String | indent | |||
| ) |
method CADCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CADCodeGen.jrag:1224
| void org.jmodelica.modelica.compiler.FFunctionCallLeft.genWriteBackAssignment_C | ( | PrintStream | str, | |
| String | indent | |||
| ) |
method CCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen.jrag:1479
| FExp org.jmodelica.modelica.compiler.FFunctionCallLeft.getFExp | ( | ) |
Getter for optional child FExp high-level method FlatModelica.ast:19.
| Opt<FExp> org.jmodelica.modelica.compiler.FFunctionCallLeft.getFExpOpt | ( | ) |
low-level method FlatModelica.ast:37
| Opt<FExp> org.jmodelica.modelica.compiler.FFunctionCallLeft.getFExpOptNoTransform | ( | ) |
low-level method FlatModelica.ast:44
| boolean org.jmodelica.modelica.compiler.FFunctionCallLeft.hasFExp | ( | ) |
Does this node have a FExp child? high-level method FlatModelica.ast:12.
| boolean org.jmodelica.modelica.compiler.FFunctionCallLeft.inFunction | ( | ) |
inh FlatFunctionUtils /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:1499
| boolean org.jmodelica.modelica.compiler.FFunctionCallLeft.mayHaveRewrite | ( | ) |
| int org.jmodelica.modelica.compiler.FFunctionCallLeft.myIndex | ( | ) |
Return the index of the variable assigned by this FFunctionCallLeft among all those assigned by the same FFunctionCallEquation/Stmt syn FlatFunctionUtils /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:1538.
| int org.jmodelica.modelica.compiler.FFunctionCallLeft.myLastIndex | ( | ) |
syn FlatFunctionUtils /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:1543
| InstComponentDecl org.jmodelica.modelica.compiler.FFunctionCallLeft.myOutput | ( | ) |
inh FlatFunctionUtils /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:1570
| String org.jmodelica.modelica.compiler.FFunctionCallLeft.name_C | ( | ) |
syn CCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen.jrag:1403
| String org.jmodelica.modelica.compiler.FFunctionCallLeft.name_der_CAD | ( | ) |
syn CADCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CADCodeGen.jrag:1119
| String org.jmodelica.modelica.compiler.FFunctionCallLeft.name_var_CAD | ( | ) |
syn CADCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CADCodeGen.jrag:1095
| int org.jmodelica.modelica.compiler.FFunctionCallLeft.numChildren | ( | ) | [protected] |
| int org.jmodelica.modelica.compiler.FFunctionCallLeft.numScalarVars | ( | ) |
Get the number of scalar variables assigned by this FFunctionCallLeft.
Only valid after scalarization. syn FlatFunctionUtils /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:1550
| void org.jmodelica.modelica.compiler.FFunctionCallLeft.prettyPrint_XML | ( | Printer | p, | |
| PrintStream | str, | |||
| String | indent | |||
| ) |
method XMLCodeGen /tmp/JModelica/Compiler/ModelicaXMLBackEnd/src/jastadd/XMLCodeGen.jrag:283
| int org.jmodelica.modelica.compiler.FFunctionCallLeft.prevIndex | ( | ) |
inh FlatFunctionUtils /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Util.jrag:1539
| ASTNode org.jmodelica.modelica.compiler.FFunctionCallLeft.rewriteTo | ( | ) |
| FFunctionCallLeft org.jmodelica.modelica.compiler.FFunctionCallLeft.scalarize | ( | Map< String, FExp > | indexMap | ) |
method Scalarization /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Scalarization.jrag:1139
| void org.jmodelica.modelica.compiler.FFunctionCallLeft.setBaseIndex | ( | int | i | ) |
method CCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen.jrag:1400
| void org.jmodelica.modelica.compiler.FFunctionCallLeft.setEvaluationValue | ( | CValue | val, | |
| Map< CommonVariableDecl, CValue > | map | |||
| ) |
Set the current function evaluation value of referenced variable.
Also updates value map. method ConstantEvaluation /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/ConstantEvaluation.jrag:1825
| void org.jmodelica.modelica.compiler.FFunctionCallLeft.setFExp | ( | FExp | node | ) |
Setter for optional child FExp high-level method FlatModelica.ast:27.
| void org.jmodelica.modelica.compiler.FFunctionCallLeft.setFExpOpt | ( | Opt< FExp > | opt | ) |
Setter for FExpOpt low-level method FlatModelica.ast:5.
| Size org.jmodelica.modelica.compiler.FFunctionCallLeft.size | ( | ) |
inh Arrays /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/Arrays.jrag:743
| FType org.jmodelica.modelica.compiler.FFunctionCallLeft.type | ( | ) |
inh FlatTypeAnalysis /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatTypeAnalysis.jrag:466
| String org.jmodelica.modelica.compiler.FFunctionCallLeft.type_C | ( | ) |
syn CCodeGen /tmp/JModelica/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen.jrag:436
| void org.jmodelica.modelica.compiler.FFunctionCallLeft.typeCheck | ( | ) |
method FlatTypeCheck /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatTypeCheck.jrag:444
| String org.jmodelica.modelica.compiler.FFunctionCallLeft.xmlNamespace | ( | ) |
syn XMLTagBinding /tmp/JModelica/Compiler/ModelicaXMLBackEnd/src/jastadd/XMLCodeGen.jrag:608
| String org.jmodelica.modelica.compiler.FFunctionCallLeft.xmlTag | ( | ) |
syn XMLTagBinding /tmp/JModelica/Compiler/ModelicaXMLBackEnd/src/jastadd/XMLCodeGen.jrag:575
boolean org.jmodelica.modelica.compiler.FFunctionCallLeft.myIndex_computed = false [protected] |
internal
int org.jmodelica.modelica.compiler.FFunctionCallLeft.myIndex_value [protected] |
internal
boolean org.jmodelica.modelica.compiler.FFunctionCallLeft.myOutput_computed = false [protected] |
internal
internal
1.5.8