Home | History | Annotate | Download | only in Antlr3.Runtime

Lines Matching refs:exception

283   /// throw an exception not under RecognitionException and Delphi will naturally
285 /// lexing then you should not throw an exception to the parser--it has already
717 /// in a rule will cause an exception and immediate exit from
762 /// What error message should be generated for the various exception types?
765 /// within one method rather than spread among all of the exception classes. This
766 /// also makes it much easier for the exception handling because the exception
768 /// routines and so on. Also, changing the message for an exception type would be
769 /// difficult because you would have to subclassing exception, but then somehow get
770 /// ANTLR to make those kinds of exception objects instead of the default.
778 /// Override this to change the message generated for one or more exception types.
846 //function GetRuleInvocationStack(const E: Exception;
1020 /// <returns>Return an alternative number 1..N. Throw an exception upon error.</returns>
1350 /// <summary>The root of the ANTLR exception hierarchy.</summary>
1373 /// state can change before the exception is reported so current token index
1374 /// is computed and stored at exception time. From this info, you can
1379 ERecognitionException = class(Exception)
2041 /// exception For example, Input "i=(3;" is clearly missing the
2141 /// throwing an exception.
2155 * When you find a "no viable alt exception", the input is not
2207 * exception (since LA(1) is not in the viable following token
2208 * set). The rule exception handler tries to Recover, but finds
2275 //function GetRuleInvocationStack(const E: Exception;
2772 /// 3. Throw exception upon boundary overlap with any previous replace.
2779 /// 3. throw exception if index in same range as previous replace
4651 ReportError(E); // report after consuming so AW sees the token in the exception
4664 ReportError(E); // report after inserting so AW sees the token in the exception
4668 // even that didn't work; must throw the exception
6046 // throw exception unless disjoint or identical
6103 raise Exception.Create('should only be one op per index');