Modifier and Type | Field and Description |
---|---|
private int |
column
column number.
|
private int |
line
line number.
|
private java.lang.String |
name
name.
|
Constructor and Description |
---|
DebugInfo(java.lang.String tn,
int l,
int c)
Create info.
|
Modifier and Type | Method and Description |
---|---|
DebugInfo |
debugInfo()
Gets the underlying debugging information.
|
java.lang.String |
debugString()
Formats this information for debugging purpose.
|
int |
getColumn()
Gets the column number.
|
int |
getLine()
Gets the line number.
|
java.lang.String |
getName()
Gets the file/script/url name.
|
java.lang.String |
toString()
Formats this info in the form 'name@line:column'.
|
private final int line
private final int column
private final java.lang.String name
public DebugInfo(java.lang.String tn, int l, int c)
tn
- template namel
- line numberc
- columnpublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String debugString()
debugString
in interface JexlInfo
public DebugInfo debugInfo()
public java.lang.String getName()
public int getLine()
public int getColumn()