'Builds the lexer from the specification. Must be
called after the lexer object is created.
This method exists separately, because the PLY
manual warns against calling lex.lex inside
__init__'

def build(self, **kwargs):

    self.lexer = lex.lex(object=self, **kwargs)
