Lines Matching refs:depth
44 $depth = $this->interpretSyntax($call[1][0], $listType);
46 $this->initialDepth = $depth;
48 $this->listStack[] = [$listType, $depth, 1];
72 $depth = $this->interpretSyntax($call[1][0], $listType);
77 if ($depth < $this->initialDepth) {
78 $depth = $this->initialDepth;
81 if ($depth == $end[1]) {
86 $this->listCalls[] = ['listitem_open', [$depth - 1], $call[2]];
98 $this->listCalls[] = ['listitem_open', [$depth - 1], $call[2]];
102 $this->listStack[] = [$listType, $depth, count($this->listCalls) - 2];
104 } elseif ($depth > $end[1]) { // Getting deeper...
107 $this->listCalls[] = ['listitem_open', [$depth - 1], $call[2]];
113 $this->listStack[] = [$listType, $depth, count($this->listCalls) - 2];
126 if ($end[1] <= $depth) {
128 $depth = $end[1];
133 $this->listCalls[] = ['listitem_open', [$depth - 1], $call[2]];
142 $this->listCalls[] = ['listitem_open', [$depth - 1], $call[2]];
146 $this->listStack[] = [$listType, $depth, count($this->listCalls) - 2];