Lines Matching refs:ELEMENT_END
37 ELEMENT_START, ELEMENT_END, CHARACTER_DATA, EOF = range(4) variable
43 assert type in (ELEMENT_START, ELEMENT_END, CHARACTER_DATA, EOF)
53 if self.type == ELEMENT_END:
89 token = XmlToken(ELEMENT_END, name, None, line, column)
158 return self.token.type == ELEMENT_END and self.token.name_or_data == name
174 if self.token.type != ELEMENT_END:
175 raise TokenMismatch(XmlToken(ELEMENT_END, name), self.token)
177 raise TokenMismatch(XmlToken(ELEMENT_END, name), self.token)
198 while self.token.type not in (ELEMENT_END, EOF):
314 while self.token.type != ELEMENT_END:
329 while self.token.type != ELEMENT_END: