Changeset 13919 for branches/dev-mo-2530/Compiler/ModelicaMiddleEnd/src/jastadd/scalarization/Scalarization.jrag
- Timestamp:
- Oct 31, 2019 12:54:25 PM (6 weeks ago)
- Location:
- branches/dev-mo-2530
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev-mo-2530
- Property svn:mergeinfo changed
/branches/dev-mo-2278 (added) merged: 13743,13842,13852,13863 /branches/dev-mo-2278-merge (added) merged: 13884,13917
- Property svn:mergeinfo changed
-
branches/dev-mo-2530/Compiler/ModelicaMiddleEnd/src/jastadd/scalarization/Scalarization.jrag
r13846 r13919 619 619 public class ScalarizingVariableInstance { 620 620 621 private TypePrefixVariability variability;622 623 private VisibilityType visibility;621 private final TypePrefixVariability variability; 622 623 private final VisibilityType visibility; 624 624 625 625 // Binding expression 626 private FExp bExp;626 private final FExp bExp; 627 627 628 628 // (Mapped) attributes of this variable 629 private Map<String, FAttribute> mattrs;629 private final Map<String, FAttribute> mattrs; 630 630 631 631 // Full name of this variable 632 private String name;632 private final String name; 633 633 634 634 // input/output prefix of top-level variable 635 private CausalityConnectorPrefix inputOutput;636 637 private Index index;635 private final CausalityConnectorPrefix inputOutput; 636 637 private final Index index; 638 638 639 639 private ScalarizingVariableInstance(String name, Map<String, FAttribute> mattrs, FExp be, … … 645 645 this.variability = variability; 646 646 this.visibility = visibility; 647 this.inputOutput = inputOutput; 647 /* If we have a record with input/output prefix that contains a parameter, 648 * that parameter should not inherit the input/output prefix */ 649 this.inputOutput = variability.parameterOrLess() ? CausalityConnectorPrefix.NONE : inputOutput; 648 650 } 649 651
Note: See TracChangeset
for help on using the changeset viewer.