def __init__(self, elems, precedence=4): MatchFirst.__init__(self, concatenate(elems)) BaseType.__init__(self, precedence)
def __init__(self, parse_method=None, precedence=2): MatchFirst.__init__(self, [QString('"'), QString("'")]) BaseType.__init__(self, precedence) if parse_method: self.addParseAction(parse_method)