|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 2 weeks ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
655 bytes
|
| Rev | Line | |
|---|
| [9af201e] | 1 | "use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|---|
| 2 | var _index = require('../tokenizer/index');
|
|---|
| 3 | var _charcodes = require('../util/charcodes');
|
|---|
| 4 | var _base = require('./base');
|
|---|
| 5 | var _statement = require('./statement');
|
|---|
| 6 |
|
|---|
| 7 | function parseFile() {
|
|---|
| 8 | // If enabled, skip leading hashbang line.
|
|---|
| 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 | _index.skipLineComment.call(void 0, 2);
|
|---|
| 15 | }
|
|---|
| 16 | _index.nextToken.call(void 0, );
|
|---|
| 17 | return _statement.parseTopLevel.call(void 0, );
|
|---|
| 18 | } exports.parseFile = parseFile;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.