Interface ParseHelperOptions

interface ParseHelperOptions {
    documentUri?: string;
    parserOptions?: ParserOptions;
    validation?: boolean | ValidationOptions;
}

Hierarchy (view full)

Properties

documentUri?: string

Specifies the URI of the generated document. Will use a counter variable if not specified.

parserOptions?: ParserOptions

Options passed to the LangiumParser.

validation?: boolean | ValidationOptions

Control the validation phase with this option:

  • true enables all validation checks and forces revalidating the documents
  • false or undefined disables all validation checks
  • An object runs only the necessary validation checks; the categories property restricts this to a specific subset