org.sonar.sslr.parser
Class ParseError

java.lang.Object
  extended by org.sonar.sslr.parser.ParseError

public class ParseError
extends Object

Describes an error, which is occurred during parse. Use ParseErrorFormatter to convert instances of this class to readable format.

This class is not intended to be instantiated or subclassed by clients.

Since:
1.16

Constructor Summary
ParseError(InputBuffer inputBuffer, int errorIndex, String message, List<List<MatcherPathElement>> failedPaths)
           
 
Method Summary
 int getErrorIndex()
           
 List<List<MatcherPathElement>> getFailedPaths()
           
 InputBuffer getInputBuffer()
           
 String getMessage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParseError

public ParseError(InputBuffer inputBuffer,
                  int errorIndex,
                  String message,
                  List<List<MatcherPathElement>> failedPaths)
Method Detail

getInputBuffer

public InputBuffer getInputBuffer()

getErrorIndex

public int getErrorIndex()

getMessage

public String getMessage()

getFailedPaths

public List<List<MatcherPathElement>> getFailedPaths()


Copyright © 2009-2014 SonarSource. All Rights Reserved.