Lines Matching defs:symbolicNames
19 private $symbolicNames;
34 * @param array<string|null> $symbolicNames The symbolic names assigned
40 * `symbolicNames` as the source
44 public function __construct(array $literalNames = [], array $symbolicNames = [], array $displayNames = [])
47 $this->symbolicNames = $symbolicNames;
54 \count($this->symbolicNames)
94 $symbolicNames = $tokenNames; // copy array
105 $symbolicNames[$i] = null;
119 $symbolicNames[$i] = null;
122 return new VocabularyImpl($literalNames, $symbolicNames, $tokenNames);
141 if ($tokenType >= 0 && $tokenType < \count($this->symbolicNames)) {
142 return $this->symbolicNames[$tokenType];