Home
last modified time | relevance | path

Searched refs:mte (Results 1 – 18 of 18) sorted by relevance

/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
DLexer.cs163 catch (MismatchedTokenException mte) in NextToken()
165 ReportError(mte); in NextToken()
262 … MismatchedTokenException mte = new MismatchedTokenException(s[i], input, TokenNames); in Match()
263 Recover( mte ); in Match()
264 throw mte; in Match()
286 MismatchedTokenException mte = new MismatchedTokenException(c, input, TokenNames); in Match()
287 Recover( mte ); // don't really recover; just consume in lexer in Match()
288 throw mte; in Match()
341 MismatchedTokenException mte = (MismatchedTokenException)e; in GetErrorMessage()
342 …cter " + GetCharErrorDisplay( e.Character ) + " expecting " + GetCharErrorDisplay( mte.Expecting ); in GetErrorMessage()
DBaseRecognizer.cs293 MissingTokenException mte = (MissingTokenException)e; in GetErrorMessage()
295 if ( mte.Expecting == TokenTypes.EndOfFile ) in GetErrorMessage()
301 tokenName = tokenNames[mte.Expecting]; in GetErrorMessage()
307 MismatchedTokenException mte = (MismatchedTokenException)e; in GetErrorMessage()
309 if ( mte.Expecting == TokenTypes.EndOfFile ) in GetErrorMessage()
315 tokenName = tokenNames[mte.Expecting]; in GetErrorMessage()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/
DSlimLexer.cs278 … MismatchedTokenException mte = new MismatchedTokenException(s[i], input, TokenNames); in Match()
279 Recover( mte ); in Match()
280 throw mte; in Match()
302 MismatchedTokenException mte = new MismatchedTokenException(c, input, TokenNames); in Match()
303 Recover( mte ); // don't really recover; just consume in lexer in Match()
304 throw mte; in Match()
358 MismatchedTokenException mte = (MismatchedTokenException)e; in GetErrorMessage()
359 …cter " + GetCharErrorDisplay( e.Character ) + " expecting " + GetCharErrorDisplay( mte.Expecting ); in GetErrorMessage()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DLexer.cs216 … MismatchedTokenException mte = new MismatchedTokenException(s[i], input, TokenNames); in Match()
217 Recover(mte); in Match()
218 throw mte; in Match()
236 MismatchedTokenException mte = new MismatchedTokenException(c, input, TokenNames); in Match()
237 Recover(mte); // don't really recover; just consume in lexer in Match()
238 throw mte; in Match()
283 MismatchedTokenException mte = (MismatchedTokenException)e; in GetErrorMessage()
284 …haracter " + GetCharErrorDisplay(e.Character) + " expecting " + GetCharErrorDisplay(mte.Expecting); in GetErrorMessage()
DBaseRecognizer.cs263 MissingTokenException mte = (MissingTokenException)e; in GetErrorMessage()
265 if (mte.Expecting == TokenTypes.EndOfFile) { in GetErrorMessage()
268 tokenName = tokenNames[mte.Expecting]; in GetErrorMessage()
272 MismatchedTokenException mte = (MismatchedTokenException)e; in GetErrorMessage()
274 if (mte.Expecting == TokenTypes.EndOfFile) { in GetErrorMessage()
277 tokenName = tokenNames[mte.Expecting]; in GetErrorMessage()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
DLexer.java176 MismatchedTokenException mte = in match() local
178 recover(mte); in match()
179 throw mte; in match()
197 MismatchedTokenException mte = in match() local
199 recover(mte); // don't really recover; just consume in lexer in match()
200 throw mte; in match()
271 MismatchedTokenException mte = (MismatchedTokenException)e; in getErrorMessage() local
272 …msg = "mismatched character "+getCharErrorDisplay(e.c)+" expecting "+getCharErrorDisplay(mte.expec… in getErrorMessage()
DBaseRecognizer.java234 MissingTokenException mte = (MissingTokenException)e; in getErrorMessage() local
236 if ( mte.expecting== Token.EOF ) { in getErrorMessage()
240 tokenName = tokenNames[mte.expecting]; in getErrorMessage()
245 MismatchedTokenException mte = (MismatchedTokenException)e; in getErrorMessage() local
247 if ( mte.expecting== Token.EOF ) { in getErrorMessage()
251 tokenName = tokenNames[mte.expecting]; in getErrorMessage()
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
DLexer.js125 mte;
134 mte = new org.antlr.runtime.MismatchedTokenException(s.charAt(i), this.input); variable
135 this.recover(mte);
136 throw mte;
148 mte = new org.antlr.runtime.MismatchedTokenException(s, this.input); variable
149 this.recover(mte);
150 throw mte;
DBaseRecognizer.js294 mte,
308 mte = e;
310 if ( mte.expecting== org.antlr.runtime.Token.EOF ) {
313 tokenName = tokenNames[mte.expecting];
318 mte = e;
320 if ( mte.expecting== org.antlr.runtime.Token.EOF ) {
324 tokenName = tokenNames[mte.expecting];
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRLexer.m231 …ANTLRMismatchedTokenException *mte = [ANTLRMismatchedTokenException newExceptionChar:[aString char…
232 mte.c = c;
233 [self recover:mte];
234 @throw mte;
258 …ANTLRMismatchedTokenException *mte = [ANTLRMismatchedTokenException newExceptionChar:aChar Stream…
259 mte.c = charLA;
260 [self recover:mte];
261 @throw mte;
341 ANTLRMismatchedTokenException *mte = (ANTLRMismatchedTokenException *)e;
343 [self getCharErrorDisplay:mte.c], [self getCharErrorDisplay:mte.expecting]];
DANTLRTreeParser.m79 …ANTLRMismatchedTreeNodeException *mte = [ANTLRMismatchedTreeNodeException newException:aTType Stre…
80 [mte setNode:[((id<ANTLRTreeNodeStream>)aStream) LT:1]];
DANTLRBaseRecognizer.m366 ANTLRMissingTokenException *mte = (ANTLRMissingTokenException *)e;
368 if ( mte.expecting== ANTLRTokenTypeEOF ) {
372 tokenName = [theTokNams objectAtIndex:mte.expecting];
377 ANTLRMismatchedTokenException *mte = (ANTLRMismatchedTokenException *)e;
379 if ( mte.expecting== ANTLRTokenTypeEOF ) {
383 tokenName = [theTokNams objectAtIndex:mte.expecting];
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
DLexer.as162 var mte:MismatchedTokenException =
164 recover(mte);
165 throw mte;
183 var mte:MismatchedTokenException =
185 recover(mte); // don't really recover; just consume in lexer
186 throw mte;
245 var mte:MismatchedTokenException = MismatchedTokenException(e);
246 …msg = "mismatched character "+getCharErrorDisplay(e.c)+" expecting "+getCharErrorDisplay(mte.expec…
DBaseRecognizer.as224 var mte:MismatchedTokenException = MismatchedTokenException(e);
226 if ( mte.expecting== TokenConstants.EOF ) {
230 tokenName = tokenNames[mte.expecting];
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
DLexer.pm168 my $mte = ANTLR::Runtime::MismatchedTokenException->new({
172 $self->recover($mte);
173 croak $mte;
/external/antlr/antlr-3.4/runtime/Python/antlr3/
Drecognizers.py1196 mte = MismatchedTokenException(c, self.input)
1197 self.recover(mte)
1198 raise mte
1207 mte = MismatchedTokenException(unichr(s), self.input)
1208 self.recover(mte) # don't really recover; just consume in lexer
1209 raise mte
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DInterpreter.java349 MismatchedTokenException mte = in parseEngine() local
352 actions.recognitionException(mte); in parseEngine()
355 throw mte; in parseEngine()
/external/clang/lib/AST/
DStmt.cpp102 if (auto *mte = dyn_cast<MaterializeTemporaryExpr>(s)) in IgnoreImplicit() local
103 s = mte->GetTemporaryExpr(); in IgnoreImplicit()