FIR IDE: implement generators for IDE diagnostics

This commit is contained in:
Ilya Kirillov
2021-01-27 14:08:14 +01:00
parent c87684a6ef
commit e41ad2ea06
27 changed files with 3829 additions and 39 deletions
@@ -177,4 +177,12 @@ public class Printer {
public String toString() {
return out.toString();
}
public int getCurrentIndentLengthInUnits() {
return indent.length() / indentUnit.length();
}
public int getIndentUnitLength() {
return indentUnit.length();
}
}