formalParameter.js 339 B

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