pub struct Finder { /* private fields */ }
Expand description
A struct to find sub-nodes in AST by by a given Pattern
Implementations
Trait Implementations
sourceimpl Visitor for Finder
impl Visitor for Finder
sourcefn on_and_asgn(&mut self, node: &AndAsgn)
fn on_and_asgn(&mut self, node: &AndAsgn)
sourcefn on_array_pattern(&mut self, node: &ArrayPattern)
fn on_array_pattern(&mut self, node: &ArrayPattern)
sourcefn on_array_pattern_with_tail(&mut self, node: &ArrayPatternWithTail)
fn on_array_pattern_with_tail(&mut self, node: &ArrayPatternWithTail)
sourcefn on_back_ref(&mut self, node: &BackRef)
fn on_back_ref(&mut self, node: &BackRef)
sourcefn on_blockarg(&mut self, node: &Blockarg)
fn on_blockarg(&mut self, node: &Blockarg)
sourcefn on_block_pass(&mut self, node: &BlockPass)
fn on_block_pass(&mut self, node: &BlockPass)
sourcefn on_case_match(&mut self, node: &CaseMatch)
fn on_case_match(&mut self, node: &CaseMatch)
sourcefn on_complex(&mut self, node: &Complex)
fn on_complex(&mut self, node: &Complex)
sourcefn on_const_pattern(&mut self, node: &ConstPattern)
fn on_const_pattern(&mut self, node: &ConstPattern)
sourcefn on_defined(&mut self, node: &Defined)
fn on_defined(&mut self, node: &Defined)
sourcefn on_e_flip_flop(&mut self, node: &EFlipFlop)
fn on_e_flip_flop(&mut self, node: &EFlipFlop)
sourcefn on_empty_else(&mut self, node: &EmptyElse)
fn on_empty_else(&mut self, node: &EmptyElse)
sourcefn on_encoding(&mut self, node: &Encoding)
fn on_encoding(&mut self, node: &Encoding)
sourcefn on_find_pattern(&mut self, node: &FindPattern)
fn on_find_pattern(&mut self, node: &FindPattern)
sourcefn on_forward_arg(&mut self, node: &ForwardArg)
fn on_forward_arg(&mut self, node: &ForwardArg)
sourcefn on_forwarded_args(&mut self, node: &ForwardedArgs)
fn on_forwarded_args(&mut self, node: &ForwardedArgs)
sourcefn on_hash_pattern(&mut self, node: &HashPattern)
fn on_hash_pattern(&mut self, node: &HashPattern)
sourcefn on_heredoc(&mut self, node: &Heredoc)
fn on_heredoc(&mut self, node: &Heredoc)
sourcefn on_if_guard(&mut self, node: &IfGuard)
fn on_if_guard(&mut self, node: &IfGuard)
sourcefn on_i_flip_flop(&mut self, node: &IFlipFlop)
fn on_i_flip_flop(&mut self, node: &IFlipFlop)
sourcefn on_if_ternary(&mut self, node: &IfTernary)
fn on_if_ternary(&mut self, node: &IfTernary)
sourcefn on_index_asgn(&mut self, node: &IndexAsgn)
fn on_index_asgn(&mut self, node: &IndexAsgn)
sourcefn on_in_pattern(&mut self, node: &InPattern)
fn on_in_pattern(&mut self, node: &InPattern)
sourcefn on_kw_begin(&mut self, node: &KwBegin)
fn on_kw_begin(&mut self, node: &KwBegin)
sourcefn on_kwnilarg(&mut self, node: &Kwnilarg)
fn on_kwnilarg(&mut self, node: &Kwnilarg)
sourcefn on_kwoptarg(&mut self, node: &Kwoptarg)
fn on_kwoptarg(&mut self, node: &Kwoptarg)
sourcefn on_kwrestarg(&mut self, node: &Kwrestarg)
fn on_kwrestarg(&mut self, node: &Kwrestarg)
sourcefn on_kwsplat(&mut self, node: &Kwsplat)
fn on_kwsplat(&mut self, node: &Kwsplat)
sourcefn on_match_alt(&mut self, node: &MatchAlt)
fn on_match_alt(&mut self, node: &MatchAlt)
sourcefn on_match_as(&mut self, node: &MatchAs)
fn on_match_as(&mut self, node: &MatchAs)
sourcefn on_match_current_line(&mut self, node: &MatchCurrentLine)
fn on_match_current_line(&mut self, node: &MatchCurrentLine)
sourcefn on_match_nil_pattern(&mut self, node: &MatchNilPattern)
fn on_match_nil_pattern(&mut self, node: &MatchNilPattern)
sourcefn on_match_pattern(&mut self, node: &MatchPattern)
fn on_match_pattern(&mut self, node: &MatchPattern)
sourcefn on_match_pattern_p(&mut self, node: &MatchPatternP)
fn on_match_pattern_p(&mut self, node: &MatchPatternP)
sourcefn on_match_rest(&mut self, node: &MatchRest)
fn on_match_rest(&mut self, node: &MatchRest)
sourcefn on_match_var(&mut self, node: &MatchVar)
fn on_match_var(&mut self, node: &MatchVar)
sourcefn on_match_with_lvasgn(&mut self, node: &MatchWithLvasgn)
fn on_match_with_lvasgn(&mut self, node: &MatchWithLvasgn)
sourcefn on_nth_ref(&mut self, node: &NthRef)
fn on_nth_ref(&mut self, node: &NthRef)
sourcefn on_numblock(&mut self, node: &Numblock)
fn on_numblock(&mut self, node: &Numblock)
sourcefn on_op_asgn(&mut self, node: &OpAsgn)
fn on_op_asgn(&mut self, node: &OpAsgn)
sourcefn on_or_asgn(&mut self, node: &OrAsgn)
fn on_or_asgn(&mut self, node: &OrAsgn)
sourcefn on_postexe(&mut self, node: &Postexe)
fn on_postexe(&mut self, node: &Postexe)
sourcefn on_procarg0(&mut self, node: &Procarg0)
fn on_procarg0(&mut self, node: &Procarg0)
sourcefn on_rational(&mut self, node: &Rational)
fn on_rational(&mut self, node: &Rational)
sourcefn on_reg_opt(&mut self, node: &RegOpt)
fn on_reg_opt(&mut self, node: &RegOpt)
sourcefn on_rescue_body(&mut self, node: &RescueBody)
fn on_rescue_body(&mut self, node: &RescueBody)
sourcefn on_restarg(&mut self, node: &Restarg)
fn on_restarg(&mut self, node: &Restarg)
sourcefn on_s_class(&mut self, node: &SClass)
fn on_s_class(&mut self, node: &SClass)
sourcefn on_shadowarg(&mut self, node: &Shadowarg)
fn on_shadowarg(&mut self, node: &Shadowarg)
sourcefn on_unless_guard(&mut self, node: &UnlessGuard)
fn on_unless_guard(&mut self, node: &UnlessGuard)
sourcefn on_until_post(&mut self, node: &UntilPost)
fn on_until_post(&mut self, node: &UntilPost)
sourcefn on_while_post(&mut self, node: &WhilePost)
fn on_while_post(&mut self, node: &WhilePost)
sourcefn on_x_heredoc(&mut self, node: &XHeredoc)
fn on_x_heredoc(&mut self, node: &XHeredoc)
sourcefn on_z_super(&mut self, node: &ZSuper)
fn on_z_super(&mut self, node: &ZSuper)
Auto Trait Implementations
impl RefUnwindSafe for Finder
impl Send for Finder
impl Sync for Finder
impl Unpin for Finder
impl UnwindSafe for Finder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more