class

Focus::Token

Inherits Focus::Expression / Reference / Object

Instance methods

accept(visitor : Focus::SqlVisitor) : Nil

The visitor pattern seems to fail with generic types the {% @type %} here is to force the compiler to instantiate a separate def for each generic instance https://forum.crystal-lang.org/t/incorrect-overload-selected-with-freevar-and-generic-inheritance/3625

Source