#[repr(C)]pub enum NodeKind {
Show 217 variants
Program = 0,
ConstantAccess = 1,
Access = 2,
ClassConstantAccess = 3,
NullSafePropertyAccess = 4,
PropertyAccess = 5,
StaticPropertyAccess = 6,
Argument = 7,
ArgumentList = 8,
NamedArgument = 9,
PositionalArgument = 10,
Array = 11,
ArrayAccess = 12,
ArrayAppend = 13,
ArrayElement = 14,
KeyValueArrayElement = 15,
LegacyArray = 16,
List = 17,
MissingArrayElement = 18,
ValueArrayElement = 19,
VariadicArrayElement = 20,
Attribute = 21,
AttributeList = 22,
Block = 23,
Call = 24,
FunctionCall = 25,
MethodCall = 26,
NullSafeMethodCall = 27,
StaticMethodCall = 28,
ClassLikeConstant = 29,
ClassLikeConstantItem = 30,
EnumCase = 31,
EnumCaseBackedItem = 32,
EnumCaseItem = 33,
EnumCaseUnitItem = 34,
Extends = 35,
Implements = 36,
ClassLikeConstantSelector = 37,
ClassLikeMember = 38,
ClassLikeMemberExpressionSelector = 39,
ClassLikeMemberSelector = 40,
Method = 41,
MethodAbstractBody = 42,
MethodBody = 43,
HookedProperty = 44,
PlainProperty = 45,
Property = 46,
PropertyAbstractItem = 47,
PropertyConcreteItem = 48,
PropertyHook = 49,
PropertyHookAbstractBody = 50,
PropertyHookBody = 51,
PropertyHookConcreteBody = 52,
PropertyHookConcreteExpressionBody = 53,
PropertyHookList = 54,
PropertyItem = 55,
TraitUse = 56,
TraitUseAbsoluteMethodReference = 57,
TraitUseAbstractSpecification = 58,
TraitUseAdaptation = 59,
TraitUseAliasAdaptation = 60,
TraitUseConcreteSpecification = 61,
TraitUseMethodReference = 62,
TraitUsePrecedenceAdaptation = 63,
TraitUseSpecification = 64,
AnonymousClass = 65,
Class = 66,
Enum = 67,
EnumBackingTypeHint = 68,
Interface = 69,
Trait = 70,
Clone = 71,
ClosureCreation = 72,
FunctionClosureCreation = 73,
MethodClosureCreation = 74,
StaticMethodClosureCreation = 75,
Constant = 76,
ConstantItem = 77,
Construct = 78,
DieConstruct = 79,
EmptyConstruct = 80,
EvalConstruct = 81,
ExitConstruct = 82,
IncludeConstruct = 83,
IncludeOnceConstruct = 84,
IssetConstruct = 85,
PrintConstruct = 86,
RequireConstruct = 87,
RequireOnceConstruct = 88,
If = 89,
IfBody = 90,
IfColonDelimitedBody = 91,
IfColonDelimitedBodyElseClause = 92,
IfColonDelimitedBodyElseIfClause = 93,
IfStatementBody = 94,
IfStatementBodyElseClause = 95,
IfStatementBodyElseIfClause = 96,
Match = 97,
MatchArm = 98,
MatchDefaultArm = 99,
MatchExpressionArm = 100,
Switch = 101,
SwitchBody = 102,
SwitchBraceDelimitedBody = 103,
SwitchCase = 104,
SwitchCaseSeparator = 105,
SwitchColonDelimitedBody = 106,
SwitchDefaultCase = 107,
SwitchExpressionCase = 108,
Declare = 109,
DeclareBody = 110,
DeclareColonDelimitedBody = 111,
DeclareItem = 112,
Echo = 113,
Expression = 114,
Binary = 115,
BinaryOperator = 116,
UnaryPrefix = 117,
UnaryPrefixOperator = 118,
UnaryPostfix = 119,
UnaryPostfixOperator = 120,
Parenthesized = 121,
ArrowFunction = 122,
Closure = 123,
ClosureUseClause = 124,
ClosureUseClauseVariable = 125,
Function = 126,
FunctionLikeParameter = 127,
FunctionLikeParameterDefaultValue = 128,
FunctionLikeParameterList = 129,
FunctionLikeReturnTypeHint = 130,
Global = 131,
Goto = 132,
Label = 133,
HaltCompiler = 134,
FullyQualifiedIdentifier = 135,
Identifier = 136,
LocalIdentifier = 137,
QualifiedIdentifier = 138,
Inline = 139,
Instantiation = 140,
Keyword = 141,
Literal = 142,
LiteralFloat = 143,
LiteralInteger = 144,
LiteralString = 145,
MagicConstant = 146,
Modifier = 147,
Namespace = 148,
NamespaceBody = 149,
NamespaceImplicitBody = 150,
Assignment = 151,
AssignmentOperator = 152,
Conditional = 153,
DoWhile = 154,
Foreach = 155,
ForeachBody = 156,
ForeachColonDelimitedBody = 157,
ForeachKeyValueTarget = 158,
ForeachTarget = 159,
ForeachValueTarget = 160,
For = 161,
ForBody = 162,
ForColonDelimitedBody = 163,
While = 164,
WhileBody = 165,
WhileColonDelimitedBody = 166,
Break = 167,
Continue = 168,
Return = 169,
Static = 170,
StaticAbstractItem = 171,
StaticConcreteItem = 172,
StaticItem = 173,
Try = 174,
TryCatchClause = 175,
TryFinallyClause = 176,
MaybeTypedUseItem = 177,
MixedUseItemList = 178,
TypedUseItemList = 179,
TypedUseItemSequence = 180,
Use = 181,
UseItem = 182,
UseItemAlias = 183,
UseItemSequence = 184,
UseItems = 185,
UseType = 186,
Yield = 187,
YieldFrom = 188,
YieldPair = 189,
YieldValue = 190,
Statement = 191,
ExpressionStatement = 192,
BracedExpressionStringPart = 193,
DocumentString = 194,
InterpolatedString = 195,
LiteralStringPart = 196,
ShellExecuteString = 197,
CompositeString = 198,
StringPart = 199,
ClosingTag = 200,
EchoOpeningTag = 201,
FullOpeningTag = 202,
OpeningTag = 203,
ShortOpeningTag = 204,
Terminator = 205,
Throw = 206,
Hint = 207,
IntersectionHint = 208,
NullableHint = 209,
ParenthesizedHint = 210,
UnionHint = 211,
Unset = 212,
DirectVariable = 213,
IndirectVariable = 214,
NestedVariable = 215,
Variable = 216,
}Variants§
Program = 0
ConstantAccess = 1
Access = 2
ClassConstantAccess = 3
NullSafePropertyAccess = 4
PropertyAccess = 5
StaticPropertyAccess = 6
Argument = 7
ArgumentList = 8
NamedArgument = 9
PositionalArgument = 10
Array = 11
ArrayAccess = 12
ArrayAppend = 13
ArrayElement = 14
KeyValueArrayElement = 15
LegacyArray = 16
List = 17
MissingArrayElement = 18
ValueArrayElement = 19
VariadicArrayElement = 20
Attribute = 21
AttributeList = 22
Block = 23
Call = 24
FunctionCall = 25
MethodCall = 26
NullSafeMethodCall = 27
StaticMethodCall = 28
ClassLikeConstant = 29
ClassLikeConstantItem = 30
EnumCase = 31
EnumCaseBackedItem = 32
EnumCaseItem = 33
EnumCaseUnitItem = 34
Extends = 35
Implements = 36
ClassLikeConstantSelector = 37
ClassLikeMember = 38
ClassLikeMemberExpressionSelector = 39
ClassLikeMemberSelector = 40
Method = 41
MethodAbstractBody = 42
MethodBody = 43
HookedProperty = 44
PlainProperty = 45
Property = 46
PropertyAbstractItem = 47
PropertyConcreteItem = 48
PropertyHook = 49
PropertyHookAbstractBody = 50
PropertyHookBody = 51
PropertyHookConcreteBody = 52
PropertyHookConcreteExpressionBody = 53
PropertyHookList = 54
PropertyItem = 55
TraitUse = 56
TraitUseAbsoluteMethodReference = 57
TraitUseAbstractSpecification = 58
TraitUseAdaptation = 59
TraitUseAliasAdaptation = 60
TraitUseConcreteSpecification = 61
TraitUseMethodReference = 62
TraitUsePrecedenceAdaptation = 63
TraitUseSpecification = 64
AnonymousClass = 65
Class = 66
Enum = 67
EnumBackingTypeHint = 68
Interface = 69
Trait = 70
Clone = 71
ClosureCreation = 72
FunctionClosureCreation = 73
MethodClosureCreation = 74
StaticMethodClosureCreation = 75
Constant = 76
ConstantItem = 77
Construct = 78
DieConstruct = 79
EmptyConstruct = 80
EvalConstruct = 81
ExitConstruct = 82
IncludeConstruct = 83
IncludeOnceConstruct = 84
IssetConstruct = 85
PrintConstruct = 86
RequireConstruct = 87
RequireOnceConstruct = 88
If = 89
IfBody = 90
IfColonDelimitedBody = 91
IfColonDelimitedBodyElseClause = 92
IfColonDelimitedBodyElseIfClause = 93
IfStatementBody = 94
IfStatementBodyElseClause = 95
IfStatementBodyElseIfClause = 96
Match = 97
MatchArm = 98
MatchDefaultArm = 99
MatchExpressionArm = 100
Switch = 101
SwitchBody = 102
SwitchBraceDelimitedBody = 103
SwitchCase = 104
SwitchCaseSeparator = 105
SwitchColonDelimitedBody = 106
SwitchDefaultCase = 107
SwitchExpressionCase = 108
Declare = 109
DeclareBody = 110
DeclareColonDelimitedBody = 111
DeclareItem = 112
Echo = 113
Expression = 114
Binary = 115
BinaryOperator = 116
UnaryPrefix = 117
UnaryPrefixOperator = 118
UnaryPostfix = 119
UnaryPostfixOperator = 120
Parenthesized = 121
ArrowFunction = 122
Closure = 123
ClosureUseClause = 124
ClosureUseClauseVariable = 125
Function = 126
FunctionLikeParameter = 127
FunctionLikeParameterDefaultValue = 128
FunctionLikeParameterList = 129
FunctionLikeReturnTypeHint = 130
Global = 131
Goto = 132
Label = 133
HaltCompiler = 134
FullyQualifiedIdentifier = 135
Identifier = 136
LocalIdentifier = 137
QualifiedIdentifier = 138
Inline = 139
Instantiation = 140
Keyword = 141
Literal = 142
LiteralFloat = 143
LiteralInteger = 144
LiteralString = 145
MagicConstant = 146
Modifier = 147
Namespace = 148
NamespaceBody = 149
NamespaceImplicitBody = 150
Assignment = 151
AssignmentOperator = 152
Conditional = 153
DoWhile = 154
Foreach = 155
ForeachBody = 156
ForeachColonDelimitedBody = 157
ForeachKeyValueTarget = 158
ForeachTarget = 159
ForeachValueTarget = 160
For = 161
ForBody = 162
ForColonDelimitedBody = 163
While = 164
WhileBody = 165
WhileColonDelimitedBody = 166
Break = 167
Continue = 168
Return = 169
Static = 170
StaticAbstractItem = 171
StaticConcreteItem = 172
StaticItem = 173
Try = 174
TryCatchClause = 175
TryFinallyClause = 176
MaybeTypedUseItem = 177
MixedUseItemList = 178
TypedUseItemList = 179
TypedUseItemSequence = 180
Use = 181
UseItem = 182
UseItemAlias = 183
UseItemSequence = 184
UseItems = 185
UseType = 186
Yield = 187
YieldFrom = 188
YieldPair = 189
YieldValue = 190
Statement = 191
ExpressionStatement = 192
BracedExpressionStringPart = 193
DocumentString = 194
InterpolatedString = 195
LiteralStringPart = 196
ShellExecuteString = 197
CompositeString = 198
StringPart = 199
ClosingTag = 200
EchoOpeningTag = 201
FullOpeningTag = 202
OpeningTag = 203
ShortOpeningTag = 204
Terminator = 205
Throw = 206
Hint = 207
IntersectionHint = 208
NullableHint = 209
ParenthesizedHint = 210
UnionHint = 211
Unset = 212
DirectVariable = 213
IndirectVariable = 214
NestedVariable = 215
Variable = 216
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NodeKind
impl<'de> Deserialize<'de> for NodeKind
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 Ord for NodeKind
impl Ord for NodeKind
Source§impl PartialOrd for NodeKind
impl PartialOrd for NodeKind
impl Copy for NodeKind
impl Eq for NodeKind
impl StructuralPartialEq for NodeKind
Auto Trait Implementations§
impl Freeze for NodeKind
impl RefUnwindSafe for NodeKind
impl Send for NodeKind
impl Sync for NodeKind
impl Unpin for NodeKind
impl UnwindSafe for NodeKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more