AirLay backend

PolishFilterLexemesComparer
in package

Table of Contents

MAP_FOR_OPERATOR  = ['=' => '==', '!=' => '!=', '<' => '<', '<=' => '<=', '>' => '>', '>=' => '>=', '&' => '&&', '|' => '||', '&&' => '&&', '||' => '||']
$properties  : array<string|int, mixed>
$stack  : Stack
__construct()  : mixed
convert()  : mixed
compare()  : bool
convertToScriptLexeme()  : mixed
convertValue()  : float|int|string|bool|null
processComparison()  : array<string|int, mixed>

Constants

MAP_FOR_OPERATOR

private mixed MAP_FOR_OPERATOR = ['=' => '==', '!=' => '!=', '<' => '<', '<=' => '<=', '>' => '>', '>=' => '>=', '&' => '&&', '|' => '||', '&&' => '&&', '||' => '||']

Properties

Methods

compare()

private compare(mixed $a, mixed $b, string $operator) : bool
Parameters
$a : mixed
$b : mixed
$operator : string
Return values
bool

Search results