function collateSyntaxErrors
collateSyntaxErrors(
parseTree: Tree,
sdlStringInput: SdlStringInput
): SyntaxError[]

Return a collated list of syntax errors from the parse tree.

Parameters

parseTree: Tree

The parse tree generated from the source string.

sdlStringInput: SdlStringInput

The SDL source StringInput.

Return Type

Usage

import { collateSyntaxErrors } from ".";