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
332 return LITERAL, c
338 return LITERAL, ord(escape[1])
358 return LITERAL, int(escape[2:], 16)
364 return LITERAL, int(escape[2:], 16)
372 return LITERAL, c
376 return LITERAL, int(escape[1:], 8)
390 return LITERAL, c
403 return LITERAL, ord(escape[1])
460 if op is LITERAL:
511 subpatternappend((LITERAL, _ord(this)))
549 code1 = LITERAL, _ord(this)
560 setappend((LITERAL, _ord("-")))
572 code2 = LITERAL, _ord(that)
573 if code1[0] != LITERAL or code2[0] != LITERAL:
589 if _len(set) == 1 and set[0][0] is LITERAL:
614 subpatternappend((LITERAL, _ord(this)))
627 subpatternappend((LITERAL, _ord(this)))