pub enum NodeType {
Show 102 variants
AnonymousClass,
AnonymousFunction,
CallArgument,
Array,
ArrayItem,
ArrayLookup,
ArrowFunction,
Assignment,
Attribute,
AttributeItem,
Bin,
Block,
Boolean,
Break,
Call,
Case,
Cast,
Catch,
Class,
ClassKeyword,
Clone,
CommentBlock,
CommentDoc,
CommentLine,
Const,
ConstProperty,
ConstructorParameter,
Continue,
Declare,
DeclareArgument,
DoWhile,
DoWhileCondition,
Echo,
Else,
Encapsed,
EncapsedPart,
Enum,
EnumItem,
Eval,
Exit,
Finally,
For,
Foreach,
Function,
Global,
Goto,
HereDoc,
Identifier,
If,
Include,
Inline,
Interface,
IntersectionType,
Label,
List,
Magic,
Match,
MatchArm,
Method,
Namespace,
Negate,
New,
NowDoc,
Null,
Number,
ObjectAccess,
Parameter,
Parent,
Parenthesis,
Post,
Pre,
Print,
Program,
Property,
PropertyHook,
PropertyItem,
Reference,
Return,
SelfKeyword,
Silent,
Static,
StaticKeyword,
StaticLookup,
String,
Switch,
Ternary,
This,
Trait,
TraitUse,
TraitUseAlias,
TraitUsePrecedence,
Throw,
Try,
Type,
UnionType,
Use,
UseItem,
Variable,
Variadic,
While,
Yield,
YieldFrom,
}Variants§
AnonymousClass
AnonymousFunction
CallArgument
Array
ArrayItem
ArrayLookup
ArrowFunction
Assignment
Attribute
AttributeItem
Bin
Block
Boolean
Break
Call
Case
Cast
Catch
Class
ClassKeyword
Clone
CommentBlock
CommentDoc
CommentLine
Const
ConstProperty
ConstructorParameter
Continue
Declare
DeclareArgument
DoWhile
DoWhileCondition
Echo
Else
Encapsed
EncapsedPart
Enum
EnumItem
Eval
Exit
Finally
For
Foreach
Function
Global
Goto
HereDoc
Identifier
If
Include
Inline
Interface
IntersectionType
Label
List
Magic
Match
MatchArm
Method
Namespace
Negate
New
NowDoc
Null
Number
ObjectAccess
Parameter
Parent
Parenthesis
Post
Pre
Program
Property
PropertyHook
PropertyItem
Reference
Return
SelfKeyword
Silent
Static
StaticKeyword
StaticLookup
String
Switch
Ternary
This
Trait
TraitUse
TraitUseAlias
TraitUsePrecedence
Throw
Try
Type
UnionType
Use
UseItem
Variable
Variadic
While
Yield
YieldFrom
Trait Implementations§
impl StructuralPartialEq for NodeType
Auto Trait Implementations§
impl Freeze for NodeType
impl RefUnwindSafe for NodeType
impl Send for NodeType
impl Sync for NodeType
impl Unpin for NodeType
impl UnwindSafe for NodeType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more