package org.simantics.scl.compiler.elaboration.contexts; import org.simantics.scl.compiler.types.util.TypeUnparsingContext; public class PrintingContext { StringBuilder b; public TypeUnparsingContext tuc; int indentation; public PrintingContext() { this.b = new StringBuilder(); this.tuc = new TypeUnparsingContext(); this.indentation = 0; } public void indent() { ++indentation; } public void dedent() { --indentation; } public void newLine() { b.append('\n'); for(int i=0;i