CodeQL library for JavaScript
Search

Class RegExpParseError

A parse error encountered while processing a regular expression literal.

Import path

import javascript

Direct supertypes

Indirect supertypes

Predicates

getLiteral

Gets the regular expression literal in which the parse error occurred.

getMessage

Gets the message associated with this error.

getTerm

Gets the regular expression term that triggered the parse error.

isFatal

Holds if this error prevented the file from being extracted.

toString

Gets a textual representation of this element.

Inherited predicates

getAPrimaryQlClass

Gets the primary QL class for the Locatable.

from Locatable
getEndLine

Gets the line on which this element ends.

from Locatable
getFile

Gets the file this program element comes from.

from Locatable
getLocation

Gets this element’s location.

from Error
getNumLines

Gets the number of lines covered by this element.

from Locatable
getStartLine

Gets the line on which this element starts.

from Locatable