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

Class Raw::PathPat

INTERNAL: Do not use. A path pattern. For example:

match x {
    Foo::Bar => "ok",
    _ => "fail",
}

Import path

import codeql.rust.elements.internal.generated.Raw

Direct supertypes

Indirect supertypes

Predicates

Inherited predicates

getPath

Gets the path of this path ast node, if it exists.

from PathAstNode