* @constructor * @param {string} filename * @param {SymbolTable} st * @param {number} flags * @param {boolean=} canSuspend whether compiled code can suspend * @param {string=} sourceCodeForAnnotation used to add original source to listing if desired
(filename, st, flags, canSuspend, sourceCodeForAnnotation)
| 28551 | * @param {string=} sourceCodeForAnnotation used to add original source to listing if desired |
| 28552 | */ |
| 28553 | function Compiler (filename, st, flags, canSuspend, sourceCodeForAnnotation) { |
| 28554 | this.filename = filename; |
| 28555 | this.st = st; |
| 28556 | this.flags = flags; |
| 28557 | this.canSuspend = canSuspend; |
| 28558 | this.interactive = false; |
| 28559 | this.nestlevel = 0; |
| 28560 | |
| 28561 | this.u = null; |
| 28562 | this.stack = []; |
| 28563 | |
| 28564 | this.result = []; |
| 28565 | |
| 28566 | // this.gensymcount = 0; |
| 28567 | |
| 28568 | this.allUnits = []; |
| 28569 | |
| 28570 | this.source = sourceCodeForAnnotation ? sourceCodeForAnnotation.split("\n") : false; |
| 28571 | } |
| 28572 | |
| 28573 | /** |
| 28574 | * @constructor |