Skip to content

yex.parse.ControlName

yex.parse.ControlName(ch=None, location=None) #

Bases: yex.parse.token.MagicToken

A token representing a named macro, such as \relax..

Source code in yex/parse/token.py
616
617
618
619
620
621
622
def __init__(self,
        ch = None,
        location = None,
        ):
    assert ch
    self.ch = ch
    self.location = location