Changeset 9620
- Timestamp:
- Feb 7, 2017 9:53:31 AM (3 years ago)
- Location:
- trunk/Compiler
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Compiler/ModelicaFlatTree/src/jastadd/FlatUtil.jrag
r9610 r9620 2156 2156 } 2157 2157 } 2158 2158 2159 2159 public class FClass { 2160 2160 public <V extends FDynamicResolver> V dynamicResolver(V res) { … … 2163 2163 } 2164 2164 } 2165 2166 syn Opt FClass.getFDynamicResolverOpt() = new DynamicOpt();2167 syn Opt FIndexReductionResolver.getFVariableOpt() = new DynamicOpt();2168 syn Opt FIndexReductionResolver.getFAbstractEquationOpt() = new DynamicOpt();2169 2165 2166 syn lazy Opt FClass.getFDynamicResolverOpt() = new DynamicOpt(); 2167 syn lazy Opt FIndexReductionResolver.getFVariableOpt() = new DynamicOpt(); 2168 syn lazy Opt FIndexReductionResolver.getFAbstractEquationOpt() = new DynamicOpt(); 2169 2170 2170 /** 2171 2171 * Dynamic resolver used during index reduction to handle differentiated … … 2173 2173 */ 2174 2174 public class FIndexReductionResolver { 2175 2175 2176 2176 private final Map<String, FVariable> lookupMap = new HashMap<String, FVariable>(); 2177 2177 /** -
trunk/Compiler/ModelicaFrontEnd/src/jastadd/instance/InstanceTree.jrag
r9610 r9620 938 938 eq InstPrimitive.getInstClassDeclList() = new List(); 939 939 940 syn List<InstComponentDecl> InstRecordConstructor.getInstComponentDeclList() {940 syn lazy List<InstComponentDecl> InstRecordConstructor.getInstComponentDeclList() { 941 941 InstClassDecl rec = getRecord().myInstClassDecl().actualInstClass(); 942 942 List<InstComponentDecl> l = new List<InstComponentDecl>(); … … 946 946 } 947 947 948 syn List<InstExtends> InstRecordConstructor.getInstExtendsList() {948 syn lazy List<InstExtends> InstRecordConstructor.getInstExtendsList() { 949 949 InstClassDecl rec = getRecord().myInstClassDecl().actualInstClass(); 950 950 List l = new List(); … … 955 955 } 956 956 957 syn List<InstModification> InstRecordConstructor.getInstModificationList() {957 syn lazy List<InstModification> InstRecordConstructor.getInstModificationList() { 958 958 List<InstModification> res = new List<InstModification>(); 959 959 for (InstFunctionArgument ifa : getArgs()) { -
trunk/Compiler/ModelicaMiddleEnd/src/jastadd/TransformCanonical.jrag
r9610 r9620 1098 1098 eq FIfWhenClause.getFStatement().needsIndicatorInit() = true; 1099 1099 eq FWhileStmt.getWhileStmt().needsIndicatorInit() = true; 1100 1101 1102 1103 1104 1105 syn Opt<FIdUseExp> FRelExp.getIndicatorOpt() = new Opt<FIdUseExp>();1106 1100 1101 /** 1102 * A reference to the FVariable set as indicator for a FRelExp 1103 * Only used in algorithms 1104 */ 1105 syn lazy Opt<FIdUseExp> FRelExp.getIndicatorOpt() = new Opt<FIdUseExp>(); 1106 1107 1107 /** 1108 1108 * Creates an indicator for this FRelExp
Note: See TracChangeset
for help on using the changeset viewer.