MCPcopy Create free account
hub / github.com/davidblewett/rure-python / child

Method child

regex/regex-syntax/src/ast/visitor.rs:474–481  ·  view source on GitHub ↗

Perform the next inductive step on this frame and return the next child AST node to visit.

(&self)

Source from the content-addressed store, hash-verified

472 /// Perform the next inductive step on this frame and return the next
473 /// child AST node to visit.
474 fn child(&self) -> &'a Ast {
475 match *self {
476 Frame::Repetition(rep) => &rep.ast,
477 Frame::Group(group) => &group.ast,
478 Frame::Concat { head, .. } => head,
479 Frame::Alternation { head, .. } => head,
480 }
481 }
482}
483
484impl<'a> ClassFrame<'a> {

Callers 2

visitMethod · 0.45
visit_classMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected