Home
last modified time | relevance | path

Searched refs:expectedTokens (Results 1 – 5 of 5) sorted by relevance

/template/strap/vendor/carica/phpcss/src/PhpCss/
DParser.php79 * @param array|integer|string $expectedTokens
83 protected function read($expectedTokens): Scanner\Token { argument
85 if (!is_array($expectedTokens)) {
86 return $this->read(array($expectedTokens));
89 foreach($expectedTokens as $token) {
96 throw $this->handleMismatch($expectedTokens);
122 * @param array|integer|string $expectedTokens
129 $expectedTokens, int $position = 0, bool $allowEndOfTokens = FALSE argument
132 if (!is_array($expectedTokens)) {
133 return $this->lookahead(array($expectedTokens), $position, $allowEndOfTokens);
[all …]
/template/strap/vendor/carica/phpcss/src/PhpCss/Exception/
DTokenMismatchException.php20 * @param array $expectedTokens
22 public function __construct(PhpCss\Scanner\Token $encounteredToken, array $expectedTokens) { argument
23 $this->_expectedTokens = $expectedTokens;
26 foreach ($expectedTokens as $expectedToken) {
DUnexpectedEndOfFileException.php21 public function __construct(array $expectedTokens) { argument
22 $this->_expectedTokens = $expectedTokens;
25 foreach ($expectedTokens as $expectedToken) {
/template/strap/vendor/carica/phpcss/src/PhpCss/Parser/
DStandard.php57 $expectedTokens = $this->_expectedTokens;
59 $expectedTokens[] = Scanner\Token::COMBINATOR;
64 if ($currentToken = $this->lookahead($expectedTokens)) {
/template/strap/vendor/antlr/antlr4-php-runtime/src/Error/
DDefaultErrorStrategy.php358 $expectedTokens = $e->getExpectedTokens();
360 if ($expectedTokens === null) {
367 $expectedTokens->toStringVocabulary($recognizer->getVocabulary())