Expression
Read onlyYes
FinalYes
Methods
- between() : string|null
- call() : string
- composite() : string
- Comparisons bind tighter than AND/OR, so only a nested AND/OR is parenthesized.
- list() : string
- Cut after a few values, so a long list never makes an unbounded line.
- of() : string
- operand() : string
- An operator inside another operator is parenthesized; a reference, a value or a call reads unambiguously as is.
- operator() : string|null
- Null for a function the explain has no wording for.
- pair() : string
- range() : string
- value() : string
Methods
between()
public
between(array<int, FunctionTree> $children) : string|null
Parameters
- $children : array<int, FunctionTree>
Return values
string|nullcall()
public
call(FunctionTree $function) : string
Parameters
- $function : FunctionTree
Return values
stringcomposite()
Comparisons bind tighter than AND/OR, so only a nested AND/OR is parenthesized.
public
composite(array<int, FunctionTree> $children, string $operator) : string
Parameters
- $children : array<int, FunctionTree>
- $operator : string
Return values
stringlist()
Cut after a few values, so a long list never makes an unbounded line.
public
list(array<string|int, mixed> $values) : string
Parameters
- $values : array<string|int, mixed>
Return values
stringof()
public
of(FunctionTree $function) : string
Parameters
- $function : FunctionTree
Return values
stringoperand()
An operator inside another operator is parenthesized; a reference, a value or a call reads unambiguously as is.
public
operand(FunctionTree $function) : string
Parameters
- $function : FunctionTree
Return values
stringoperator()
Null for a function the explain has no wording for.
public
operator(FunctionTree $function) : string|null
Parameters
- $function : FunctionTree
Return values
string|nullpair()
public
pair(array<int, FunctionTree> $children, string $operator) : string
Parameters
- $children : array<int, FunctionTree>
- $operator : string
Return values
stringrange()
public
range(Boundary $boundary, string $value, string $lower, string $upper) : string
Parameters
- $boundary : Boundary
- $value : string
- $lower : string
- $upper : string
Return values
stringvalue()
public
value(mixed $value) : string
Parameters
- $value : mixed