reportErrorLocation method
Implementation
String reportErrorLocation(AstNode node) {
var result = StringBuffer();
if (origin != null) result.write(' from $origin');
var line = root.lineInfo.getLocation(node.offset);
result.write(' line: ${line.lineNumber}, column: ${line.columnNumber}');
return result.toString();
}