CRUDUI PHP API

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

$list  : array<string|int, mixed>
$negated  : bool
$value  : Node

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

Methods

__construct()

Build a membership test.

public __construct(bool $negated, Node $value, array<int, Node> $list) : mixed
Parameters
$negated : bool
$value : Node
$list : array<int, Node>

candidate Literal nodes

toArray()

Serialize to {type,negated,value,list}.

public toArray() : array<string, mixed>
Return values
array<string, mixed>
On this page

Search results