finesse.script.containers.TokenMixin
¶
Overview
- class finesse.script.containers.TokenMixin(lineno: int, start_index: int, stop_index: int, type: str)[source]¶
Bases:
TokenContainer
A class that provides functionality shared by
KatMetaToken
andKatToken
.Injected this way to prevent
KatToken
inheriting fromKatMetaToken
, which would be confusing since they are both tokens, but one represent real tokens while the other does not.