Searched refs:tokenType (Results 1 – 4 of 4) sorted by relevance
130 public function getLiteralName(int $tokenType) : ?string argument132 if ($tokenType >= 0 && $tokenType < \count($this->literalNames)) {133 return $this->literalNames[$tokenType];139 public function getSymbolicName(int $tokenType) : ?string argument141 if ($tokenType >= 0 && $tokenType < \count($this->symbolicNames)) {142 return $this->symbolicNames[$tokenType];145 if ($tokenType === Token::EOF) {152 public function getDisplayName(int $tokenType) : string argument154 if ($tokenType >= 0 && $tokenType < \count($this->displayNames)) {155 $displayName = $this->displayNames[$tokenType];[all …]
37 * @param int $tokenType The token type.42 public function getLiteralName(int $tokenType) : ?string; argument64 * @param int $tokenType The token type.69 public function getSymbolicName(int $tokenType) : ?string; argument79 * @param int $tokenType The token type.85 public function getDisplayName(int $tokenType) : string; argument
662 if( type_ident & ( tokens[0].tokenType | tokens[1].tokenType ) &&666 if( tokens[0].tokenType & type_ident ) {676 if( tokens[1].tokenType & type_ident ) {972 this.tokenType = type;977 …return this.tokenType & Type.LENGTH || ( this.tokenType & Type.NUMBER && this.tokenValue === '0' );980 return this.isLength() || this.tokenType & Type.PERCENT;1110 return tok && tok.tokenType & Type.NUMBER;1113 return tok && ( tok.tokenType & ( Type.NUMBER | Type.PERCENT ) );1429 …return token && token.isLengthOrPercent() || ( token.tokenType & type_ident && token.tokenValue in…1442 tokType = token.tokenType;[all …]
327 $tokenType = $this->readInt();329 if ($tokenType === 0xFFFF) {330 $tokenType = Token::EOF;333 $atn->ruleToTokenType[$i] = $tokenType;