InNode
extends Node
in package
FinalYes
Membership test: value [not] in list. `list` is a Literal-node array; whether the source used brackets ([a,b]) or not (a,b) is NOT preserved in the AST.
Table of Contents
Properties
Methods
- __construct() : mixed
- Build a membership test.
- toArray() : array<string, mixed>
- Serialize to {type,negated,value,list}.
Properties
$list read-only
public
array<string|int, mixed>
$list
$negated read-only
public
bool
$negated
$value read-only
public
Node
$value
Methods
__construct()
Build a membership test.
public
__construct(bool $negated, Node $value, array<int, Node> $list) : mixed
Parameters
toArray()
Serialize to {type,negated,value,list}.
public
toArray() : array<string, mixed>