Lines Matching refs:CHARACTER_DATA
38 ELEMENT_START, ELEMENT_END, CHARACTER_DATA, EOF = range(4)
44 assert type in (ELEMENT_START, ELEMENT_END, CHARACTER_DATA, EOF)
56 if self.type == CHARACTER_DATA:
74 self.character_data = ''
94 if not self.character_data:
96 self.character_data += data
99 if self.character_data:
100 if not self.skip_ws or not self.character_data.isspace():
102 token = XmlToken(CHARACTER_DATA, self.character_data, None, line, column)
104 self.character_data = ''
162 while self.token.type == CHARACTER_DATA:
173 while self.token.type == CHARACTER_DATA:
181 def character_data(self, strip = True):
183 while self.token.type == CHARACTER_DATA:
263 value = int(self.character_data())
269 value = int(self.character_data())
275 value = int(self.character_data())
281 value = float(self.character_data())
287 name = self.character_data()
293 value = self.character_data()
299 value = binascii.a2b_hex(self.character_data())
336 address = self.character_data()