Skip to content

LibParsiNOM

Properties

createParsingErrorMessage()

createParsingErrorMessage: (str, parseFailure, verbose) => string

Generate an error message string for a parse failure on a specific string.

Parameters

Parameter Type Description

str

string

the input string that the parse failure occurred on

parseFailure

ParseFailure

the failure to generate the error message for

verbose

boolean

will underline the failure position in the input string, if set to true

Returns

string

Defined in

jsEngine/api/LibAPI.ts:13


P

P: typeof P

Defined in

jsEngine/api/LibAPI.ts:10


P_UTILS

P_UTILS: typeof P_UTILS

Defined in

jsEngine/api/LibAPI.ts:11


Parser

Parser: typeof Parser

Defined in

jsEngine/api/LibAPI.ts:12


ParserContext

ParserContext: typeof ParserContext

Defined in

jsEngine/api/LibAPI.ts:15


ParsingError

ParsingError: typeof ParsingError

Defined in

jsEngine/api/LibAPI.ts:14