Exemplo n.º 1
0
 public PrettyPrinter(TextWriter writer, int width)
 {
     this.buffer = new Dequeue<Token>();
     this.breaks = new Dequeue<Break>();
     this.output = new PrettyPrinterOutput(writer, width);
     this.breakLevel = -1;
 }
Exemplo n.º 2
0
 public PrettyPrinter(TextWriter writer, int width)
 {
     this.buffer     = new Dequeue <Token>();
     this.breaks     = new Dequeue <Break>();
     this.output     = new PrettyPrinterOutput(writer, width);
     this.breakLevel = -1;
 }
Exemplo n.º 3
0
 public StringToken(char c, PrettyPrinterOutput output) : base(output)
 {
     this.c = c;
 }
Exemplo n.º 4
0
 public NewlineToken(PrettyPrinterOutput output) : base(output)
 {
 }
Exemplo n.º 5
0
 public OutdentToken(int amount, PrettyPrinterOutput output)
     : base(output)
 {
     outdentAmt = amount;
 }
Exemplo n.º 6
0
 public MarkerToken(int groupingLevel, PrettyPrinterOutput output)
     : base(output)
 {
     this.groupingLevel = groupingLevel;
 }
Exemplo n.º 7
0
 protected Token(PrettyPrinterOutput output)
 {
     this.Output = output;
 }
Exemplo n.º 8
0
 public StringToken(char c, PrettyPrinterOutput output) : base(output)
 {
     this.c = c;
 }
Exemplo n.º 9
0
 public NewlineToken(PrettyPrinterOutput output) : base(output)
 {
 }
Exemplo n.º 10
0
 public OutdentToken(int amount, PrettyPrinterOutput output)
     : base(output)
 {
     outdentAmt = amount;
 }
Exemplo n.º 11
0
 public MarkerToken(int groupingLevel, PrettyPrinterOutput output)
     : base(output)
 {
     this.groupingLevel = groupingLevel;
 }
Exemplo n.º 12
0
 protected Token(PrettyPrinterOutput output)
 {
     this.Output = output;
 }