Home
last modified time | relevance | path

Searched refs:lexer (Results 1 – 25 of 66) sorted by relevance

123

/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/
H A DLexerTest.php25 $stream = $lexer->tokenize('{{ foo }}', 'foo');
35 $stream = $lexer->tokenize(new Source($template, 'index'));
46 $stream = $lexer->tokenize(new Source($template, 'index'));
63 $stream = $lexer->tokenize(new Source($template, 'index'));
123 $lexer->tokenize(new Source($template, 'index'));
135 $lexer->tokenize(new Source($template, 'index'));
147 $lexer->tokenize(new Source($template, 'index'));
159 $lexer->tokenize(new Source($template, 'index'));
255 $lexer->tokenize(new Source($template, 'index'));
332 $lexer->tokenize(new Source($template, 'index'));
[all …]
/plugin/findologicxmlexport/vendor/hoa/compiler/Test/Unit/Llk/
H A DLexer.php57 $lexer = new SUT(),
65 ->when($result = $lexer->lexMe($datum, $tokens))
75 $lexer = new SUT(),
137 $lexer = new SUT(),
172 $lexer = new SUT(),
231 $lexer = new SUT(),
290 $lexer = new SUT(),
313 $lexer = new SUT(),
338 $lexer = new SUT(),
400 $lexer = new SUT(),
[all …]
/plugin/findologicxmlexport/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/
H A DDocParser.php59 private $lexer; variable in Doctrine\\Common\\Annotations\\DocParser
244 $this->lexer = new DocLexer;
352 $this->lexer->moveNext();
397 return $this->lexer->moveNext();
416 return $this->lexer->moveNext();
643 $this->lexer->moveNext();
648 …if (null !== $this->lexer->token && $this->lexer->lookahead['position'] === $this->lexer->token['p…
998 $this->lexer->moveNext();
1002 …while ($this->lexer->lookahead['position'] === ($this->lexer->token['position'] + strlen($this->le…
1021 $peek = $this->lexer->glimpse();
[all …]
/plugin/yuriigantt/src/Driver/
H A DEmbedded.php39 protected $lexer; variable in dokuwiki\\plugin\\yuriigantt\\src\\Driver\\Embedded
60 $this->lexer = new Lexer($this->handler, self::MODE);
61 Embedded::addLexerPattern($this->lexer, self::MODE);
64 $rawPage = $rawPage === false ? false : $this->lexer->parse($rawPage);
80 $this->handler = $this->lexer = $this->pageId = null;
160 * @param Lexer $lexer
163 public static function addLexerPattern($lexer, $mode) argument
165 $lexer->addSpecialPattern('~~~~GANTT~~~~\n.*?\n~~~~~~~~~~~', $mode, 'plugin_yuriigantt');
/plugin/scrape/HTMLPurifier/ConfigSchema/schema/
H A DCore.LexerImpl.txt
H A DCore.MaintainLineNumbers.txt
/plugin/combo/ComboStrap/
H A DPageSql.php52 $lexer = new PageSqlLexer($input);
53 $tokens = new CommonTokenStream($lexer);
63 $this->listener = new PageSqlTreeListener($lexer, $parser, $this->sql, $contextualPage);
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Atn/Actions/
H A DLexerAction.php12 * match of a lexer rule. Lexer actions are used for both embedded action syntax
13 * and ANTLR 4's new lexer command syntax.
20 * Gets the serialization type of the lexer action.
22 * @return int The serialization type of the lexer action.
27 * Gets whether the lexer action is position-dependent. Position-dependent
31 * Many lexer commands, including `type`, `skip`, and `more`, do not check
36 * @return bool `true` if the lexer action semantics can be affected by the
43 * Execute the lexer action in the context of the specified {@see Lexer}.
48 * @param Lexer $lexer The lexer instanc
50 execute(Lexer $lexer) global() argument
[all...]
H A DLexerMoreAction.php11 * Implements the `more` lexer action by calling {@see Lexer::more()}.
21 * Provides a singleton instance of this parameterless lexer action.
55 public function execute(Lexer $lexer) : void argument
57 $lexer->more();
H A DLexerPopModeAction.php11 * Implements the `popMode` lexer action by calling {@see Lexer::popMode()}.
21 * Provides a singleton instance of this parameterless lexer action.
55 public function execute(Lexer $lexer) : void argument
57 $lexer->popMode();
H A DLexerSkipAction.php11 * Implements the `skip` lexer action by calling {@see Lexer::skip()}.
21 * Provides a singleton instance of this parameterless lexer action.
55 public function execute(Lexer $lexer) : void argument
57 $lexer->skip();
H A DLexerPushModeAction.php11 * Implements the `pushMode` lexer action by calling {@see Lexer::pushMode()}
27 * Get the lexer mode this action should transition the lexer to.
29 * @return int The lexer mode for this `pushMode` command.
62 public function execute(Lexer $lexer) : void argument
64 $lexer->pushMode($this->mode);
H A DLexerTypeAction.php11 * Implements the `type` lexer action by calling {@see Lexer::setType()}
32 * Gets the type to assign to a token created by the lexer.
34 * @return int The type to assign to a token created by the lexer.
67 public function execute(Lexer $lexer) : void argument
69 $lexer->setType($this->type);
H A DLexerChannelAction.php11 * Implements the `channel` lexer action by calling {@see Lexer::setChannel()}
32 * Gets the channel to use for the {@see Token} created by the lexer.
34 * @return int The channel to use for the {@see Token} created by the lexer.
67 public function execute(Lexer $lexer) : void argument
69 $lexer->channel = $this->channel;
H A DLexerModeAction.php26 * Get the lexer mode this action should transition the lexer to.
28 * @return int The lexer mode for this `mode` command.
61 public function execute(Lexer $lexer) : void argument
63 $lexer->mode($this->mode);
H A DLexerCustomAction.php11 * Executes a custom lexer action by calling {@see Recognizer::action()} with the
13 * a custom action is added to the generated code for the lexer in an override
17 * syntax in ANTLR 4, as well as actions created for lexer commands where the
31 * Constructs a custom lexer action with the specified rule and action
76 * Gets whether the lexer action is position-dependent. Position-dependent
97 public function execute(Lexer $lexer) : void argument
99 $lexer->action(null, $this->ruleIndex, $this->actionIndex);
/plugin/findologicxmlexport/vendor/doctrine/lexer/
H A DREADME.md3 Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.
5 This lexer is used in Doctrine Annotations and in Doctrine ORM (DQL).
/plugin/yuriigantt/_test/Drivers/
H A Dembedded.test.php45 $lexer = new Lexer($handler, Embedded::MODE);
46 Embedded::addLexerPattern($lexer, Embedded::MODE);
47 $result = $lexer->parse($rawPage);
/plugin/sequencediagram/bower_components/js-sequence-diagrams/dist/
H A Dsequence-diagram-snap.js463lexer.setInput(input, sharedState.yy), sharedState.yy.lexer = lexer, sharedState.yy.parser = this,
464 "undefined" == typeof lexer.yylloc && (lexer.yylloc = {});
465 var yyloc = lexer.yylloc;
467 var ranges = lexer.options && lexer.options.ranges;
477 text: lexer.match,
487 … stack.push(symbol), vstack.push(lexer.yytext), lstack.push(lexer.yylloc), stack.push(action[1]),
489 …yytext = lexer.yytext, yylineno = lexer.yylineno, yyloc = lexer.yylloc, recovering > 0 && recoveri…
514 }, lexer = function() { function
515 var lexer = { class in lexer
759 return lexer;
[all …]
H A Dsequence-diagram-snap-min.js6lexer.lex()||EOF,"number"!=typeof token&&(token=self.symbols_[token]||token),token}var self=this,s… function
H A Dsequence-diagram-raphael.js463lexer.setInput(input, sharedState.yy), sharedState.yy.lexer = lexer, sharedState.yy.parser = this,
464 "undefined" == typeof lexer.yylloc && (lexer.yylloc = {});
465 var yyloc = lexer.yylloc;
467 var ranges = lexer.options && lexer.options.ranges;
477 text: lexer.match,
487 … stack.push(symbol), vstack.push(lexer.yytext), lstack.push(lexer.yylloc), stack.push(action[1]),
489 …yytext = lexer.yytext, yylineno = lexer.yylineno, yyloc = lexer.yylloc, recovering > 0 && recoveri…
514 }, lexer = function() { function
515 var lexer = { class in lexer
759 return lexer;
[all …]
H A Dsequence-diagram.js463lexer.setInput(input, sharedState.yy), sharedState.yy.lexer = lexer, sharedState.yy.parser = this,
464 "undefined" == typeof lexer.yylloc && (lexer.yylloc = {});
465 var yyloc = lexer.yylloc;
467 var ranges = lexer.options && lexer.options.ranges;
477 text: lexer.match,
487 … stack.push(symbol), vstack.push(lexer.yytext), lstack.push(lexer.yylloc), stack.push(action[1]),
489 …yytext = lexer.yytext, yylineno = lexer.yylineno, yyloc = lexer.yylloc, recovering > 0 && recoveri…
514 }, lexer = function() { function
515 var lexer = { class in lexer
759 return lexer;
[all …]
/plugin/refnotes/
H A Dcore.php26 private $lexer; variable in refnotes_parser_core
46 $this->lexer = NULL;
53 public function registerLexer($lexer) { argument
54 $this->lexer = $lexer;
80 $this->lexer->parse($text);
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Atn/
H A DLexerActionExecutor.php16 * Represents an executor for a sequence of lexer actions which traversed during
17 * the matching operation of a lexer rule (token).
19 * The executor tracks position information for position-dependent lexer actions
21 * not cause bloating of the {@see DFA} created for the lexer.
53 * the lexer while matching
60 * @param LexerAction $lexerAction The lexer action to
83 * for position-dependent lexer actions.
85 * Normally, when the executor encounters lexer actions where
89 * for efficient DFA representation of lexer actions which appear at the end
90 * of a lexer rul
164 execute(Lexer $lexer, CharStream $input, int $startIndex) global() argument
[all...]
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Error/Exceptions/
H A DLexerNoViableAltException.php28 public function __construct(Lexer $lexer, CharStream $input, int $startIndex, ATNConfigSet $deadEndConfigs) argument
30 parent::__construct($lexer, $input, null);

123