Skip to content

yex.parse.Internal

yex.parse.Internal(*args) #

Bases: yex.parse.token.MagicToken

Special tokens which are part of yex's infrastructure.

Unlike most tokens, these are callables. Parsers call them when they see them.

Source code in yex/parse/token.py
659
660
def __init__(self, *args):
    self.ch = self.identifier