1 | <?php |
||
9 | class Last { |
||
10 | private $baseData; |
||
|
|||
11 | private $autoLookup; |
||
12 | /* |
||
13 | Stores the last value e.g. |
||
14 | "a" + "b" |
||
15 | Will store "a" before reading the token for the + and perfoming the concatenate operation |
||
16 | */ |
||
17 | private $last; |
||
18 | private $data; |
||
19 | private $result; |
||
20 | private $traversing = false; |
||
21 | |||
22 | |||
23 | public function __construct($data, $result, $autoLookup) { |
||
28 | |||
29 | |||
30 | public function traverse() { |
||
33 | |||
34 | public function clear() { |
||
37 | |||
38 | public function isEmpty() { |
||
41 | |||
42 | public function processNested($parser, $token) { |
||
47 | |||
48 | public function read() { |
||
51 | |||
52 | public function set($value) { |
||
55 | |||
56 | public function makeTraversing() { |
||
59 | |||
60 | //Applies the current operation to whatever is in $last based on $mode |
||
61 | public function process() { |
||
72 | |||
73 | private function processLastUnexpected() { |
||
82 | } |
||
83 |
This check marks private properties in classes that are never used. Those properties can be removed.