public boolean hasASTNode() {
return (nodeRef != null) && (nodeRef.get() != null);
}
public PositionInSourceCode getPositionInSourceCode() {
GoloASTNode node = getASTNode();
if (node == null) {
return new PositionInSourceCode(0, 0);
}
return new PositionInSourceCode(node.jjtGetFirstToken().beginLine, node.jjtGetFirstToken().beginColumn);
}