CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.15-dev (changelog, source)
Search

Class AngularJS::DirectiveTarget

A syntactic element to which an AngularJS directive can be attached.

Import path

import javascript

Direct supertypes

Indirect supertypes

Known direct subtypes

    Predicates

    getElement

    Gets the element which AngularJS directives attached to this target match.

    getName

    Gets the name of this directive target, which is used to match it up with any AngularJS directives that apply to it.

    getType

    Gets the type of this directive target.

    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
    getPrimaryQlClasses

    Gets a comma-separated list of the names of the primary CodeQL classes to which this element belongs.

    from Locatable
    getStartLine

    Gets the line on which this element starts.

    from Locatable
    toString

    Gets a textual representation of this element.

    from Locatable