707 * Calculate a synthetic eval location for a node for the stacktrace, for example src#17<eval> |
707 * Calculate a synthetic eval location for a node for the stacktrace, for example src#17<eval> |
708 * @param node a node |
708 * @param node a node |
709 * @return eval location |
709 * @return eval location |
710 */ |
710 */ |
711 private static String evalLocation(final IdentNode node) { |
711 private static String evalLocation(final IdentNode node) { |
712 //final StringBuilder sb = new StringBuilder(node.getSource().getName()); |
|
713 return new StringBuilder(). |
712 return new StringBuilder(). |
714 append(node.getSource().getName()). |
713 append(node.getSource().getName()). |
715 append('#'). |
714 append('#'). |
716 append(node.getSource().getLine(node.position())). |
715 append(node.getSource().getLine(node.position())). |
717 append("<eval>"). |
716 append("<eval>"). |