Lines Matching refs:call

29         foreach ($this->calls as $call) {
30 match ($call[0]) {
31 'list_item' => $this->listOpen($call),
32 'list_open' => $this->listStart($call),
33 'list_close' => $this->listEnd($call),
34 default => $this->listContent($call),
42 protected function listStart($call) argument
44 $depth = $this->interpretSyntax($call[1][0], $listType);
50 $this->listCalls[] = ['list' . $listType . '_open', [], $call[2]];
51 $this->listCalls[] = ['listitem_open', [1], $call[2]];
52 $this->listCalls[] = ['listcontent_open', [], $call[2]];
56 protected function listEnd($call) argument
62 $this->listCalls[] = ['listcontent_close', [], $call[2]];
65 $this->listCalls[] = ['listitem_close', [], $call[2]];
66 $this->listCalls[] = ['list' . $list[0] . '_close', [], $call[2]];
70 protected function listOpen($call) argument
72 $depth = $this->interpretSyntax($call[1][0], $listType);
84 $this->listCalls[] = ['listcontent_close', [], $call[2]];
85 $this->listCalls[] = ['listitem_close', [], $call[2]];
86 $this->listCalls[] = ['listitem_open', [$depth - 1], $call[2]];
87 $this->listCalls[] = ['listcontent_open', [], $call[2]];
94 $this->listCalls[] = ['listcontent_close', [], $call[2]];
95 $this->listCalls[] = ['listitem_close', [], $call[2]];
96 $this->listCalls[] = ['list' . $end[0] . '_close', [], $call[2]];
97 $this->listCalls[] = ['list' . $listType . '_open', [], $call[2]];
98 $this->listCalls[] = ['listitem_open', [$depth - 1], $call[2]];
99 $this->listCalls[] = ['listcontent_open', [], $call[2]];
105 $this->listCalls[] = ['listcontent_close', [], $call[2]];
106 $this->listCalls[] = ['list' . $listType . '_open', [], $call[2]];
107 $this->listCalls[] = ['listitem_open', [$depth - 1], $call[2]];
108 $this->listCalls[] = ['listcontent_open', [], $call[2]];
115 $this->listCalls[] = ['listcontent_close', [], $call[2]];
116 $this->listCalls[] = ['listitem_close', [], $call[2]];
117 $this->listCalls[] = ['list' . $end[0] . '_close', [], $call[2]];
130 $this->listCalls[] = ['listitem_close', [], $call[2]];
133 $this->listCalls[] = ['listitem_open', [$depth - 1], $call[2]];
134 $this->listCalls[] = ['listcontent_open', [], $call[2]];
140 $this->listCalls[] = ['list' . $end[0] . '_close', [], $call[2]];
141 $this->listCalls[] = ['list' . $listType . '_open', [], $call[2]];
142 $this->listCalls[] = ['listitem_open', [$depth - 1], $call[2]];
143 $this->listCalls[] = ['listcontent_open', [], $call[2]];
153 $this->listCalls[] = ['listitem_close', [], $call[2]];
154 $this->listCalls[] = ['list' . $end[0] . '_close', [], $call[2]];
162 protected function listContent($call) argument
164 $this->listCalls[] = $call;