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

Class ImplicitDerefNode

A node used to represent implicit dereferencing.

Each node is tagged with its position in a DerefChain and the ImplicitDerefNodeState state that the corresponding implicit deference is in.

Import path

import codeql.rust.dataflow.internal.Node

Direct supertypes

Indirect supertypes

Known direct subtypes

    Fields

    Predicates

    getBorrowInputNode

    Gets the node that should be the predecessor in a reference store-step into this node, if any.

    getDerefOutputNode

    Gets the node that should be the successor in a reference read-step out of this node, if any.

    getExpr
    getLocalInputNode

    Gets the node that should be the predecessor in a local flow step into this node, if any.

    isLast

    Holds if this node represents the last implicit deref in the underlying chain.

    toString

    Gets a textual representation of this node.

    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
    getAstNode

    Gets the AST node that corresponds to this data flow node, if any.

    from Node
    getCfgScope

    Do not call: use getEnclosingCallable() instead.

    from ImplicitDerefBorrowNode
    getEnclosingCallable

    Gets the enclosing callable.

    from Node
    getLocation

    Gets the location of this node.

    from ImplicitDerefBorrowNode

    Charpred