Lines Matching refs:SrcLexer
98 class SrcLexer(object): class
182 if item != SrcLexer.VISIBLE:
307 self.visibilityStack.append(SrcLexer.VISIBLE)
309 self.visibilityStack.append(SrcLexer.INVISIBLE_PRE)
314 self.visibilityStack.append(SrcLexer.INVISIBLE_PRE)
316 self.visibilityStack.append(SrcLexer.VISIBLE)
320 self.visibilityStack.append(SrcLexer.VISIBLE)
322 self.visibilityStack.append(SrcLexer.INVISIBLE_PRE)
328 if self.visibilityStack[-1] == SrcLexer.VISIBLE:
329 self.visibilityStack[-1] = SrcLexer.INVISIBLE_POST
330 elif self.visibilityStack[-1] == SrcLexer.INVISIBLE_PRE:
333 self.visibilityStack[-1] = SrcLexer.VISIBLE
339 if self.visibilityStack[-1] == SrcLexer.VISIBLE:
340 self.visibilityStack[-1] = SrcLexer.INVISIBLE_POST
341 if self.visibilityStack[-1] == SrcLexer.INVISIBLE_PRE:
342 self.visibilityStack[-1] = SrcLexer.VISIBLE
410 if headerPath in SrcLexer.headerCache:
413 for key in list(SrcLexer.headerCache[headerPath].defines.keys()):
414 self.defines[key] = SrcLexer.headerCache[headerPath].defines[key]
418 mclexer = SrcLexer(chars, headerPath)
430 SrcLexer.headerCache[headerPath] = hdrData