pyre.parsing.Descriptor

Module Contents

class pyre.parsing.Descriptor.Descriptor(pattern=None, head='', tail='', **kwds)

Place holders for the token specifications

Descriptors are harvested by {Lexer}, the metaclass of {Scanner} subclasses, and converted into subclasses of {Token}

head =
tail =
pattern =
__str__(self)

Build a representation of the descriptor, mostly for debugging purposes