Packageorg.antlr.runtime
Classpublic class NoViableAltException
InheritanceNoViableAltException Inheritance RecognitionException Inheritance Error



Public Properties
 PropertyDefined by
 InheritedapproximateLineInfo : Boolean
If you are parsing a tree node stream, you will encounter som imaginary nodes w/o line/col info.
RecognitionException
 Inheritedc : int
The current char when an error occurred.
RecognitionException
 InheritedcharPositionInLine : int
RecognitionException
  decisionNumber : int
NoViableAltException
  grammarDecisionDescription : String
NoViableAltException
 Inheritedindex : int
What is index of token/char were we looking at when the error occurred?
RecognitionException
 Inheritedinput : IntStream
What input stream did the error occur in?
RecognitionException
 Inheritedline : int
Track the line at which the error occurred in case this is generated from a lexer.
RecognitionException
 Inheritednode : Object
If this is a tree parser exception, node is set to the node with the problem.
RecognitionException
  stateNumber : int
NoViableAltException
 Inheritedtoken : Token
The current Token when an error occurred.
RecognitionException
 InheritedunexpectedType : int
Return the token type or char of the unexpected input element
RecognitionException
Public Methods
 MethodDefined by
  
NoViableAltException(grammarDecisionDescription:String, decisionNumber:int, stateNumber:int, input:IntStream)
NoViableAltException
  
toString():String
NoViableAltException
Protected Methods
 MethodDefined by
 Inherited
RecognitionException
Property detail
decisionNumberproperty
public var decisionNumber:int
grammarDecisionDescriptionproperty 
public var grammarDecisionDescription:String
stateNumberproperty 
public var stateNumber:int
Constructor detail
NoViableAltException()constructor
public function NoViableAltException(grammarDecisionDescription:String, decisionNumber:int, stateNumber:int, input:IntStream)Parameters
grammarDecisionDescription:String
 
decisionNumber:int
 
stateNumber:int
 
input:IntStream
Method detail
toString()method
public function toString():String

Returns
String