CodeQL library for JavaScript
Search

Class AngularJS::NgSourceProvider

Extensible class for AngularJS expression source providers (e.g. id="{{myId}}" of <div id="{{myId}}" class="left"/>).

Import path

import javascript

Direct supertypes

Indirect supertypes

Known direct subtypes

    Predicates

    getEnclosingElement

    Gets the enclosing element of the provided source.

    providesSourceAt

    Holds if this element provides the source as src for an AngularJS expression at the specified location. The location spans column startcolumn of line startline to column endcolumn of line endline in file filepath.

    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 Locatable
    getNumLines

    Gets the number of lines covered by this element.

    from Locatable
    getStartLine

    Gets the line on which this element starts.

    from Locatable
    toString

    Gets a textual representation of this element.

    from Locatable