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

Function walk_struct_expr_entry

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

Source from the content-addressed store, hash-verified

504}
505
506pub fn walk_struct_expr_entry<'heap, T: Visitor<'heap> + ?Sized>(
507 visitor: &mut T,
508 StructEntry {
509 id,
510 span,
511 key,
512 value,
513 }: &mut StructEntry<'heap>,
514) {
515 visitor.visit_id(id);
516 visitor.visit_span(span);
517 visitor.visit_ident(key);
518 visitor.visit_expr(value);
519}
520
521pub fn walk_dict_expr<'heap, T: Visitor<'heap> + ?Sized>(
522 visitor: &mut T,

Callers 1

Calls 4

visit_idMethod · 0.45
visit_spanMethod · 0.45
visit_identMethod · 0.45
visit_exprMethod · 0.45

Tested by

no test coverage detected