Implements the dispatcher for the different parsers.
Procs
proc openParser(p: var Parser; fileIdx: FileIndex; inputstream: PLLStream; cache: IdentCache; config: ConfigRef) {. ...raises: [IOError, Exception, ValueError, ERecoverableError, KeyError], tags: [ReadIOEffect, RootEffect, ReadDirEffect, WriteIOEffect].}
- Source Edit
proc parseFile(fileIdx: FileIndex; cache: IdentCache; config: ConfigRef): ParsedNode {. ...raises: [Exception, ERecoverableError, IOError, ValueError, KeyError], tags: [RootEffect, ReadIOEffect, ReadDirEffect, WriteIOEffect].}
- Source Edit
proc setupParser(p: var Parser; fileIdx: FileIndex; cache: IdentCache; config: ConfigRef): bool {. ...raises: [Exception, ERecoverableError, IOError, ValueError, KeyError], tags: [RootEffect, ReadIOEffect, ReadDirEffect, WriteIOEffect].}
- Source Edit