For ASTs use a Nim "case object". Nothing else works as well.

Reply via email to