public final class ParseError extends Object
Constructor and Description |
---|
ParseError(int position,
int line,
int column,
String nt)
Creates a new ParseError.
|
Modifier and Type | Method and Description |
---|---|
int |
getColumn()
Returns the column.
|
int |
getLine()
Returns the line.
|
String |
getNT()
Returns the nt.
|
int |
getPosition()
Returns the position.
|
String |
toString() |
public ParseError(int position, int line, int column, String nt)
position
- The position of the error.line
- The line of the error.column
- The column of the error.nt
- The non-terminal being matched when the error occured.public int getPosition()
public int getLine()
public int getColumn()
public String getNT()
Copyright © 2017 Kevoree Project. All rights reserved.