{
name = ((Identifier)node).getName();
}
// get a token for this node's region
Region region = node.getRegion();
if( region.getBeginLine() == 0 || region.getEndLine() == 0 )
{
// DEBUG
System.err.println( String.format( "WARNING: %s \"%s\" has invalid region: %s", node.getNodeType(), name, region ) );
return null;
}
Token token = new Token(
toPos( region.getBeginLine(), region.getBeginColumn() ),
toPos( region.getEndLine(), region.getEndColumn() ),
m_source
);
if( token.start == 0 )
{
// DEBUG