qtil
advanced-security/qtil-javascript 0.0.3
Search

Class SynthLocationImpl

Import path

import semmle.javascript.internal.Locations

Direct supertypes

Indirect supertypes

Predicates

getEndColumn

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

getEndLine

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

getFile

Gets the file for this location.

getStartColumn

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

getStartLine

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

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.

Inherited predicates

contains

Holds if this location contains location that, meaning that it starts before and ends after it.

from LocationImpl
endsAfter

Holds if this location ends after location that.

from LocationImpl
getNumLines

Gets the number of lines covered by this location.

from LocationImpl
isEmpty

Holds if this location is empty.

from LocationImpl
startsBefore

Holds if this location starts before location that.

from LocationImpl
toString

Gets a textual representation of this element.

from LocationImpl