Lines Matching refs:depth
39 $depth = $this->interpretSyntax($call[1][0], $listType);
41 $this->initialDepth = $depth;
43 $this->listStack[] = [$listType, $depth, 1];
67 $depth = $this->interpretSyntax($call[1][0], $listType);
72 if ($depth < $this->initialDepth) {
73 $depth = $this->initialDepth;
76 if ($depth == $end[1]) {
81 $this->listCalls[] = ['listitem_open', [$depth - 1], $call[2]];
93 $this->listCalls[] = ['listitem_open', [$depth - 1], $call[2]];
97 $this->listStack[] = [$listType, $depth, count($this->listCalls) - 2];
99 } elseif ($depth > $end[1]) { // Getting deeper...
102 $this->listCalls[] = ['listitem_open', [$depth - 1], $call[2]];
108 $this->listStack[] = [$listType, $depth, count($this->listCalls) - 2];
121 if ($end[1] <= $depth) {
123 $depth = $end[1];
128 $this->listCalls[] = ['listitem_open', [$depth - 1], $call[2]];
137 $this->listCalls[] = ['listitem_open', [$depth - 1], $call[2]];
141 $this->listStack[] = [$listType, $depth, count($this->listCalls) - 2];