Lines Matching defs:i
165 public function getChild(int $i, ?string $type = null) : ?Tree
167 if ($this->children === null || $i < 0 || $i >= \count($this->children)) {
172 return $this->children[$i];
177 if ($i === 0) {
181 $i--;
188 public function getToken(int $ttype, int $i) : ?TerminalNode
190 if ($this->children === null || $i < 0 || $i >= \count($this->children)) {
196 if ($i === 0) {
200 $i--;
226 public function getTypedRuleContext(string $ctxType, int $i) : ?ParseTree
228 return $this->getChild($i, $ctxType);