'Initialize a token instance.
@param ttype: The token type
@type ttype: int
@param value: The token value
@type value: string
@param has_escape: Does the token value contain escapes?
@type has_escape: bool'

def __init__(self, ttype, value='', has_escape=False):

    self.ttype = ttype
    self.value = value
    self.has_escape = has_escape
