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

Function walk_argument

libs/@local/hashql/ast/src/visit.rs:461–468  ·  view source on GitHub ↗
(
    visitor: &mut T,
    Argument { id, span, value }: &mut Argument<'heap>,
)

Source from the content-addressed store, hash-verified

459}
460
461pub fn walk_argument<'heap, T: Visitor<'heap> + ?Sized>(
462 visitor: &mut T,
463 Argument { id, span, value }: &mut Argument<'heap>,
464) {
465 visitor.visit_id(id);
466 visitor.visit_span(span);
467 visitor.visit_expr(value);
468}
469
470pub fn walk_labeled_argument<'heap, T: Visitor<'heap> + ?Sized>(
471 visitor: &mut T,

Callers 1

visit_argumentMethod · 0.85

Calls 3

visit_idMethod · 0.45
visit_spanMethod · 0.45
visit_exprMethod · 0.45

Tested by

no test coverage detected