# syntaxes

Theme:

- Index

Search:
Group by:
Source Edit

Implements the dispatcher for the different parsers.

# Imports

llstream, ast, idents, lexer, options, msgs, parser, filters, filter_tmpl, renderer, lineinfos, pathutils

# Procs

    proc openParser(p: var Parser; fileIdx: FileIndex; inputstream: PLLStream;
                    cache: IdentCache; config: ConfigRef) {....raises: [IOError,
        Exception, ValueError, OSError, KeyError, ERecoverableError], tags: [
        ReadIOEffect, RootEffect, ReadDirEffect, WriteIOEffect, ReadEnvEffect],
        forbids: [].}

  Source Edit

    proc parseFile(fileIdx: FileIndex; cache: IdentCache; config: ConfigRef): PNode {....raises: [
        Exception, ValueError, OSError, KeyError, IOError, ERecoverableError], tags: [
        RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect],
        forbids: [].}

  Source Edit

    proc setupParser(p: var Parser; fileIdx: FileIndex; cache: IdentCache;
                     config: ConfigRef): bool {....raises: [Exception, ValueError,
        OSError, KeyError, IOError, ERecoverableError], tags: [RootEffect,
        ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect], forbids: [].}

  Source Edit

# Exports

Parser, parseAll, parseTopLevelStmt, checkFirstLineIndentation, closeParser