class SemanticError
extends ScannerError

Indicates a semantic error in the provided AST.

Constructors

SemanticError(
errorMessage: string,
location?: Location
)

Usage

import { SemanticError } from ".";