@Override public String toString() { StringWriter writer = new StringWriter(); CorePrinter printer = new CorePrinter(writer); this.printNode(printer); printer.flush(); printer.close(); return writer.getBuffer().toString(); }
public void printNode(CorePrinter output) { output.formatPrintLn("continue "); Expression expression = this.getExpression(); if (expression != null) { expression.printNode(output); } }
public void printNode(CorePrinter output) { output.formatPrintLn( this.fName + "(" + this.getSourceRange().toString() + ")"); // $NON-NLS-1$ //$NON-NLS-2$ }
/** Testing purposes only. Print expression. */ public void printNode(CorePrinter output) { output.formatPrintLn( "Expression" + getSourceRange() + ":" + getKind()); // $NON-NLS-1$ //$NON-NLS-2$ }
public void printNode(CorePrinter output) { output.println(this.getClass() + " (node doesn't support debug printing)"); // $NON-NLS-1$ }