Home
last modified time | relevance | path

Searched refs:Token (Results 1 – 25 of 327) sorted by relevance

12345678910>>...14

/plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/
H A DArgument.php14 use Prophecy\Argument\Token; alias
28 * @return Token\ExactValueToken
40 * @return Token\TypeToken
53 * @return Token\ObjectStateToken
65 * @return Token\CallbackToken
75 * @return Token\AnyValueToken
85 * @return Token\AnyValuesToken
97 * @return Token\LogicalAndToken
109 * @return Token\ArrayCountToken
122 * @return Token\ArrayEntryToken
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/
H A DParserTest.php18 use Twig\Token; alias
40 new Token(Token::BLOCK_START_TYPE, '', 1),
41 new Token(Token::NAME_TYPE, 'foo', 1),
42 new Token(Token::BLOCK_END_TYPE, '', 1),
43 new Token(Token::EOF_TYPE, '', 1),
57 new Token(Token::NAME_TYPE, 'foobar', 1),
58 new Token(Token::BLOCK_END_TYPE, '', 1),
59 new Token(Token::EOF_TYPE, '', 1),
145 new Token(Token::NAME_TYPE, 'foo', 1),
147 new Token(Token::EOF_TYPE, '', 1),
[all …]
H A DTokenStreamTest.php12 use Twig\Token; alias
22 new Token(Token::TEXT_TYPE, 1, 1),
23 new Token(Token::TEXT_TYPE, 2, 1),
24 new Token(Token::TEXT_TYPE, 3, 1),
25 new Token(Token::TEXT_TYPE, 4, 1),
26 new Token(Token::TEXT_TYPE, 5, 1),
27 new Token(Token::TEXT_TYPE, 6, 1),
28 new Token(Token::TEXT_TYPE, 7, 1),
29 new Token(Token::EOF_TYPE, 0, 1),
64 new Token(Token::BLOCK_START_TYPE, 1, 1),
[all …]
H A DLexerTest.php15 use Twig\Token; alias
37 $stream->expect(Token::BLOCK_START_TYPE);
48 $stream->expect(Token::VAR_START_TYPE);
202 $stream->expect(Token::VAR_START_TYPE);
209 $stream->expect(Token::VAR_END_TYPE);
222 $stream->expect(Token::VAR_START_TYPE);
224 $stream->expect(Token::VAR_END_TYPE);
237 $stream->expect(Token::VAR_START_TYPE);
239 $stream->expect(Token::VAR_END_TYPE);
264 $stream->expect(Token::VAR_START_TYPE);
[all …]
/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/Parser/
H A DSequence.php35 Scanner\Token::IDENTIFIER,
36 Scanner\Token::ID_SELECTOR,
37 Scanner\Token::CLASS_SELECTOR,
38 Scanner\Token::PSEUDO_CLASS,
39 Scanner\Token::PSEUDO_ELEMENT,
40 Scanner\Token::ATTRIBUTE_SELECTOR_START,
41 Scanner\Token::COMBINATOR,
50 case Scanner\Token::SEPARATOR :
51 $this->read(Scanner\Token::SEPARATOR);
53 case Scanner\Token
[all...]
H A DPseudoClass.php36 $token = $this->read(Scanner\Token::PSEUDO_CLASS);
42 $this->read(Scanner\Token::PARENTHESES_START);
43 $this->ignore(Scanner\Token::WHITESPACE);
46 $parameterToken = $this->read(Scanner\Token::IDENTIFIER);
52 Scanner\Token::IDENTIFIER,
53 Scanner\Token::NUMBER,
54 Scanner\Token::PSEUDO_CLASS_POSITION
63 [Scanner\Token::SINGLEQUOTE_STRING_START, Scanner\Token::DOUBLEQUOTE_STRING_START]
71 $parameter = $this->read(Scanner\Token
[all...]
H A DAttribute.php37 $token = $this->read(Scanner\Token::IDENTIFIER);
41 Scanner\Token::ATTRIBUTE_OPERATOR,
42 Scanner\Token::ATTRIBUTE_SELECTOR_END,
45 if ($token->type === Scanner\Token::ATTRIBUTE_OPERATOR) {
49 Scanner\Token::NUMBER,
50 Scanner\Token::IDENTIFIER,
51 Scanner\Token::SINGLEQUOTE_STRING_START,
52 Scanner\Token::DOUBLEQUOTE_STRING_START,
56 case Scanner\Token::NUMBER :
57 case Scanner\Token
[all...]
H A DStandard.php39 Scanner\Token::WHITESPACE,
40 Scanner\Token::IDENTIFIER,
41 Scanner\Token::ID_SELECTOR,
42 Scanner\Token::CLASS_SELECTOR,
43 Scanner\Token::PSEUDO_CLASS,
44 Scanner\Token::PSEUDO_ELEMENT,
45 Scanner\Token::ATTRIBUTE_SELECTOR_START
59 $expectedTokens[] = Scanner\Token::COMBINATOR;
62 $this->ignore(Scanner\Token::WHITESPACE);
65 if ($currentToken->type === Scanner\Token
[all...]
H A DText.php27 Scanner\Token::STRING_CHARACTERS,
28 Scanner\Token::STRING_ESCAPED_CHARACTER,
29 Scanner\Token::SINGLEQUOTE_STRING_END,
30 Scanner\Token::DOUBLEQUOTE_STRING_END,
34 case Scanner\Token::STRING_CHARACTERS :
37 case Scanner\Token::STRING_ESCAPED_CHARACTER :
40 case Scanner\Token::SINGLEQUOTE_STRING_END :
41 case Scanner\Token::DOUBLEQUOTE_STRING_END :
/plugin/findologicxmlexport/vendor/twig/twig/src/TokenParser/
H A DEmbedTokenParser.php17 use Twig\Token; alias
26 public function parse(Token $token)
34 … $parentToken = $fakeParentToken = new Token(Token::STRING_TYPE, '__parent__', $token->getLine());
36 … $parentToken = new Token(Token::STRING_TYPE, $parent->getAttribute('value'), $token->getLine());
38 … $parentToken = new Token(Token::NAME_TYPE, $parent->getAttribute('name'), $token->getLine());
43 new Token(Token::BLOCK_START_TYPE, '', $token->getLine()),
44 new Token(Token::NAME_TYPE, 'extends', $token->getLine()),
46 new Token(Token::BLOCK_END_TYPE, '', $token->getLine()),
58 $stream->expect(Token::BLOCK_END_TYPE);
63 public function decideBlockEnd(Token $token)
H A DWithTokenParser.php15 use Twig\Token; alias
26 public function parse(Token $token)
32 if (!$stream->test(Token::BLOCK_END_TYPE)) {
34 $only = $stream->nextIf(Token::NAME_TYPE, 'only');
37 $stream->expect(Token::BLOCK_END_TYPE);
41 $stream->expect(Token::BLOCK_END_TYPE);
46 public function decideWithEnd(Token $token)
H A DIfTokenParser.php18 use Twig\Token; alias
35 public function parse(Token $token)
40 $stream->expect(Token::BLOCK_END_TYPE);
49 $stream->expect(Token::BLOCK_END_TYPE);
55 $stream->expect(Token::BLOCK_END_TYPE);
70 $stream->expect(Token::BLOCK_END_TYPE);
75 public function decideIfFork(Token $token)
80 public function decideIfEnd(Token $token)
H A DIncludeTokenParser.php16 use Twig\Token; alias
27 public function parse(Token $token)
41 if ($stream->nextIf(Token::NAME_TYPE, 'ignore')) {
42 $stream->expect(Token::NAME_TYPE, 'missing');
48 if ($stream->nextIf(Token::NAME_TYPE, 'with')) {
53 if ($stream->nextIf(Token::NAME_TYPE, 'only')) {
57 $stream->expect(Token::BLOCK_END_TYPE);
H A DSetTokenParser.php16 use Twig\Token; alias
32 public function parse(Token $token)
39 if ($stream->nextIf(Token::OPERATOR_TYPE, '=')) {
42 $stream->expect(Token::BLOCK_END_TYPE);
54 $stream->expect(Token::BLOCK_END_TYPE);
57 $stream->expect(Token::BLOCK_END_TYPE);
63 public function decideBlockEnd(Token $token)
H A DAutoEscapeTokenParser.php17 use Twig\Token; alias
39 public function parse(Token $token)
44 if ($stream->test(Token::BLOCK_END_TYPE)) {
59 if ($compat && $stream->test(Token::NAME_TYPE)) {
70 $stream->expect(Token::BLOCK_END_TYPE);
72 $stream->expect(Token::BLOCK_END_TYPE);
77 public function decideBlockEnd(Token $token)
H A DMacroTokenParser.php17 use Twig\Token; alias
30 public function parse(Token $token)
34 $name = $stream->expect(Token::NAME_TYPE)->getValue();
38 $stream->expect(Token::BLOCK_END_TYPE);
41 if ($token = $stream->nextIf(Token::NAME_TYPE)) {
49 $stream->expect(Token::BLOCK_END_TYPE);
54 public function decideBlockEnd(Token $token)
/plugin/findologicxmlexport/vendor/jms/serializer/src/Type/
H A DInnerParser.php11 use Hoa\Compiler\Llk\Rule\Token; alias
47 1 => new Token(1, 'name', null, -1, true),
49 3 => new Token(3, 'number', null, -1, true),
51 5 => new Token(5, 'null', null, -1, true),
53 7 => new Token(7, 'empty_string', null, -1, true),
55 9 => new Token(9, 'quote_', null, -1, false),
57 11 => new Token(11, '_quote', null, -1, false),
59 13 => new Token(13, 'apostrophe_', null, -1, false),
61 15 => new Token(15, '_apostrophe', null, -1, false),
64 18 => new Token(18, 'name', null, -1, true),
[all …]
/plugin/combo/vendor/carica/phpcss/src/PhpCss/Scanner/Status/Selector/
H A DAttribute.php23 Scanner\Token::ATTRIBUTE_SELECTOR_END => ']',
24 Scanner\Token::SINGLEQUOTE_STRING_START => "'",
25 Scanner\Token::DOUBLEQUOTE_STRING_START => '"'
33 Scanner\Token::ATTRIBUTE_OPERATOR => Scanner\Patterns::ATTRIBUTE_OPERATOR,
34 Scanner\Token::WHITESPACE => Scanner\Patterns::WHITESPACE,
35 Scanner\Token::NUMBER => Scanner\Patterns::NUMBER,
36 Scanner\Token::IDENTIFIER => Scanner\Patterns::IDENTIFIER
44 * @return Scanner\Token
46 public function getToken(string $buffer, int $offset): ?Scanner\Token {
59 * @param Scanner\Token
[all...]
/plugin/combo/vendor/carica/phpcss/src/PhpCss/Scanner/Status/Text/
H A DDouble.php23 * @return Scanner\Token
25 public function getToken(string $buffer, int $offset): ?Scanner\Token {
27 return new Scanner\Token(
28 Scanner\Token::DOUBLEQUOTE_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...]
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 DStatus.php22 * @return Token
24 abstract public function getToken(string $buffer, int $offset): ?Token;
29 * @param Token $token
32 abstract public function isEndToken(Token $token): bool;
37 * @param Token $token
40 abstract public function getNewStatus(Token $token): ?Status;
64 protected function matchPatterns(string $buffer, int $offset, array $patterns): ?Token {
70 return new Token(
78 protected function matchCharacters(string $buffer, int $offset, array $chars): ?Token {
83 return new Token(
[all...]
/plugin/findologicxmlexport/vendor/twig/twig/src/
H A DExpressionParser.php144 protected function isUnary(Token $token)
149 protected function isBinary(Token $token)
158 case Token::NAME_TYPE:
187 case Token::NUMBER_TYPE:
192 case Token::STRING_TYPE:
193 case Token::INTERPOLATION_START_TYPE:
197 case Token::OPERATOR_TYPE:
316 …$token = $stream->nextIf(Token::STRING_TYPE)) || ($token = $stream->nextIf(Token::NAME_TYPE)) || $…
414 Token::NAME_TYPE == $token->getType()
416 Token::NUMBER_TYPE == $token->getType()
[all …]
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/
H A DTokenStream.php8 * An {@see IntStream} whose symbols are {@see Token} instances.
13 * Get the {@see Token} instance associated with the value returned
21 public function LT(int $k) : ?Token;
24 * Gets the {@see Token} at the specified `index` in the stream.
37 public function get(int $index) : Token;
104 * For streams which ensure that the {@see Token::getTokenIndex()} method
115 * @param Token $start The first token in the interval to get text for.
116 * @param Token $stop The last token in the interval to get text for (inclusive).
121 public function getTextByTokens(?Token $start, ?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...]

12345678910>>...14