final class Exclusion
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.

How deep the preprocessor is inside an excluded region, and where the region began.

Lemon counts nested %ifdef directives inside an excluded region so that only the matching %endif ends it.

Methods§

public function start(): int
public function startLine(): int

Answers the line the excluded region began on.

Returns

int The line number
Test cases 2
Called from 1
public function nest(): void

Notes a further opening directive inside the excluded region.

Test cases 3
Called from 1
public function leave(): bool

Private surface 3§

Implementation details, listed for orientation only.

private int $depth = 0
private int $start = 0
private int $startLine = 1

Test cases 11§

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

Dedicated tests 6
Other tests reaching this symbol 5

Relations§

Instantiated in 1
Method calls 13
Type declarations 1