Package | org.antlr.runtime |
Class | public class NoViableAltException |
Inheritance | NoViableAltException ![]() ![]() |
Property | Defined by | ||
---|---|---|---|
![]() | approximateLineInfo : Boolean If you are parsing a tree node stream, you will encounter som
imaginary nodes w/o line/col info.
| RecognitionException | |
![]() | c : int The current char when an error occurred.
| RecognitionException | |
![]() | charPositionInLine : int | RecognitionException | |
decisionNumber : int | NoViableAltException | ||
grammarDecisionDescription : String | NoViableAltException | ||
![]() | index : int What is index of token/char were we looking at when the error occurred?
| RecognitionException | |
![]() | input : IntStream
What input stream did the error occur in?
| RecognitionException | |
![]() | line : int Track the line at which the error occurred in case this is
generated from a lexer.
| RecognitionException | |
![]() | node : Object If this is a tree parser exception, node is set to the node with
the problem.
| RecognitionException | |
stateNumber : int | NoViableAltException | ||
![]() | token : Token
The current Token when an error occurred.
| RecognitionException | |
![]() | unexpectedType : int Return the token type or char of the unexpected input element
| RecognitionException |
Method | Defined by | ||
---|---|---|---|
NoViableAltException(grammarDecisionDescription:String, decisionNumber:int, stateNumber:int, input:IntStream)
| NoViableAltException | ||
toString():String
| NoViableAltException |
decisionNumber | property |
public var decisionNumber:int
grammarDecisionDescription | property |
public var grammarDecisionDescription:String
stateNumber | property |
public var stateNumber:int
NoViableAltException | () | constructor |
public function NoViableAltException(grammarDecisionDescription:String, decisionNumber:int, stateNumber:int, input:IntStream)
Parameters
grammarDecisionDescription:String |
|
decisionNumber:int |
|
stateNumber:int |
|
input:IntStream |
toString | () | method |
public function toString():String
Returns
String |