HomeSort by relevance Sort by last modified time
    Searched refs:SwitchLineProcessor (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/third_party/WebKit/Source/build/scripts/
make_token_matcher_unittest.py 33 from make_token_matcher import BadInput, CaseLineProcessor, MainLineProcessor, Optimizer, process_file, SwitchCase, SwitchLineProcessor
49 switchLineProcessor = processor.process_line('SWITCH(array, length) {')
50 self.assertIsInstance(switchLineProcessor, SwitchLineProcessor)
51 self.assertEquals('array', switchLineProcessor.array_variable)
52 self.assertEquals('length', switchLineProcessor.length_variable)
57 processor = SwitchLineProcessor(None, None, None, None)
63 processor = SwitchLineProcessor(None, None, None, None)
70 processor = SwitchLineProcessor(None, None, None, None)
make_token_matcher.py 156 return SwitchLineProcessor(self, self.output_file, array_variable, length_variable)
162 class SwitchLineProcessor(LineProcessor):
176 match_case = SwitchLineProcessor.CASE_PATTERN.match(line)
177 match_close_brace = SwitchLineProcessor.CLOSE_BRACE_PATTERN.match(line)
178 match_empty = SwitchLineProcessor.EMPTY_PATTERN.match(line)

Completed in 60 milliseconds