Lines Matching refs:state
28 def __parseC1Line(line, lineNo, state, fileName): argument
37 if state.currentState == C1ParserState.StartingCfgBlock:
43 state.currentState = C1ParserState.InsideCfgBlock
44 return (None, state.lastMethodName + " " + line.split("\"")[1], None)
48 elif state.currentState == C1ParserState.InsideCfgBlock:
50 state.currentState = C1ParserState.OutsideBlock
55 elif state.currentState == C1ParserState.InsideCompilationBlock:
61 state.lastMethodName = methodName
63 state.currentState = C1ParserState.OutsideBlock
67 assert state.currentState == C1ParserState.OutsideBlock
71 if state.lastMethodName is None:
73 state.currentState = C1ParserState.StartingCfgBlock
76 state.currentState = C1ParserState.InsideCompilationBlock
83 state = C1ParserState()
84 fnProcessLine = lambda line, lineNo: __parseC1Line(line, lineNo, state, fileName)