MCPcopy Create free account
hub / github.com/hashintel/hash / Path

Class Path

libs/@local/hashql/ast/src/node/path.rs:99–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97/// ```
98#[derive(Clone, Debug, PartialEq, Eq, Hash)]
99pub struct Path<'heap> {
100 pub id: NodeId,
101 pub span: SpanId,
102
103 /// Whether the path is rooted (starts with a double colon `::`).
104 pub rooted: bool,
105 pub segments: heap::Vec<'heap, PathSegment<'heap>>,
106}
107
108impl<'heap> Path<'heap> {
109 const fn is_generic_ident(&self) -> bool {

Callers 4

lower_expr_to_typeMethod · 0.85
visit_placeMethod · 0.85
parse_expr_pathFunction · 0.85
parse_type_atomFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected