Class: KdlParser

kdljs/parser~KdlParser()

new KdlParser()

Source:

Methods

formatError(input, error, messageopt, optionsopt)

Parameters:
Name Type Attributes Description
input string

Input KDL file (or fragment)

error Object
message string <optional>

Override the error message

options Object <optional>

Further configuration

Properties
Name Type Attributes Default Description
context number <optional>
3

How many lines before the problematic line to include

Source: