Home
last modified time | relevance | path

Searched refs:recognizer (Results 1 – 13 of 13) sorted by relevance

/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Error/
H A DDefaultErrorStrategy.php76 public function reset(Parser $recognizer) : void argument
78 $this->endErrorCondition($recognizer);
85 * @param Parser $recognizer The parser instance.
87 protected function beginErrorCondition(Parser $recognizer) : void argument
92 public function inErrorRecoveryMode(Parser $recognizer) : bool argument
101 protected function endErrorCondition(Parser $recognizer) : void argument
114 public function reportMatch(Parser $recognizer) : void argument
116 $this->endErrorCondition($recognizer);
137 public function reportError(Parser $recognizer, RecognitionException $e) : void argument
141 if ($this->inErrorRecoveryMode($recognizer)) {
166 recover(Parser $recognizer, RecognitionException $e) global() argument
242 sync(Parser $recognizer) global() argument
322 reportNoViableAlternative(Parser $recognizer, NoViableAltException $e) global() argument
356 reportInputMismatch(Parser $recognizer, InputMismatchException $e) global() argument
382 reportFailedPredicate(Parser $recognizer, FailedPredicateException $e) global() argument
407 reportUnwantedToken(Parser $recognizer) global() argument
445 reportMissingToken(Parser $recognizer) global() argument
515 recoverInline(Parser $recognizer) global() argument
559 singleTokenInsertion(Parser $recognizer) global() argument
614 singleTokenDeletion(Parser $recognizer) global() argument
657 getMissingSymbol(Parser $recognizer) global() argument
713 getExpectedTokens(Parser $recognizer) global() argument
855 getErrorRecoverySet(Parser $recognizer) global() argument
886 consumeUntil(Parser $recognizer, IntervalSet $set) global() argument
[all...]
H A DANTLRErrorStrategy.php29 * Reset the error handler state for the specified `recognizer`.
31 * @param Parser $recognizer the parser instance
33 public function reset(Parser $recognizer) : void; argument
49 * @param Parser $recognizer The parser instance
54 public function recoverInline(Parser $recognizer) : Token; argument
61 * @param Parser $recognizer The parser instance
70 public function recover(Parser $recognizer, RecognitionException $e) : void; argument
84 * @param Parser $recognizer the parser instance
92 public function sync(Parser $recognizer) : void; argument
95 * Tests whether or not `recognizer` i
106 inErrorRecoveryMode(Parser $recognizer) global() argument
113 reportMatch(Parser $recognizer) global() argument
122 reportError(Parser $recognizer, RecognitionException $e) global() argument
[all...]
H A DBailErrorStrategy.php45 public function recover(Parser $recognizer, RecognitionException $e) : void argument
47 $context = $recognizer->getContext();
67 public function recoverInline(Parser $recognizer) : Token argument
69 $e = new InputMismatchException($recognizer);
71 for ($context = $recognizer->getContext(); $context; $context = $context->getParent()) {
85 public function sync(Parser $recognizer) : void argument
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Error/Listeners/
H A DDiagnosticErrorListener.php49 Parser $recognizer, argument
61 $tokenStream = $recognizer->getTokenStream();
65 $this->getDecisionDescription($recognizer, $dfa),
70 $recognizer->notifyErrorListeners($msg);
74 Parser $recognizer, argument
81 $tokenStream = $recognizer->getTokenStream();
85 $this->getDecisionDescription($recognizer, $dfa),
89 $recognizer->notifyErrorListeners($msg);
93 Parser $recognizer, argument
100 $tokenStream = $recognizer
111 getDecisionDescription(Parser $recognizer, DFA $dfa) global() argument
[all...]
H A DProxyErrorListener.php35 Recognizer $recognizer, argument
43 $listener->syntaxError($recognizer, $offendingSymbol, $line, $charPositionInLine, $msg, $e);
48 Parser $recognizer, argument
57 $listener->reportAmbiguity($recognizer, $dfa, $startIndex, $stopIndex, $exact, $ambigAlts, $configs);
62 Parser $recognizer, argument
71 $recognizer,
82 Parser $recognizer, argument
90 $listener->reportContextSensitivity($recognizer, $dfa, $startIndex, $stopIndex, $prediction, $configs);
H A DANTLRErrorListener.php22 Recognizer $recognizer, argument
31 Parser $recognizer, argument
41 Parser $recognizer, argument
50 Parser $recognizer, argument
H A DBaseErrorListener.php22 Recognizer $recognizer, argument
32 Parser $recognizer, argument
43 Parser $recognizer, argument
53 Parser $recognizer, argument
H A DConsoleErrorListener.php13 Recognizer $recognizer, argument
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Error/Exceptions/
H A DRecognitionException.php28 private $recognizer; variable in Antlr\\Antlr4\\Runtime\\Error\\Exceptions\\RecognitionException
49 ?Recognizer $recognizer, argument
56 $this->recognizer = $recognizer;
60 if ($this->recognizer !== null) {
61 $this->offendingState = $this->recognizer->getState();
99 if ($this->recognizer === null) {
107 return $this->recognizer->getATN()->getExpectedTokens($this->offendingState, $this->ctx);
125 * Gets the input stream which is the symbol source for the recognizer where
131 * the recognizer wher
[all...]
H A DFailedPredicateException.php27 public function __construct(Parser $recognizer, string $predicate, ?string $message = null) argument
30 $recognizer,
31 $recognizer->getInputStream(),
32 $recognizer->getContext(),
36 $interpreter = $recognizer->getInterpreter();
42 $s = $interpreter->atn->states[$recognizer->getState()];
55 $this->setOffendingToken($recognizer->getCurrentToken());
H A DInputMismatchException.php16 public function __construct(Parser $recognizer, ?int $state = null, ?ParserRuleContext $ctx = null) argument
19 $recognizer,
20 $recognizer->getInputStream(),
21 $ctx ?? $recognizer->getContext()
28 $this->setOffendingToken($recognizer->getCurrentToken());
H A DNoViableAltException.php40 Parser $recognizer, argument
48 $ctx = $recognizer->getContext();
52 $offendingToken = $recognizer->getCurrentToken();
56 $startToken = $recognizer->getCurrentToken();
60 $input = $recognizer->getInputStream();
63 parent::__construct($recognizer, $input, $ctx);
/plugin/bpmnioeditor/vendor/bpmnio-js/
H A Dbpmn-modeler.development.js23970 if (boolOrFn(recognizer.options.enable, [recognizer])) {
25069 var recognizer;
25115 get: function(recognizer) { argument
25117 return recognizer;
25150 return recognizer;
25163 recognizer = this.get(recognizer);
25166 if (recognizer) {
25462 recognizer.stop(force);
25477 recognizer.reset(true);
25481 return recognizer;
[all …]