• Home
  • Raw
  • Download

Lines Matching refs:we

9 	// If we have been supplied with a pre-existing recognizer state
10 // then we just install it, otherwise we must create one from scratch
19 // Install the one we were given, and do not reset it here
67 // The token was the one we were told to expect
70 m_state->set_errorRecovery(false); // Not in error recovery now (if we were)
75 // We did not find the expected token type, if we are backtracking then
76 // we just set the failed flag and return.
87 // going on, so we mismatch, which creates an exception in the recognizer exception
116 return true; // This token is unknown, but the next one is the one we wanted
119 return false; // Neither this token, nor the one following is the one we wanted
132 // hence we must say that the current one we found is not a member of the
143 // C code generation. Hence we cannot remove things from them
144 // and so on. So, in order to remove EOR (if we need to) then
145 // we clone the static bitset.
155 // EOR can follow, but if we are not the start symbol, we
168 /// then we know we're missing a token; error recovery is free to
238 // Signal we are in error recovery now
259 // See if there is a 'filename' we can use
276 // Are we about to repeat the same error?
300 // Consume tokens until we have resynced to something in the follows set
308 // Destroy the temporary bitset we produced.
312 // Reset the inError flag so we don't re-report the exception
392 // if we have to include the follow(start rule); I.E., EOF
424 // If the next token after the one we are looking at in the input stream
425 // is what we are looking for then we remove the one we have discovered
431 // Create an exception if we need one
454 // Print out the error after we consume so that ANTLRWorks sees the
459 // Return the token we are actually matching
474 // so we see if we can insert a token instead by calculating which
486 // Print out the error after we insert so that ANTLRWorks sees the
496 // Create an exception if we need one
523 // Print out the error after we insert so that ANTLRWorks sees the
551 /* The follow set is NULL, which means we don't know what can come
552 * next, so we "hit and hope" by just signifying that we cannot
559 /* We have a bitmap for the follow set, hence we can compute
564 /* First we need to know which of the available tokens are viable
569 /* Remove the EOR token, which we do not wish to compute with
579 * is consistent, then we can "insert" that token by not throwing
580 * an exception and assuming that we saw it.
617 // Start eating tokens until we get to the one we want.
637 // Start eating tokens until we get to one we want.
658 /* See if we have a list in the ruleMemos for this rule, and if not, then create one
659 * as we will need it eventually if we are being asked for the memo here.
674 /* We cannot have a stopIndex in a trie we have just created of course
705 /* See if we have a memo marker for this.
748 /* If we don't already have this entry, append it. The memoize trie does not
749 * accept duplicates so it won't add it if already there and we just ignore the
750 * return code as we don't care if it is there already.
807 /* Begin backtracking so we can get back to where we started after trying out
887 // Did we have a state allocated?
891 // Free any rule memoization we set up
900 // Free any exception space we have left around