CodeQL library for Rust
codeql/rust-all 0.2.6 (changelog, source)
Search

Class PostUpdateNodePublic

A node associated with an object after an operation that might have changed its state.

This can be either the argument to a callable after the callable returns (which might have mutated the argument), or the qualifier of a field after an update to the field.

Nodes corresponding to AST elements, for example ExprNode, usually refer to the value before the update.

Import path

import codeql.rust.dataflow.internal.Node

Direct supertypes

Indirect supertypes

Known direct subtypes

    Predicates

    getPreUpdateNode

    Gets the node before the state update.

    Inherited predicates

    asExpr

    Gets the expression that corresponds to this node, if any.

    from NodePublic
    asParameter

    Gets the parameter that corresponds to this node, if any.

    from NodePublic
    asPat

    Gets the pattern that corresponds to this node, if any.

    from NodePublic
    getLocation

    Gets the location of this node.

    from NodePublic
    toString

    Gets a textual representation of this node.

    from NodePublic