()
| 67 | } |
| 68 | |
| 69 | @Override |
| 70 | public String toString() { |
| 71 | if( line == -1 ) |
| 72 | return ""; |
| 73 | |
| 74 | StringBuilder sb = new StringBuilder(); |
| 75 | if (node != null) { |
| 76 | InvocationPoint pt = node.getNextInvocationPoint(); |
| 77 | while (pt != null) { |
| 78 | sb.append("at expanding macro '" + pt.getMacro() + "' (" |
| 79 | + pt.getFile() + ":" + pt.getLine() + ")"); |
| 80 | pt = node.getNextInvocationPoint(); |
| 81 | sb.append("\n"); |
| 82 | } |
| 83 | } |
| 84 | sb.append( "<" ); |
| 85 | if( file != null && !file.isEmpty() ) |
| 86 | sb.append( "file " + file + ", " ); |
| 87 | sb.append( "line " + line +", column " + offset + "> " ); |
| 88 | |
| 89 | return sb.toString(); |
| 90 | } |
| 91 | |
| 92 | } |
no test coverage detected