Class DOM::DOM::AttributeDefinition

A DOM attribute as defined, for instance, by an HTML attribute in an HTML file or a JSX attribute in a JavaScript file.

Direct supertypes

Indirect supertypes

Known direct subtypes

    Predicates

    getElement

    Gets the DOM element this attribute belongs to.

    getName

    Gets the name of this attribute, if any.

    getStringValue

    Gets the value of this attribute, if it can be determined.

    getValueNode

    Gets the data flow node whose value is the value of this attribute, if any.

    mayHaveTemplateValue

    Holds if the value of this attribute might be a template value such as {{window.location.url}}.

    Inherited predicates

    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