Home
last modified time | relevance | path

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

123

/plugin/aichat/vendor/mehrab-wj/tiktoken-php/
H A Dcomposer.lock243 "doctrine/lexer": "^2 || ^3",
375 "name": "doctrine/lexer",
379 "url": "https://github.com/doctrine/lexer.git",
384 "url": "https://api.github.com/repos/doctrine/lexer/zipball/84a527db05647743d50373e0ec53a152f2cde568",
423 "homepage": "https://www.doctrine-project.org/projects/lexer.html",
427 "lexer",
432 "issues": "https://github.com/doctrine/lexer/issues",
433 "source": "https://github.com/doctrine/lexer/tree/3.0.0"
469 "doctrine/lexer": "^2 || ^3",
/plugin/authorlist/
H A Dsyntax.php73 * @return Integer The current lexer state for the match.
/plugin/codeprettify/code-prettify/
H A DCHANGES.md64 * Changed HTML lexer to use the same embedded source mechanism as the wiki
H A DREADME.md52 The comments in `prettify.js` are authoritative but the lexer should work on a
/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);
H A DPageSqlTreeListener.php36 private $lexer; variable in ComboStrap\\PageSqlTreeListener
87 * @param PageSqlLexer $lexer
92 public function __construct(PageSqlLexer $lexer, PageSqlParser $parser, string $sql, MarkupPath $pageContext = null) argument
94 $this->lexer = $lexer;
288 $textMakingTheError = $node->getText(); // $this->lexer->getText();
468 return $this->lexer->getVocabulary()->getSymbolicName($token->getType());
/plugin/combo/grammar/
H A DPageSql.g48 https://github.com/antlr/antlr4/blob/master/doc/lexer-rules.md
/plugin/combo/vendor/antlr/antlr4-php-runtime/
H A DREADME.md57 We'll write a small main func to call the generated parser/lexer
86 $lexer = new JSONLexer($input);
87 $tokens = new CommonTokenStream($lexer);
/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 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 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);
H A DLexerIndexedCustomAction.php15 * position-dependent lexer actions which appear at a location other than the
17 * lexer actions, see {@see LexerActionExecutor::append()} and
34 * Note: This class is only required for lexer actions for which
39 * the specified lexer action should be executed.
40 * @param LexerAction $action The lexer action to execute at a particular
50 * Gets the location in the input {@see CharStream} at which the lexer
54 * @return int The location in the input {@see CharStream} at which the lexer
63 * Gets the lexer action to execute.
65 * @return LexerAction A {@see LexerAction} object which executes the lexer action.
99 * of {@see LexerIndexedCustomAction::getAction()} using the provided `lexer`
101 execute(Lexer $lexer) global() argument
[all...]
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 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 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 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 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);
/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);
/plugin/diagramsnet/lib/js/
H A Dextensions.min.js1705lexer),y={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(y.yy[g]=th…
1728lexer),y={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(y.yy[g]=th…
/plugin/diagramsnet/lib/js/mermaid/
H A Dmermaid.min.js6lexer),y={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(y.yy[g]=th…
29lexer),y={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(y.yy[g]=th…
/plugin/dirtylittlehelper/mermaid/editor/
H A Dbundle.js109 …te(this.lexer),p={yy:{}};for(var m in this.yy)Object.prototype.hasOwnProperty.call(this.yy,m)&&(p.…
137 …te(this.lexer),p={yy:{}};for(var m in this.yy)Object.prototype.hasOwnProperty.call(this.yy,m)&&(p.…
161lexer),p={yy:{}};for(var m in this.yy)Object.prototype.hasOwnProperty.call(this.yy,m)&&(p.yy[m]=th…
177 …te(this.lexer),p={yy:{}};for(var m in this.yy)Object.prototype.hasOwnProperty.call(this.yy,m)&&(p.…
193lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.s…
209lexer),p={yy:{}};for(var m in this.yy)Object.prototype.hasOwnProperty.call(this.yy,m)&&(p.yy[m]=th…
217 …te(this.lexer),p={yy:{}};for(var m in this.yy)Object.prototype.hasOwnProperty.call(this.yy,m)&&(p.…
233lexer),p={yy:{}};for(var m in this.yy)Object.prototype.hasOwnProperty.call(this.yy,m)&&(p.yy[m]=th…
257lexer),p={yy:{}};for(var m in this.yy)Object.prototype.hasOwnProperty.call(this.yy,m)&&(p.yy[m]=th…
289lexer),p={yy:{}};for(var m in this.yy)Object.prototype.hasOwnProperty.call(this.yy,m)&&(p.yy[m]=th…
/plugin/dirtylittlehelper/mermaid/editor/docs/
H A D42.42.js.map1 … project root for license information.\n *\n * Based on the ATS/Postiats lexer by Hongwei Xi.\n *…
H A Dbundle.js109 …te(this.lexer),p={yy:{}};for(var m in this.yy)Object.prototype.hasOwnProperty.call(this.yy,m)&&(p.…
137 …te(this.lexer),p={yy:{}};for(var m in this.yy)Object.prototype.hasOwnProperty.call(this.yy,m)&&(p.…
161lexer),p={yy:{}};for(var m in this.yy)Object.prototype.hasOwnProperty.call(this.yy,m)&&(p.yy[m]=th…
177 …te(this.lexer),p={yy:{}};for(var m in this.yy)Object.prototype.hasOwnProperty.call(this.yy,m)&&(p.…
193lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.s…
209lexer),p={yy:{}};for(var m in this.yy)Object.prototype.hasOwnProperty.call(this.yy,m)&&(p.yy[m]=th…
217 …te(this.lexer),p={yy:{}};for(var m in this.yy)Object.prototype.hasOwnProperty.call(this.yy,m)&&(p.…
233lexer),p={yy:{}};for(var m in this.yy)Object.prototype.hasOwnProperty.call(this.yy,m)&&(p.yy[m]=th…
257lexer),p={yy:{}};for(var m in this.yy)Object.prototype.hasOwnProperty.call(this.yy,m)&&(p.yy[m]=th…
289lexer),p={yy:{}};for(var m in this.yy)Object.prototype.hasOwnProperty.call(this.yy,m)&&(p.yy[m]=th…

123