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

Class Django::Forms::Form::ModeledSubclass

An API::Node representing the django.forms.forms.BaseForm class or any subclass that has explicitly been modeled in the CodeQL libraries.

Import path

import semmle.python.frameworks.Django

Direct supertypes

Indirect supertypes

Known direct subtypes

    Predicates

    toString

    Gets a textual representation of this element.

    Inherited predicates

    asSink

    Gets a data-flow node where this value leaves the current codebase and flows into an external library (or in general, any external codebase).

    from Node
    asSource

    Gets a data-flow node where this value enters the current codebase.

    from Node
    getACall

    Gets a call to the function represented by this API component.

    from Node
    getAMember

    Gets a node representing a member of this API component where the name of the member may or may not be known statically.

    from Node
    getAPredecessor

    Gets a node such that there is an edge in the API graph between that other node and this one, and that edge is labeled with lbl

    from Node
    getAPredecessor

    Gets a node such that there is an edge in the API graph between this node and the other one.

    from Node
    getARhs

    DEPRECATED. This predicate has been renamed to asSink().

    from Node
    getASubclass

    Gets a node representing a subclass of the class represented by this node.

    from Node
    getASubscript

    Gets a node representing a subscript of this node. For example obj[x] is a subscript of obj.

    from Node
    getASuccessor

    Gets a node such that there is an edge in the API graph between this node and the other one, and that edge is labeled with lbl.

    from Node
    getASuccessor

    Gets a node such that there is an edge in the API graph between that other node and this one.

    from Node
    getAUse

    DEPRECATED. This predicate has been renamed to getAValueReachableFromSource().

    from Node
    getAValueReachableFromSource

    Gets a data-flow node where this value may flow after entering the current codebase.

    from Node
    getAValueReachingRhs

    DEPRECATED. This predicate has been renamed to getAValueReachingSink().

    from Node
    getAValueReachingSink

    Gets a data-flow node that transitively flows to an external library (or in general, any external codebase).

    from Node
    getAnImmediateUse

    DEPRECATED. This predicate has been renamed to asSource().

    from Node
    getAwaited

    Gets a node representing the result from awaiting this node.

    from Node
    getDepth

    Gets the shortest distance from the root to this node in the API graph.

    from Node
    getIndex

    Gets a node representing an index of a subscript of this node. For example, in obj[x], x is an index of obj.

    from Node
    getInducingNode

    Gets the data-flow node that gives rise to this node, if any.

    from Node
    getKeywordParameter

    Gets the node representing the keyword parameter name of the function represented by this node.

    from Node
    getMember

    Gets a node representing member m of this API component.

    from Node
    getNumParameter

    Gets the number of parameters of the function represented by this node.

    from Node
    getParameter

    Gets a node representing the ith parameter of the function represented by this node.

    from Node
    getPath

    Gets a string representation of the lexicographically least among all shortest access paths from the root to this node.

    from Node
    getReturn

    Gets a node representing the result of the function represented by this node.

    from Node
    getSelfParameter

    Gets the node representing the self parameter

    from Node
    getSubscript

    Gets a node representing a subscript of this node at (string) index key. This requires that the index can be statically determined.

    from Node
    getSubscriptAt

    Gets a node representing a subscript of this node at index index.

    from Node
    getUnknownMember

    Gets a node representing a member of this API component where the name of the member is not known statically.

    from Node
    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 Node