CodeQL library for Python
codeql/python-all 0.11.12 (changelog, source)
Search

Class SyntaxError

A syntax error. Note that if there is a syntax error in a module, much information about that module will be lost

Import path

import python

Direct supertypes

Indirect supertypes

Known direct subtypes

Predicates

getMessage

Gets the message corresponding to this syntax error

toString

Gets a textual representation of this element.

Inherited predicates

getEndColumn

Gets the 1-based column number (inclusive) where this location ends.

from Location
getEndLine

Gets the 1-based line number (inclusive) where this location ends.

from Location
getFile

Gets the file for this location

from Location
getStartColumn

Gets the 1-based column number (inclusive) where this location starts.

from Location
getStartLine

Gets the 1-based line number (inclusive) where this location starts.

from Location
hasLocationInfo

Holds if this element is at the specified location. The location spans column startcolumn of line startline to column endcolumn of line endline in file filepath. For more information, see Locations.

from Location

Charpred