Beispiel #1
0
 static void methodArgument(final Tree.MethodArgument that, final GenerateJsVisitor gen) {
   gen.out("(");
   if (that.getBlock() == null) {
     singleExprFunction(
         that.getParameterLists(),
         that.getSpecifierExpression().getExpression(),
         that.getScope(),
         false,
         true,
         gen);
   } else {
     multiStmtFunction(that.getParameterLists(), that.getBlock(), that.getScope(), false, gen);
   }
   gen.out(")");
 }