示例#1
0
 @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);
    }
  }
示例#3
0
 public void printNode(CorePrinter output) {
   output.formatPrintLn(
       this.fName + "(" + this.getSourceRange().toString() + ")"); // $NON-NLS-1$ //$NON-NLS-2$
 }
示例#4
0
 /** Testing purposes only. Print expression. */
 public void printNode(CorePrinter output) {
   output.formatPrintLn(
       "Expression" + getSourceRange() + ":" + getKind()); // $NON-NLS-1$ //$NON-NLS-2$
 }
示例#5
0
 public void printNode(CorePrinter output) {
   output.println(this.getClass() + " (node doesn't support debug printing)"); // $NON-NLS-1$
 }