Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "parsers/index"

Index

Classes

Type aliases

Functions

Type aliases

ParseFn

ParseFn: function

A ParseFn transforms a ParseInput to type T. It must throw a ParseError if the transformation can not be done.

Type declaration

ParserInput

ParserInput: any

A ParseInput can be transformed using a ParseFn.

Functions

parse

  • Syntactic sugar to lazy invoke a ParseFn; Creates a new ParseFn with given parser and returns it for later invocation.

    Type parameters

    • T

    Parameters

    Returns ParseFn

Generated using TypeDoc