thanks actually in my case I was looking for a wa...
# announcements
a
thanks actually in my case I was looking for a way to simplify this code a bit: https://gist.github.com/AlexP11223/0d1ab3fdd1585cb53b9a92bffb2d60ac it has
considerPosition: Boolean
everywhere, but I set it to
false
only in tests and also I probably will never need to call
.toAst
individually on anything except the
ProgramContext
. so I thought that it would be better if I create a class like
Mapper
with this property and these extension functions, so they could access the property instead of adding it as parameter to each function