ABadHaiku
08/14/2026, 8:29 PMhfhbd
08/14/2026, 8:49 PMABadHaiku
08/14/2026, 8:50 PMdmitriy.novozhilov
08/17/2026, 6:16 AMLighterASTNode) and a enum-like marker IElementType which indicates to which grammar element this node corresponds to (see KtNodeTypes for kotlin values).
This tree is not very user-friendly and doesn't support transformations by itself. Its main advantage is how fast it could be built by parser, so that's why the CLI compiler uses it to parse and build the raw FIR tree.
The PSI tree is actually just a typed wrappers over the light tree.