
Public Member Functions | |
| void | flushCache () |
| low-level | |
| void | flushCollectionCache () |
| internal | |
| FPrimitiveNumericType | clone () throws CloneNotSupportedException |
| internal | |
| FPrimitiveNumericType () | |
| method FlatModelica.ast:1 | |
| FPrimitiveNumericType (Size p0) | |
| method FlatModelica.ast:7 | |
| boolean | mayHaveRewrite () |
| internal method FlatModelica.ast:19 | |
| void | setSize (Size value) |
| Setter for lexeme Size high-level method FlatModelica.ast:5. | |
| Size | getSize () |
| Getter for lexeme Size high-level method FlatModelica.ast:12. | |
| FType | numericPromotion (FType type, boolean allowUnknown) |
| Combine two types to the broadest common numeric denominator. | |
| FType | looseNumericPromotion (FType type, boolean allowUnknown) |
| Combine two types to the broadest common numeric denominator. | |
| FType | scalarNumericPromotion (FType type) |
| Combine two types to the broadest common scalar numeric denominator. | |
| boolean | equivalentTo (FType type, boolean allowUnknown) |
| syn FTypeEquivalent /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatTypeAnalysis.jrag:755 | |
| boolean | isNumeric () |
| syn BuiltInFlatTypes /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatTypeAnalysis.jrag:820 | |
| boolean | hasAdd () |
| syn BuiltInFlatTypes /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatTypeAnalysis.jrag:867 | |
| ASTNode | rewriteTo () |
| internal | |
Protected Member Functions | |
| int | numChildren () |
| low-level method FlatModelica.ast:13 | |
node FlatModelica.ast:281
| org.jmodelica.modelica.compiler.FPrimitiveNumericType.FPrimitiveNumericType | ( | ) |
method FlatModelica.ast:1
| org.jmodelica.modelica.compiler.FPrimitiveNumericType.FPrimitiveNumericType | ( | Size | p0 | ) |
method FlatModelica.ast:7
| FPrimitiveNumericType org.jmodelica.modelica.compiler.FPrimitiveNumericType.clone | ( | ) | throws CloneNotSupportedException |
internal
Reimplemented from org.jmodelica.modelica.compiler.FPrimitiveType.
Reimplemented in org.jmodelica.modelica.compiler.FIntegerType, and org.jmodelica.modelica.compiler.FRealType.
| boolean org.jmodelica.modelica.compiler.FPrimitiveNumericType.equivalentTo | ( | FType | type, | |
| boolean | allowUnknown | |||
| ) |
syn FTypeEquivalent /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatTypeAnalysis.jrag:755
Reimplemented from org.jmodelica.modelica.compiler.FType.
| void org.jmodelica.modelica.compiler.FPrimitiveNumericType.flushCache | ( | ) |
low-level
Reimplemented from org.jmodelica.modelica.compiler.FPrimitiveType.
Reimplemented in org.jmodelica.modelica.compiler.FIntegerType, and org.jmodelica.modelica.compiler.FRealType.
| void org.jmodelica.modelica.compiler.FPrimitiveNumericType.flushCollectionCache | ( | ) |
internal
Reimplemented from org.jmodelica.modelica.compiler.FPrimitiveType.
Reimplemented in org.jmodelica.modelica.compiler.FIntegerType, and org.jmodelica.modelica.compiler.FRealType.
| Size org.jmodelica.modelica.compiler.FPrimitiveNumericType.getSize | ( | ) |
Getter for lexeme Size high-level method FlatModelica.ast:12.
Reimplemented from org.jmodelica.modelica.compiler.FPrimitiveType.
Reimplemented in org.jmodelica.modelica.compiler.FIntegerType, and org.jmodelica.modelica.compiler.FRealType.
| boolean org.jmodelica.modelica.compiler.FPrimitiveNumericType.hasAdd | ( | ) |
syn BuiltInFlatTypes /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatTypeAnalysis.jrag:867
Reimplemented from org.jmodelica.modelica.compiler.FType.
| boolean org.jmodelica.modelica.compiler.FPrimitiveNumericType.isNumeric | ( | ) |
syn BuiltInFlatTypes /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatTypeAnalysis.jrag:820
Reimplemented from org.jmodelica.modelica.compiler.FType.
| FType org.jmodelica.modelica.compiler.FPrimitiveNumericType.looseNumericPromotion | ( | FType | type, | |
| boolean | allowUnknown | |||
| ) |
Combine two types to the broadest common numeric denominator.
If either is non-numeric or if both are array and sizes doesn't match, the unknown type is returned. An integer type combined with a real type results in a real type. If allowUnknown is true, then unknown lengths are considered equal to any length. syn TypePromotion /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatTypeAnalysis.jrag:670
Reimplemented from org.jmodelica.modelica.compiler.FType.
| boolean org.jmodelica.modelica.compiler.FPrimitiveNumericType.mayHaveRewrite | ( | ) |
internal method FlatModelica.ast:19
Reimplemented from org.jmodelica.modelica.compiler.FPrimitiveType.
Reimplemented in org.jmodelica.modelica.compiler.FIntegerType, and org.jmodelica.modelica.compiler.FRealType.
| int org.jmodelica.modelica.compiler.FPrimitiveNumericType.numChildren | ( | ) | [protected] |
low-level method FlatModelica.ast:13
Reimplemented from org.jmodelica.modelica.compiler.FPrimitiveType.
Reimplemented in org.jmodelica.modelica.compiler.FIntegerType, and org.jmodelica.modelica.compiler.FRealType.
| FType org.jmodelica.modelica.compiler.FPrimitiveNumericType.numericPromotion | ( | FType | type, | |
| boolean | allowUnknown | |||
| ) |
Combine two types to the broadest common numeric denominator.
If either is non-numeric or if sizes doesn't match, the unknown type is returned. An integer type combined with a real type results in a real type. If allowUnknown is true, then unknown lengths are considered equal to any length. syn TypePromotion /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatTypeAnalysis.jrag:662
Reimplemented from org.jmodelica.modelica.compiler.FType.
| ASTNode org.jmodelica.modelica.compiler.FPrimitiveNumericType.rewriteTo | ( | ) |
internal
Reimplemented from org.jmodelica.modelica.compiler.FPrimitiveType.
Reimplemented in org.jmodelica.modelica.compiler.FIntegerType, and org.jmodelica.modelica.compiler.FRealType.
Combine two types to the broadest common scalar numeric denominator.
If either is non-numeric, the unknown type is returned. An integer type combined with a real type results in a real type. syn TypePromotion /tmp/JModelica/Compiler/ModelicaFrontEnd/src/jastadd/FlatTypeAnalysis.jrag:678
Reimplemented from org.jmodelica.modelica.compiler.FType.
| void org.jmodelica.modelica.compiler.FPrimitiveNumericType.setSize | ( | Size | value | ) |
Setter for lexeme Size high-level method FlatModelica.ast:5.
Reimplemented from org.jmodelica.modelica.compiler.FPrimitiveType.
Reimplemented in org.jmodelica.modelica.compiler.FIntegerType, and org.jmodelica.modelica.compiler.FRealType.
1.5.8