pub enum NodeWrapper {
Show 102 variants
AnonymousClass(AnonymousClassNode),
AnonymousFunction(AnonymousFunctionNode),
CallArgument(CallArgumentNode),
Array(ArrayNode),
ArrayItem(ArrayItemNode),
ArrayLookup(ArrayLookupNode),
ArrowFunction(ArrowFunctionNode),
Assignment(AssignmentNode),
Attribute(AttributeNode),
AttributeItem(AttributeItemNode),
Bin(BinNode),
Block(BlockNode),
Boolean(BooleanNode),
Break(BreakNode),
Call(CallNode),
Case(CaseNode),
Cast(CastNode),
Catch(CatchNode),
Class(ClassNode),
ClassKeyword(ClassKeywordNode),
Clone(CloneNode),
CommentBlock(CommentBlockNode),
CommentDoc(CommentDocNode),
CommentLine(CommentLineNode),
Const(ConstNode),
ConstProperty(ConstPropertyNode),
ConstructorParameter(ConstructorParameterNode),
Continue(ContinueNode),
Declare(DeclareNode),
DeclareArgument(DeclareArgumentNode),
DoWhile(DoWhileNode),
DoWhileCondition(DoWhileConditionNode),
Echo(EchoNode),
Else(ElseNode),
Encapsed(EncapsedNode),
EncapsedPart(EncapsedPartNode),
Enum(EnumNode),
EnumItem(EnumItemNode),
Eval(EvalNode),
Exit(ExitNode),
Finally(FinallyNode),
For(ForNode),
Foreach(ForeachNode),
Function(FunctionNode),
Global(GlobalNode),
Goto(GotoNode),
HereDoc(HereDocNode),
Identifier(IdentifierNode),
If(IfNode),
Include(IncludeNode),
Inline(InlineNode),
Interface(InterfaceNode),
IntersectionType(IntersectionTypeNode),
Label(LabelNode),
List(ListNode),
Magic(MagicNode),
Match(MatchNode),
MatchArm(MatchArmNode),
Method(MethodNode),
Namespace(NamespaceNode),
Negate(NegateNode),
New(NewNode),
NowDoc(NowDocNode),
Null(NullNode),
Number(NumberNode),
ObjectAccess(ObjectAccessNode),
Parameter(ParameterNode),
Parent(ParentNode),
Parenthesis(ParenthesisNode),
Post(PostNode),
Pre(PreNode),
Print(PrintNode),
Program(ProgramNode),
Property(PropertyNode),
PropertyHook(PropertyHookNode),
PropertyItem(PropertyItemNode),
Reference(ReferenceNode),
Return(ReturnNode),
SelfKeyword(SelfNode),
Silent(SilentNode),
Static(StaticNode),
StaticKeyword(StaticKeywordNode),
StaticLookup(StaticLookupNode),
String(StringNode),
Switch(SwitchNode),
Ternary(TernaryNode),
This(ThisNode),
Trait(TraitNode),
TraitUse(TraitUseNode),
TraitUseAlias(TraitUseAliasNode),
TraitUsePrecedence(TraitUsePrecedenceNode),
Throw(ThrowNode),
Try(TryNode),
Type(TypeNode),
UnionType(UnionTypeNode),
Use(UseNode),
UseItem(UseItemNode),
Variable(VariableNode),
Variadic(VariadicNode),
While(WhileNode),
Yield(YieldNode),
YieldFrom(YieldFromNode),
}Variants§
AnonymousClass(AnonymousClassNode)
AnonymousFunction(AnonymousFunctionNode)
CallArgument(CallArgumentNode)
Array(ArrayNode)
ArrayItem(ArrayItemNode)
ArrayLookup(ArrayLookupNode)
ArrowFunction(ArrowFunctionNode)
Assignment(AssignmentNode)
Attribute(AttributeNode)
AttributeItem(AttributeItemNode)
Bin(BinNode)
Block(BlockNode)
Boolean(BooleanNode)
Break(BreakNode)
Call(CallNode)
Case(CaseNode)
Cast(CastNode)
Catch(CatchNode)
Class(ClassNode)
ClassKeyword(ClassKeywordNode)
Clone(CloneNode)
CommentBlock(CommentBlockNode)
CommentDoc(CommentDocNode)
CommentLine(CommentLineNode)
Const(ConstNode)
ConstProperty(ConstPropertyNode)
ConstructorParameter(ConstructorParameterNode)
Continue(ContinueNode)
Declare(DeclareNode)
DeclareArgument(DeclareArgumentNode)
DoWhile(DoWhileNode)
DoWhileCondition(DoWhileConditionNode)
Echo(EchoNode)
Else(ElseNode)
Encapsed(EncapsedNode)
EncapsedPart(EncapsedPartNode)
Enum(EnumNode)
EnumItem(EnumItemNode)
Eval(EvalNode)
Exit(ExitNode)
Finally(FinallyNode)
For(ForNode)
Foreach(ForeachNode)
Function(FunctionNode)
Global(GlobalNode)
Goto(GotoNode)
HereDoc(HereDocNode)
Identifier(IdentifierNode)
If(IfNode)
Include(IncludeNode)
Inline(InlineNode)
Interface(InterfaceNode)
IntersectionType(IntersectionTypeNode)
Label(LabelNode)
List(ListNode)
Magic(MagicNode)
Match(MatchNode)
MatchArm(MatchArmNode)
Method(MethodNode)
Namespace(NamespaceNode)
Negate(NegateNode)
New(NewNode)
NowDoc(NowDocNode)
Null(NullNode)
Number(NumberNode)
ObjectAccess(ObjectAccessNode)
Parameter(ParameterNode)
Parent(ParentNode)
Parenthesis(ParenthesisNode)
Post(PostNode)
Pre(PreNode)
Print(PrintNode)
Program(ProgramNode)
Property(PropertyNode)
PropertyHook(PropertyHookNode)
PropertyItem(PropertyItemNode)
Reference(ReferenceNode)
Return(ReturnNode)
SelfKeyword(SelfNode)
Silent(SilentNode)
Static(StaticNode)
StaticKeyword(StaticKeywordNode)
StaticLookup(StaticLookupNode)
String(StringNode)
Switch(SwitchNode)
Ternary(TernaryNode)
This(ThisNode)
Trait(TraitNode)
TraitUse(TraitUseNode)
TraitUseAlias(TraitUseAliasNode)
TraitUsePrecedence(TraitUsePrecedenceNode)
Throw(ThrowNode)
Try(TryNode)
Type(TypeNode)
UnionType(UnionTypeNode)
Use(UseNode)
UseItem(UseItemNode)
Variable(VariableNode)
Variadic(VariadicNode)
While(WhileNode)
Yield(YieldNode)
YieldFrom(YieldFromNode)
Trait Implementations§
Source§impl Clone for NodeWrapper
impl Clone for NodeWrapper
Source§fn clone(&self) -> NodeWrapper
fn clone(&self) -> NodeWrapper
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NodeWrapper
impl Debug for NodeWrapper
Source§impl<'de> Deserialize<'de> for NodeWrapper
impl<'de> Deserialize<'de> for NodeWrapper
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NodeWrapper
impl PartialEq for NodeWrapper
Source§impl Serialize for NodeWrapper
impl Serialize for NodeWrapper
impl StructuralPartialEq for NodeWrapper
Auto Trait Implementations§
impl Freeze for NodeWrapper
impl RefUnwindSafe for NodeWrapper
impl Send for NodeWrapper
impl Sync for NodeWrapper
impl Unpin for NodeWrapper
impl UnwindSafe for NodeWrapper
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