Structs§
- Arena
Vec - Arena-allocated Vec. Thin newtype over bumpalo::collections::Vec that implements Serialize and Debug.
- Arg
- Array
Access Expr - Array
Element - Arrow
Function Expr - Assign
Expr - Attribute
- Binary
Expr - Callable
Create Expr - Catch
Clause - Class
Const Decl - Class
Decl - Class
Member - Class
Modifiers - Closure
Expr - Closure
UseVar - Const
Item - Declare
Stmt - DoWhile
Stmt - Else
IfBranch - Enum
Case - Enum
Decl - Enum
Member - Expr
- ForStmt
- Foreach
Stmt - Function
Call Expr - Function
Decl - IfStmt
- Interface
Decl - Match
Arm - Match
Expr - Method
Call Expr - Method
Decl - Namespace
Decl - NewExpr
- Null
Coalesce Expr - Param
- Program
- The root AST node representing a complete PHP file.
- Property
Access Expr - Property
Decl - Property
Hook - Static
Access Expr - Static
Method Call Expr - Static
Var - Stmt
- Switch
Case - Switch
Stmt - Ternary
Expr - Trait
Adaptation - Trait
Decl - Trait
UseDecl - TryCatch
Stmt - Type
Hint - Unary
Postfix Expr - Unary
Prefix Expr - UseDecl
- UseItem
- While
Stmt - Yield
Expr
Enums§
- Assign
Op - Binary
Op - Builtin
Type - PHP built-in type keyword — zero-cost alternative to
Name::Simplefor the 20 reserved type names. One byte instead of aCow<str>+Spanin the AST. - Callable
Create Kind - Cast
Kind - Class
Member Kind - Enum
Member Kind - Expr
Kind - Include
Kind - Magic
Const Kind - Name
- A PHP name (identifier, qualified name, fully-qualified name, or relative name).
- Name
Kind - Namespace
Body - Property
Hook Body - Property
Hook Kind - Stmt
Kind - String
Part - Trait
Adaptation Kind - Type
Hint Kind - A PHP type hint.
- Unary
Postfix Op - Unary
Prefix Op - UseKind
- Visibility