Home
last modified time | relevance | path

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

123456789

/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/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)
H A DUseTokenParser.php17 use Twig\Token; alias
35 public function parse(Token $token)
47 $name = $stream->expect(Token::NAME_TYPE)->getValue();
51 $alias = $stream->expect(Token::NAME_TYPE)->getValue();
56 if (!$stream->nextIf(Token::PUNCTUATION_TYPE, ',')) {
62 $stream->expect(Token::BLOCK_END_TYPE);
H A DForTokenParser.php21 use Twig\Token; alias
37 public function parse(Token $token)
42 $stream->expect(Token::OPERATOR_TYPE, 'in');
46 if ($stream->nextIf(Token::NAME_TYPE, 'if')) {
50 $stream->expect(Token::BLOCK_END_TYPE);
53 $stream->expect(Token::BLOCK_END_TYPE);
58 $stream->expect(Token::BLOCK_END_TYPE);
79 public function decideForFork(Token $token)
84 public function decideForEnd(Token $token)
H A DBlockTokenParser.php20 use Twig\Token; alias
34 public function parse(Token $token)
38 $name = $stream->expect(Token::NAME_TYPE)->getValue();
46 if ($stream->nextIf(Token::BLOCK_END_TYPE)) {
48 if ($token = $stream->nextIf(Token::NAME_TYPE)) {
60 $stream->expect(Token::BLOCK_END_TYPE);
69 public function decideBlockEnd(Token $token)
H A DSpacelessTokenParser.php15 use Twig\Token; alias
31 public function parse(Token $token)
35 $this->parser->getStream()->expect(Token::BLOCK_END_TYPE);
37 $this->parser->getStream()->expect(Token::BLOCK_END_TYPE);
42 public function decideSpacelessEnd(Token $token)
H A DFromTokenParser.php17 use Twig\Token; alias
28 public function parse(Token $token)
36 $name = $stream->expect(Token::NAME_TYPE)->getValue();
40 $alias = $stream->expect(Token::NAME_TYPE)->getValue();
45 if (!$stream->nextIf(Token::PUNCTUATION_TYPE, ',')) {
50 $stream->expect(Token::BLOCK_END_TYPE);
H A DSandboxTokenParser.php18 use Twig\Token; alias
33 public function parse(Token $token)
36 $stream->expect(Token::BLOCK_END_TYPE);
38 $stream->expect(Token::BLOCK_END_TYPE);
56 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/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 …]
H A DTokenStream.php67 * @return Token
81 * @return Token|null The next token if the condition is true, null otherwise
93 * @return Token
102 Token::typeToEnglish($token->getType()), $token->getValue(),
103 Token::typeToEnglish($type), $value ? sprintf(' with value "%s"', $value) : ''),
118 * @return Token
146 return Token::EOF_TYPE === $this->tokens[$this->current]->getType();
150 * @return Token
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/
H A DLexer.php25 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;
153 public function nextToken() : ?Token
322 public function emit() : Token
340 public function emitEOF() : Token
350 Token::EOF,
352 Token::DEFAULT_CHANNEL,
[all …]
H A DTokenStream.php21 public function LT(int $k) : ?Token;
37 public function get(int $index) : Token;
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 $stop) : string;
/plugin/findologicxmlexport/vendor/hoa/compiler/Test/Integration/Llk/Rule/
H A DAnalyzer.php96 $_ruleB = new Rule\Token('ruleB', 'foo', null, -1, true),
177 $_rule0 = new Rule\Token(0, 'foo', null, -1, true)
198 $_rule0 = new Rule\Token(0, 'foo', null, -1, true),
199 $_rule1 = new Rule\Token(1, 'baz', null, -1, true)
221 $_rule0 = new Rule\Token(0, 'foo', null, -1, true),
222 $_rule1 = new Rule\Token(1, 'baz', null, -1, true)
244 $_rule0 = new Rule\Token(0, 'foo', null, -1, true),
245 $_rule1 = new Rule\Token(1, 'baz', null, -1, true)
266 $_rule0 = new Rule\Token(0, 'foo', null, -1, true),
268 $_rule2 = new Rule\Token(2, 'foo', null, -1, false),
[all …]
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Tree/
H A DTerminalNodeImpl.php9 use Antlr\Antlr4\Runtime\Token; alias
13 /** @var Token */
19 public function __construct(Token $symbol)
29 public function getSymbol() : Token
47 public function getPayload() : Token
88 if ($this->symbol->getType() === Token::EOF) {
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Error/
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
679 $expectedTokenType = Token::INVALID_TYPE;
685 if ($expectedTokenType === Token::EOF) {
705 Token::DEFAULT_CHANNEL,
736 if ($this->getSymbolType($t) === Token::EOF) {
746 protected function getSymbolText(Token $symbol) : ?string
751 protected function getSymbolType(Token $symbol) : int
[all …]

123456789