1 | "use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
2 | var _index3 = require('../tokenizer/index');
|
3 | var _charcodes = require('../util/charcodes');
|
4 | var _base = require('./base');
|
5 | var _statement = require('./statement');
|
6 |
|
7 | function parseFile() {
|
8 |
|
9 | if (
|
10 | _base.state.pos === 0 &&
|
11 | _base.input.charCodeAt(0) === _charcodes.charCodes.numberSign &&
|
12 | _base.input.charCodeAt(1) === _charcodes.charCodes.exclamationMark
|
13 | ) {
|
14 | _index3.skipLineComment.call(void 0, 2);
|
15 | }
|
16 | _index3.nextToken.call(void 0, );
|
17 | return _statement.parseTopLevel.call(void 0, );
|
18 | } exports.parseFile = parseFile;
|