public class Info
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
column |
private int |
line |
private java.lang.String |
templateName |
Modifier | Constructor and Description |
---|---|
private |
Info()
Force callers to set the location information.
|
|
Info(Node node) |
|
Info(java.lang.String source,
int line,
int column) |
Modifier and Type | Method and Description |
---|---|
int |
getColumn() |
int |
getLine() |
java.lang.String |
getTemplateName() |
java.lang.String |
toString()
Formats a textual representation of this object as
SOURCE
[line X, column Y] . |
private int line
private int column
private java.lang.String templateName
public Info(java.lang.String source, int line, int column)
source
- Usually a template name.line
- The line number from source
.column
- The column number from source
.public Info(Node node)
private Info()
public java.lang.String getTemplateName()
public int getLine()
public int getColumn()
public java.lang.String toString()
SOURCE
[line X, column Y]
.toString
in class java.lang.Object