Closed lucaswerkmeister closed 10 years ago
Oh wow, the TokenStream
is used only in fastForward
. That’s neat, that means that this is super easy – just return immediately there if the TokenStream
is null
!
Hm, not quite – apparently that eats some line breaks. I hope I’ll still be able to keep all changes in that method.
If the formatter could run without a TokenStream, it would be a general code generator for Ceylon. In conjunction with a
ceylon.ast
module, I would love to see something like this: