formalParameter.js 293 B

1234567891011121314151617
  1. export class FormalParameter {
  2. constructor (type, id, byRef = false) {
  3. this.type = type;
  4. this.id = id;
  5. this.byRef = byRef;
  6. this._sourceInfo = null;
  7. }
  8. set sourceInfo (sourceInfo) {
  9. this._sourceInfo = sourceInfo;
  10. }
  11. get sourceInfo () {
  12. return this._sourceInfo;
  13. }
  14. }