Enum lib_ruby_parser::traverse::visitor::Item [−][src]
Enum of all types of parent->child transitions during traversing
Variants
Root transition
Transition into .recv
from:
Send
CSend
Index
IndexAsgn
OpAsgn
OrAsgn
AndAsgn
Transition into .lhs
from:
And
Masgn
MatchAlt
Or
Transition into .rhs
from:
And
Masgn
MatchAlt
Or
Transition into .value
from:
AndAsgn
BlockPass
Casgn
Cvasgn
Defined
Gvasgn
MatchPattern
MatchPattern
IndexAsgn
Ivasgn
Kwsplat
Lvasgn
MatchAs
MatchWithLvasgn
OpAsgn
OrAsgn
Pair
Splat
Transitions into .call
from:
Block
Numblock
Transitions into .body
from:
Block
Class
Def
Defs
Ensure
For
InPattern
Module
Numblock
Postexe
Preexe
Rescue
RescueBody
Sclass
Until
UntilPost
When
While
WhilePost
Transitions into .args
from:
Block
Break
Csend
Def
Defs
Next
Return
Send
Super
Undef
When
Yield
Transitions into .expr
from:
Case
CaseMatch
Sclass
Transitions into .else_body
from:
Case
CaseMatch
Rescue
Transitions into .scope
from:
Casgn
Const
Transitions into .name
from:
Class
MatchRest
Module
Transitions into .superclass
from:
Class
Transitions into .const
from:
ConstPattern
Transitions into .definee
from:
Defs
Transitions into .iterator
from:
For
Transitions into .iteratee
from:
For
Transitions into .pattern
from:
ConstPattern
MatchPattern
MatchPatternP
InPattern
Transitions into .left
from:
EFlipFlop
Erange
IFlipFlop
Irange
Transitions into .right
from:
EFlipFlop
Erange
IFlipFlop
Irange
Transitions into .if_true
from:
If
IfMod
IfTernary
Transitions into .if_false
from:
If
IfMod
IfTernary
Transitions into .cond
from:
If
IfGuard
IfMod
IfTernary
UnlessGuard
Until
UntilPost
While
WhilePost
Transitions into .default
from:
Kwoptarg
Optarg
Transitions into .ensure
from:
Ensure
Transitions into .guard
from:
InPattern
Transitions into .as
from:
MatchAs
Transitions into .re
from:
MatchCurrentLine
MatchWithLvasgn
Transitions into .key
from:
Pair
Transitions into .exc_list
from:
RescueBody
Transitions into .exc_var
from:
RescueBody
Transitions into .var
from:
Pin
Transitions into .options
from:
Regexp
Transitions into .to
from:
Alias
Transitions into .from
from:
Alias
Transitions into .items
from:
Mlhs
Transitions into .args
from:
Args
Procarg0
Transitions into .elements
from:
Array
ArrayPattern
ArrayPatternWithTail
FindPattern
HashPattern
Transitions into .statements
from:
Begin
KwBegin
Transitions into .whn_bodies
from:
Case
Transitions into .in_bodies
from:
CaseMatch
Transitions into .parts
from:
Dstr
Dsym
Heredoc
Regexp
XHeredoc
Xstr
Transitions into .indexes
from:
Index
IndexAsgn
Transitions into .pairs
from:
Hash
Kwargs
Transitions into .rescue_bodies
from:
Rescue
Idx(usize)
Transitions into any element of `Vec
Trait Implementations
impl Clone for Item
[src]
impl Copy for Item
[src]
impl Debug for Item
[src]
impl Eq for Item
[src]
impl PartialEq<Item> for Item
[src]
impl StructuralEq for Item
[src]
impl StructuralPartialEq for Item
[src]
Auto Trait Implementations
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnwindSafe for Item
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,