init
parser
  • Init n [mode] mode. After parsing the defined number of commands, execute endCmd. Escape cancels the mode and executes endCmd.

    Parameters

    • endCommand: string
    • mode: string = "normal"
    • numCommands: number = 1
    • strict: boolean = false

    Returns void