Ejemplo n.º 1
0
 public void ToDialect(CodeWriter writer)
 {
     writer.append("JavaScript: ");
     writer.append(identifier);
     if (module != null)
     {
         module.toDialect(writer);
     }
 }
Ejemplo n.º 2
0
 public void ToDialect(CodeWriter writer)
 {
     if (isReturn)
     {
         writer.append("return ");
     }
     expression.ToDialect(writer);
     writer.append(';');
     if (module != null)
     {
         module.toDialect(writer);
     }
 }