Type alias ParserSuccess<T>

ParserSuccess<T>: {
    nextParser?: Parser<any>;
    rest: string;
    result: T;
    success: true;
}

Represents a parse success with no captures.

Type Parameters

  • T

Type declaration

  • Optional nextParser?: Parser<any>
  • rest: string
  • result: T
  • success: true

Generated using TypeDoc