Home | History | Annotate | Download | only in trace

Lines Matching refs:element_start

38 ELEMENT_START, ELEMENT_END, CHARACTER_DATA, EOF = range(4)
44 assert type in (ELEMENT_START, ELEMENT_END, CHARACTER_DATA, EOF)
52 if self.type == ELEMENT_START:
84 token = XmlToken(ELEMENT_START, name, attributes, line, column)
156 return self.token.type == ELEMENT_START and self.token.name_or_data == name
161 def element_start(self, name):
164 if self.token.type != ELEMENT_START:
165 raise TokenMismatch(XmlToken(ELEMENT_START, name), self.token)
167 raise TokenMismatch(XmlToken(ELEMENT_START, name), self.token)
198 self.element_start('trace')
206 attrs = self.element_start('call')
218 while self.token.type == ELEMENT_START:
234 attrs = self.element_start('arg')
242 attrs = self.element_start('ret')
250 if self.token.type == ELEMENT_START:
257 self.element_start('null')
262 self.element_start('bool')
268 self.element_start('int')
274 self.element_start('uint')
280 self.element_start('float')
286 self.element_start('enum')
292 self.element_start('string')
298 self.element_start('bytes')
304 self.element_start('array')
312 self.element_start('elem')
318 attrs = self.element_start('struct')
327 attrs = self.element_start('member')
335 self.element_start('ptr')