final class LemonCondition

Evaluates the named boolean conditions used by Lemon's preprocess_input. tool/lemon.c short-circuits a sequence from left to right; parentheses provide grouping.

Methods§

public function evaluate(string $condition): bool

Evaluates a condition without executing host-language code or consulting process environment.

Parameters

$conditionstring

Returns

bool

Throws

RuntimeException When a condition is malformed
Test cases 3
Called from 1
Calls 5

Private surface 1§

Implementation details, listed for orientation only.

private list<string> $defines = []

Test cases 11§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 8
Other tests reaching this symbol 3

Relations§

Instantiated in 2
Method calls 1
Type declarations 1