Options
All
  • Public
  • Public/Protected
  • All
Menu

Class R2QuadraticCurveParser

Hierarchy

Index

Constructors

constructor

  • Parameters

    • Optional x0Parser: Parser<number>
    • Optional y0Parser: Parser<number>
    • Optional x1Parser: Parser<number>
    • Optional y1Parser: Parser<number>
    • Optional x2Parser: Parser<number>
    • Optional y2Parser: Parser<number>
    • Optional command: number
    • Optional step: number

    Returns R2QuadraticCurveParser

Methods

asError

  • Type parameters

    • O2

    Returns Parser<O2>

bind

  • Returns R2QuadraticCurve

feed

fork

  • Parameters

    • condition: unknown

    Returns Parser<R2QuadraticCurve>

isCont

  • isCont(): boolean
  • Returns boolean

isDone

  • isDone(): boolean
  • Returns boolean

isError

  • isError(): boolean
  • Returns boolean

trap

  • trap(): Error
  • Returns Error

Static done

  • done<O>(value: O): Parser<O>
  • Type parameters

    • O

    Parameters

    • value: O

    Returns Parser<O>

Static error

  • Type parameters

    • O

    Parameters

    Returns Parser<O>

Static parse

  • Parameters

    • input: Input
    • Optional x0Parser: Parser<number>
    • Optional y0Parser: Parser<number>
    • Optional x1Parser: Parser<number>
    • Optional y1Parser: Parser<number>
    • Optional x2Parser: Parser<number>
    • Optional y2Parser: Parser<number>
    • Optional command: number
    • Optional step: number

    Returns Parser<R2QuadraticCurve>

Static parseRest

  • Parameters

    • input: Input
    • Optional command: number
    • Optional x0Parser: Parser<number>
    • Optional y0Parser: Parser<number>
    • Optional x1Parser: Parser<number>
    • Optional y1Parser: Parser<number>

    Returns Parser<R2QuadraticCurve>

Generated using TypeDoc