Options for the Parser.

interface ParserOptions {
    evalMissingNameTo?: "undefined" | "name" | "error";
}

Properties

evalMissingNameTo?: "undefined" | "name" | "error"

Specifies what to do if a name is not contained in a given evaluation context.

  • "undefined": return undefined (the default)
  • "name": return the name as string
  • "error": throw an Error

Generated using TypeDoc