1 package org.simantics.scl.compiler.elaboration.contexts;
3 import org.simantics.scl.compiler.types.util.TypeUnparsingContext;
5 public class PrintingContext {
7 public TypeUnparsingContext tuc;
10 public PrintingContext() {
11 this.b = new StringBuilder();
12 this.tuc = new TypeUnparsingContext();
16 public void indent() {
20 public void dedent() {
24 public void newLine() {
26 for(int i=0;i<indentation;++i)
30 public void append(String str) {
35 public String toString() {
39 public void append(char c) {
43 public void append(Object obj) {