Lines Matching refs:cur_char
70 cur_char = text[start]
73 if cur_char == "\n":
78 if cur_char == "\r":
83 if cur_char == "#":
88 if cur_char != "(":
91 cur_char = text[self.pos_] if self.pos_ < limit else None
92 if cur_char != ")":
98 if cur_char == "\\" and next_char in Lexer.CHAR_DIGIT_:
102 if cur_char == "@":
119 if cur_char in Lexer.CHAR_NAME_START_:
126 if cur_char == "0" and next_char in "xX":
130 if cur_char == "0" and next_char in Lexer.CHAR_DIGIT_:
133 if cur_char in Lexer.CHAR_DIGIT_:
140 if cur_char == "-" and next_char in Lexer.CHAR_DIGIT_:
148 if cur_char in Lexer.CHAR_SYMBOL_:
150 return (Lexer.SYMBOL, cur_char, location)
151 if cur_char == '"':
161 raise FeatureLibError("Unexpected character: %r" % cur_char, location)