Esempio 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;
 }
Esempio 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;
 }
Esempio n. 3
0
 public StringToken(char c, PrettyPrinterOutput output) : base(output)
 {
     this.c = c;
 }
Esempio n. 4
0
 public NewlineToken(PrettyPrinterOutput output) : base(output)
 {
 }
Esempio n. 5
0
 public OutdentToken(int amount, PrettyPrinterOutput output)
     : base(output)
 {
     outdentAmt = amount;
 }
Esempio n. 6
0
 public MarkerToken(int groupingLevel, PrettyPrinterOutput output)
     : base(output)
 {
     this.groupingLevel = groupingLevel;
 }
Esempio n. 7
0
 protected Token(PrettyPrinterOutput output)
 {
     this.Output = output;
 }
Esempio n. 8
0
 public StringToken(char c, PrettyPrinterOutput output) : base(output)
 {
     this.c = c;
 }
Esempio n. 9
0
 public NewlineToken(PrettyPrinterOutput output) : base(output)
 {
 }
Esempio n. 10
0
 public OutdentToken(int amount, PrettyPrinterOutput output)
     : base(output)
 {
     outdentAmt = amount;
 }
Esempio n. 11
0
 public MarkerToken(int groupingLevel, PrettyPrinterOutput output)
     : base(output)
 {
     this.groupingLevel = groupingLevel;
 }
Esempio n. 12
0
 protected Token(PrettyPrinterOutput output)
 {
     this.Output = output;
 }