Browse Source

imported patch copyBoundsFrom.patch

tud-infrastructure-2018-10-12
Joachim Klein 7 years ago
parent
commit
b5a1a71ec0
  1. 9
      prism/src/parser/ast/ExpressionTemporal.java

9
prism/src/parser/ast/ExpressionTemporal.java

@ -109,6 +109,15 @@ public class ExpressionTemporal extends Expression
bounds = exprTemp.getBounds();
}
/**
* Take the bounds information from the other ExpressionTemporal
* and store a copy in this ExpressionTemporal.
*/
public void copyBoundsFrom(ExpressionTemporal exprTemp)
{
bounds = exprTemp.getBounds().deepCopy();
}
// Get methods
/** Set the operator */

Loading…
Cancel
Save