Buckets:
| import {nextToken, skipLineComment} from "../tokenizer/index"; | |
| import {charCodes} from "../util/charcodes"; | |
| import {input, state} from "./base"; | |
| import {parseTopLevel} from "./statement"; | |
| export function parseFile() { | |
| // If enabled, skip leading hashbang line. | |
| if ( | |
| state.pos === 0 && | |
| input.charCodeAt(0) === charCodes.numberSign && | |
| input.charCodeAt(1) === charCodes.exclamationMark | |
| ) { | |
| skipLineComment(2); | |
| } | |
| nextToken(); | |
| return parseTopLevel(); | |
| } | |
Xet Storage Details
- Size:
- 478 Bytes
- Xet hash:
- cb61ff423405ab4a18b4b203fcc307e955358b2e876ddcd57e466d7f5796e7f2
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.