Exemple #1
0
 public static void Encode(Escape.Ast.Program program, bool includeLocation, TextWriter stdout)
 {
     new JsonEncoder(stdout, includeLocation).Visit(program);
 }
Exemple #2
0
 protected abstract void Visit(Escape.Ast.Program node);
Exemple #3
0
 protected override void Visit(Escape.Ast.Program node)
 {
     Encode(node, Member("body", node.Body));
 }