public class Info extends Object
Constructor and Description |
---|
Info(Node node) |
Info(String source,
int line,
int column) |
Modifier and Type | Method and Description |
---|---|
int |
getColumn() |
int |
getLine() |
String |
getTemplateName() |
String |
toString()
Formats a textual representation of this object as
SOURCE
[line X, column Y] . |
public Info(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)
public String getTemplateName()
public int getLine()
public int getColumn()
Copyright © 2000–2021 The Apache Software Foundation. All rights reserved.