Home
last modified time | relevance | path

Searched refs:Token (Results 26 – 50 of 327) sorted by last modified time

12345678910>>...14

/plugin/combo/vendor/carica/phpcss/src/PhpCss/
H A DParser.php23 * @var array(Scanner\Token)
75 * The special Token Scanner\Token::ANY may be used to indicate
81 * @return Scanner\Token
83 protected function read($expectedTokens): Scanner\Token {
114 * The special Token Scanner\Token::ANY may be used to indicate
126 * @return Scanner\Token|NULL
130 ): ?Scanner\Token {
139 return new Scanner\Token(Scanne
[all...]
H A DScanner.php86 * @return Scanner\Token|NULL
88 private function _next(): ?Scanner\Token {
102 * @param Scanner\Token[] $target
/plugin/combo/vendor/carica/phpcss/src/PhpCss/Scanner/Status/
H A DSelector.php23 Scanner\Token::SEPARATOR => ',',
24 Scanner\Token::ATTRIBUTE_SELECTOR_START => '[',
25 Scanner\Token::PARENTHESES_START => '(',
26 Scanner\Token::PARENTHESES_END => ')',
27 Scanner\Token::SINGLEQUOTE_STRING_START => "'",
28 Scanner\Token::DOUBLEQUOTE_STRING_START => '"'
36 Scanner\Token::CLASS_SELECTOR => Scanner\Patterns::CLASS_SELECTOR,
37 Scanner\Token::ID_SELECTOR => Scanner\Patterns::ID_SELECTOR,
38 Scanner\Token::PSEUDO_CLASS => Scanner\Patterns::PSEUDO_CLASS,
39 Scanner\Token
[all...]
/plugin/combo/vendor/carica/phpcss/src/PhpCss/Scanner/Status/Text/
H A DSingle.php23 * @return Scanner\Token
25 public function getToken(string $buffer, int $offset): ?Scanner\Token {
27 return new Scanner\Token(
28 Scanner\Token::SINGLEQUOTE_STRING_END, "'", $offset
33 return new Scanner\Token(
34 Scanner\Token::STRING_ESCAPED_CHARACTER, $tokenString, $offset
41 return new Scanner\Token(
42 Scanner\Token::STRING_CHARACTERS, $tokenString, $offset
51 * @param Scanner\Token $token
54 public function isEndToken(Scanner\Token
[all...]
/plugin/combo/vendor/carica/phpcss/src/PhpCss/Scanner/
H A DToken.php22 class Token { class
88 * Token type
93 * Token string content
98 * Token string content length
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Atn/
H A DATN.php18 use Antlr\Antlr4\Runtime\Token; alias
113 * staying in same rule. {@see Token::EPSILON} is in set if we reach end of
176 * symbols, {@see Token::EOF} is added to the returned set.
197 if (!$following->contains(Token::EPSILON)) {
204 $expected->removeOne(Token::EPSILON);
210 while ($context !== null && $context->invokingState >= 0 && $following->contains(Token::EPSILON)) {
221 $expected->removeOne(Token::EPSILON);
226 if ($following->contains(Token::EPSILON)) {
227 $expected->addOne(Token::EOF);
H A DATNDeserializer.php44 use Antlr\Antlr4\Runtime\Token; alias
330 $tokenType = Token::EOF;
778 new RangeTransition($target, Token::EOF, $arg2) :
797 return $arg3 !== 0 ? new AtomTransition($target, Token::EOF) : new AtomTransition($target, $arg1);
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Atn/Transitions/
H A DSetTransition.php9 use Antlr\Antlr4\Runtime\Token; alias
27 $this->set->addOne(Token::INVALID_TYPE);
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/
H A DBufferedTokenStream.php14 * This token stream ignores the value of {@see Token::getChannel()}. If your
16 * channel, such as {@see Token::DEFAULT_CHANNEL} or
17 * {@see Token::HIDDEN_CHANNEL}, use a filtering token stream such a
34 * @var array<Token>
55 * Indicates whether the {@see Token::EOF} token has been fetched from
126 if (!$skipEofCheck && $this->LA(1) === Token::EOF) {
169 if ($token->getType() === Token::EOF) {
179 public function get(int $index) : Token
185 'Token index %d out of range 0..%d.',
200 return $token === null ? Token
[all...]
H A DCommonToken.php42 protected $channel = Token::DEFAULT_CHANNEL;
109 $this->channel = $channel ?? Token::DEFAULT_CHANNEL;
133 * Constructs a new {@see CommonToken} as a copy of another {@see Token}.
140 * constructed from the result of {@see Token::getTokenSource()} and
141 * {@see Token::getInputStream()}.
H A DCommonTokenStream.php10 * {@see Token::getChannel()} returns a particular value).
19 * ({@see Token::DEFAULT_CHANNEL()}), but may be reassigned by using the
36 * The default value is {@see Token::DEFAULT_CHANNEL}, which matches the
46 * {@see Token::getChannel()} matches `channel` or have the
47 * {@see Token::getType()} equal to {@see Token::EOF} will be returned by
53 public function __construct(TokenSource $tokenSource, int $channel = Token::DEFAULT_CHANNEL)
65 protected function LB(int $k) : ?Token
87 public function LT(int $k) : ?Token
128 if ($t->getType() === Token
[all...]
H A DIntervalSet.php179 return Token::INVALID_TYPE;
405 if ($start === Token::EOF) {
481 if ($a === Token::EOF) {
485 if ($a === Token::EPSILON) {
H A DLL1Analyzer.php27 public const HIT_PRED = Token::INVALID_TYPE;
89 * `s` is reached, {@see Token::EPSILON} is added to the result set.
91 * reached, {@see Token::EOF} is added to the result set.
131 * rule containing `s` is reached, {@see Token::EPSILON} is added to
134 * reached, {@see Token::EOF} is added to the result set.
167 * @param bool $addEOF Add {@see Token::EOF} to
192 $look->addOne(Token::EPSILON);
198 $look->addOne(Token::EOF);
206 $look->addOne(Token::EPSILON);
212 $look->addOne(Token
[all...]
H A DLexer.php24 public const DEFAULT_TOKEN_CHANNEL = Token::DEFAULT_CHANNEL;
25 public const HIDDEN = Token::HIDDEN_CHANNEL;
48 * @var Token|null
88 public $channel = Token::DEFAULT_CHANNEL;
95 public $type = Token::INVALID_TYPE;
134 $this->type = Token::INVALID_TYPE;
135 $this->channel = Token::DEFAULT_CHANNEL;
153 public function nextToken() : ?Token
176 $this->channel = Token::DEFAULT_CHANNEL;
184 $this->type = Token
[all...]
H A DParser.php159 * {@see Parser::createErrorNode(ParserRuleContext, Token)} then
164 * @return Token the matched symbol
171 public function match(int $ttype) : Token
176 if ($ttype === Token::EOF) {
206 * {@see Parser::createErrorNode(ParserRuleContext, Token)}. then
209 * @return Token The matched symbol.
215 public function matchWildcard() : ?Token
463 public function getCurrentToken() : ?Token
468 private function token() : Token
481 ?Token
[all...]
H A DParserRuleContext.php50 /** @var Token|null */
53 /** @var Token|null */
271 public function getStart() : ?Token
283 public function getStop() : ?Token
H A DCommonTokenFactory.php23 * allows {@see Token::getText()} to be called at any time regardless of the
69 ) : Token {
88 public function create(int $type, string $text) : Token
H A DInputStream.php70 // assert this.LA(1) == Token.EOF
92 return Token::EOF;
H A DRecognizer.php79 $result['EOF'] = Token::EOF;
109 return $map[$tokenName] ?? Token::INVALID_TYPE;
H A DToken.php12 interface Token interface
42 * The non-negative numbers less than {@see Token::MIN_USER_CHANNEL_VALUE}
43 * are assigned to the predefined channels {@see Token::DEFAULT_CHANNEL} and
44 * {@see Token::HIDDEN_CHANNEL}.
46 * @see Token::getChannel()
H A DTokenFactory.php30 ) : Token;
35 public function create(int $type, string $text) : Token;
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Error/
H A DBailErrorStrategy.php12 use Antlr\Antlr4\Runtime\Token; alias
67 public function recoverInline(Parser $recognizer) : Token
H A DDefaultErrorStrategy.php16 use Antlr\Antlr4\Runtime\Token; alias
277 if ($nextTokens->contains(Token::EPSILON)) {
335 if ($startToken->getType() === Token::EOF) {
515 public function recoverInline(Parser $recognizer) : Token
610 * @return Token The successfully matched {@see Token} instance if
614 protected function singleTokenDeletion(Parser $recognizer) : ?Token
657 protected function getMissingSymbol(Parser $recognizer) : Token
679 $expectedTokenType = Token::INVALID_TYPE;
685 if ($expectedTokenType === Token
[all...]
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Error/Exceptions/
H A DRecognitionException.php12 use Antlr\Antlr4\Runtime\Token; alias
37 * The current {@see Token} when an error occurred. Since not all streams
38 * support accessing symbols by index, we have to track the {@see Token}
41 * @var Token|null
139 public function getOffendingToken() : ?Token
144 public function setOffendingToken(?Token $offendingToken) : void
H A DNoViableAltException.php10 use Antlr\Antlr4\Runtime\Token; alias
27 * @var Token|null
42 ?Token $startToken = null,
43 ?Token $offendingToken = null,
70 public function getStartToken() : ?Token

12345678910>>...14