1
0

expression.js 340 B

1234567891011121314151617181920212223
  1. export class Expression {
  2. constructor () {
  3. this._sourceInfo = null;
  4. this._parenthesis = false;
  5. }
  6. set sourceInfo (sourceInfo) {
  7. this._sourceInfo = sourceInfo;
  8. }
  9. get sourceInfo () {
  10. return this._sourceInfo;
  11. }
  12. set parenthesis (flag) {
  13. this._parenthesis = flag;
  14. }
  15. get parenthesis () {
  16. return this._parenthesis;
  17. }
  18. }