Ejemplo n.º 1
0
 public void VisitCase(AbsynCase absynCase)
 {
     stms.Add(absynCase);
 }
Ejemplo n.º 2
0
 public void VisitCase(AbsynCase c)
 {
     writer.Indentation -= writer.TabSize;
     writer.Indent();
     writer.WriteKeyword("case");
     writer.Write(" ");
     c.Constant.Accept(this);
     writer.Terminate(":");
     writer.Indentation += writer.TabSize;
 }
Ejemplo n.º 3
0
 public void VisitCase(AbsynCase c)
 {
     writer.Indentation -= writer.TabSize;
     writer.Indent();
     writer.WriteKeyword("case");
     writer.Write(" ");
     writer.Write("{0}", c.Number);
     writer.Terminate(":");
     writer.Indentation += writer.TabSize;
 }