public final class InputInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
file
File reference.
|
| Constructor and Description |
|---|
InputInfo(InputParser p)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int[] |
lineCol()
Returns an array with the line and column position of the associated expression.
|
static int[] |
lineCol(java.lang.String qu,
int qp)
Calculates the column and line number of a given offset in the string.
|
java.lang.String |
toString() |
public InputInfo(InputParser p)
p - input parser, containing information on the current parsing statepublic int[] lineCol()
public static int[] lineCol(java.lang.String qu,
int qp)
qu - query stringqp - offsetpublic java.lang.String toString()
toString in class java.lang.Object