Lines Matching refs:LITERAL
29 _UNITCODES = frozenset({ANY, RANGE, IN, LITERAL, NOT_LITERAL, CATEGORY})
32 r"\a": (LITERAL, ord("\a")),
33 r"\b": (LITERAL, ord("\b")),
34 r"\f": (LITERAL, ord("\f")),
35 r"\n": (LITERAL, ord("\n")),
36 r"\r": (LITERAL, ord("\r")),
37 r"\t": (LITERAL, ord("\t")),
38 r"\v": (LITERAL, ord("\v")),
39 r"\\": (LITERAL, ord("\\"))
310 return LITERAL, int(escape[2:], 16)
316 return LITERAL, int(escape[2:], 16)
324 return LITERAL, c
336 return LITERAL, c
344 return LITERAL, c
350 return LITERAL, ord(escape[1])
370 return LITERAL, int(escape[2:], 16)
376 return LITERAL, int(escape[2:], 16)
384 return LITERAL, c
396 return LITERAL, c
400 return LITERAL, int(escape[1:], 8)
414 return LITERAL, c
427 return LITERAL, ord(escape[1])
478 if op is LITERAL:
529 subpatternappend((LITERAL, _ord(this)))
567 code1 = LITERAL, _ord(this)
578 setappend((LITERAL, _ord("-")))
590 code2 = LITERAL, _ord(that)
591 if code1[0] != LITERAL or code2[0] != LITERAL:
607 if _len(set) == 1 and set[0][0] is LITERAL:
632 subpatternappend((LITERAL, _ord(this)))
645 subpatternappend((LITERAL, _ord(this)))