Lines Matching refs:STR_TK
395 class STR_TK(object): class in Lexer
405 (STR_TK.END, r'[ \t\n|:]'),
406 (STR_TK.CHARS, r'[^ \t\n|:$]+'),
407 (STR_TK.ESC_CHAR, r'\$[^\n{\w_-]'),
408 (STR_TK.ESC_NEWLINE, r'\$\n[ \t]*'),
409 (STR_TK.VAR, r'\$[\w_-]+'),
410 (STR_TK.CURVE_VAR, r'\$\{[\w_.-]+\}'),
415 (STR_TK.END, r'\n+'),
416 (STR_TK.CHARS, r'[^\n$]+'),
417 (STR_TK.ESC_CHAR, r'\$[^\n{\w_-]'),
418 (STR_TK.ESC_NEWLINE, r'\$\n[ \t]*'),
419 (STR_TK.VAR, r'\$[\w_-]+'),
420 (STR_TK.CURVE_VAR, r'\$\{[\w_.-]+\}'),
442 if kind == self.STR_TK.END:
447 if kind == self.STR_TK.CHARS:
449 elif kind == self.STR_TK.ESC_CHAR:
455 elif kind == self.STR_TK.ESC_NEWLINE:
459 elif kind == self.STR_TK.VAR:
462 assert kind == self.STR_TK.CURVE_VAR