Methods Summary |
---|
public int | getColumn()
return column;
|
public java.lang.String | getFilename()
return filename;
|
public int | getLine()
return line;
|
public java.lang.String | getRenderText(org.hibernate.engine.SessionFactoryImplementor sessionFactory)Retrieve the text to be used for rendering this particular node.
// The basic implementation is to simply use the node's text
return getText();
|
public int | getTextLength()
return textLength;
|
public void | initialize(antlr.Token tok)
super.initialize(tok);
filename = tok.getFilename();
line = tok.getLine();
column = tok.getColumn();
String text = tok.getText();
textLength = StringHelper.isEmpty(text) ? 0 : text.length();
|
public void | initialize(antlr.collections.AST t)
super.initialize( t );
if ( t instanceof Node ) {
Node n = (Node)t;
filename = n.filename;
line = n.line;
column = n.column;
textLength = n.textLength;
}
|