Lines Matching defs:literalNames
16 private $literalNames;
31 * @param array<string|null> $literalNames The literal names assigned
39 * the values in literalNames` and
44 public function __construct(array $literalNames = [], array $symbolicNames = [], array $displayNames = [])
46 $this->literalNames = $literalNames;
53 \count($this->literalNames),
93 $literalNames = $tokenNames; // copy array
111 $literalNames[$i] = null;
118 $literalNames[$i] = null;
122 return new VocabularyImpl($literalNames, $symbolicNames, $tokenNames);
132 if ($tokenType >= 0 && $tokenType < \count($this->literalNames)) {
133 return $this->literalNames[$tokenType];