@wpkernel/php-json-ast v0.12.6-beta.3
@wpkernel/php-json-ast / PhpExprArrowFunction
Interface: PhpExprArrowFunction
Represents a PHP arrow function expression (e.g., fn($x) => $x * 2).
Extends
Properties
attrGroups
ts
readonly attrGroups: PhpAttrGroup[];attributes
ts
readonly attributes: PhpAttributes;Inherited from
byRef
ts
readonly byRef: boolean;expr
ts
readonly expr: PhpExpr;nodeType
ts
readonly nodeType: "Expr_ArrowFunction";Overrides
params
ts
readonly params: PhpParam[];returnType
ts
readonly returnType: PhpType | null;static
ts
readonly static: boolean;