Пример #1
0
 @Override
 public void toStringAsCode(ASTCodePrinter cp) {
   cp.append("new");
   cp.appendNodeList("(", allocArgs, ", ", ")", " ");
   cp.append(newtype);
   cp.appendNodeList("(", args, ", ", ")", " ");
 }
Пример #2
0
 @Override
 public void toStringAsCode(ASTCodePrinter cp) {
   cp.append(retType, " ");
   cp.append(isDelegate ? "delegate" : "function");
   cp.appendList("(", getParams_asNodes(), ",", ") ");
   cp.appendTokenList(fnAttributes, " ", true);
 }
Пример #3
0
 @Override
 public void toStringAsCode(ASTCodePrinter cp) {
   cp.append("goto ");
   cp.append(label);
   cp.append(";");
 }