Parser overview
Added in v0.6.0
Table of contents
model
Parser (interface)
Signature
export interface Parser<A> extends RE.ReaderEither<ParserEnv, string, A> {}
Added in v0.6.0
ParserEnv (interface)
Signature
export interface ParserEnv extends EnvironmentWithConfig {
readonly path: RNEA.ReadonlyNonEmptyArray<string>
readonly sourceFile: ast.SourceFile
}
Added in v0.6.0
parsers
parseClasses
Signature
export declare const parseClasses: Parser<readonly Class[]>
Added in v0.6.0
parseConstants
Signature
export declare const parseConstants: Parser<readonly Constant[]>
Added in v0.6.0
parseExports
Signature
export declare const parseExports: Parser<readonly Export[]>
Added in v0.6.0
parseFiles
Signature
export declare const parseFiles: (
files: ReadonlyArray<File>
) => RTE.ReaderTaskEither<EnvironmentWithConfig, string, ReadonlyArray<Module>>
Added in v0.6.0
parseFunctions
Signature
export declare const parseFunctions: Parser<readonly Function[]>
Added in v0.6.0
parseInterfaces
Signature
export declare const parseInterfaces: Parser<readonly Interface[]>
Added in v0.6.0
parseModule
Signature
export declare const parseModule: Parser<Module>
Added in v0.6.0
parseTypeAliases
Signature
export declare const parseTypeAliases: Parser<readonly TypeAlias[]>
Added in v0.6.0