Struct lib_ruby_parser::traverse::finder::Finder [−][src]
pub struct Finder { /* fields omitted */ }Expand description
A struct to find sub-nodes in AST by by a given Pattern
Implementations
Trait Implementations
Called when entering any AST node,
subitem is different for different Node fields,
check documentation of traverse::visitor::Item Read more
Called when exiting any AST node,
subitem is different for different Node fields,
check documentation of traverse::visitor::Item Read more
Invoked by a Visitor on entering into AndAsgn node.
Invoked by a Visitor on entering into ArrayPattern node.
Invoked by a Visitor on entering into ArrayPatternWithTail node.
Invoked by a Visitor on entering into BackRef node.
Invoked by a Visitor on entering into BlockPass node.
Invoked by a Visitor on entering into Blockarg node.
Invoked by a Visitor on entering into CaseMatch node.
Invoked by a Visitor on entering into Complex node.
Invoked by a Visitor on entering into ConstPattern node.
Invoked by a Visitor on entering into Defined node.
Invoked by a Visitor on entering into EFlipFlop node.
Invoked by a Visitor on entering into EmptyElse node.
Invoked by a Visitor on entering into Encoding node.
Invoked by a Visitor on entering into FindPattern node.
Invoked by a Visitor on entering into ForwardArg node.
Invoked by a Visitor on entering into ForwardedArgs node.
Invoked by a Visitor on entering into HashPattern node.
Invoked by a Visitor on entering into Heredoc node.
Invoked by a Visitor on entering into IfGuard node.
Invoked by a Visitor on entering into IfTernary node.
Invoked by a Visitor on entering into IFlipFlop node.
Invoked by a Visitor on entering into MatchPattern node.
Invoked by a Visitor on entering into MatchPatternP node.
Invoked by a Visitor on entering into InPattern node.
Invoked by a Visitor on entering into IndexAsgn node.
Invoked by a Visitor on entering into KwBegin node.
Invoked by a Visitor on entering into Kwnilarg node.
Invoked by a Visitor on entering into Kwoptarg node.
Invoked by a Visitor on entering into Kwrestarg node.
Invoked by a Visitor on entering into Kwsplat node.
Invoked by a Visitor on entering into MatchAlt node.
Invoked by a Visitor on entering into MatchAs node.
Invoked by a Visitor on entering into MatchCurrentLine node.
Invoked by a Visitor on entering into MatchNilPattern node.
Invoked by a Visitor on entering into MatchRest node.
Invoked by a Visitor on entering into MatchVar node.
Invoked by a Visitor on entering into MatchWithLvasgn node.
Invoked by a Visitor on entering into NthRef node.
Invoked by a Visitor on entering into Numblock node.
Invoked by a Visitor on entering into OpAsgn node.
Invoked by a Visitor on entering into OrAsgn node.
Invoked by a Visitor on entering into Postexe node.
Invoked by a Visitor on entering into Procarg0 node.
Invoked by a Visitor on entering into Rational node.
Invoked by a Visitor on entering into RegOpt node.
Invoked by a Visitor on entering into RescueBody node.
Invoked by a Visitor on entering into Restarg node.
Invoked by a Visitor on entering into Return node.
Invoked by a Visitor on entering into Shadowarg node.
Invoked by a Visitor on entering into UnlessGuard node.
Invoked by a Visitor on entering into UntilPost node.
Invoked by a Visitor on entering into WhilePost node.
Invoked by a Visitor on entering into XHeredoc node.
Called when exiting any Node
Called when entering any optional Node
Called when entering any Vec<Node>
Auto Trait Implementations
impl RefUnwindSafe for Finderimpl UnwindSafe for Finder