|
webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Functions | |
| def | enumerablePseudoType (stringPseudoType) |
| def | expand_ifdef_condition (condition) |
Variables | |
| output_file = open('SelectorPseudoClassAndCompatibilityElementMap.gperf', 'w') | |
| list | webcore_defines = [i.strip() for i in sys.argv[-1].split(' ')] |
| int | longest_keyword = 0 |
| bool | ignore_until_endif = False |
| input_file = open(sys.argv[1], 'r') | |
| line = line.strip() | |
| condition = line[4:].strip() | |
| keyword_definition = line.split(',') | |
| keyword = keyword_definition[0].strip() | |
| gperf_command = sys.argv[2] | |
| gperf_return = os.system("%s --key-positions=\"*\" -m 10 -s 2 SelectorPseudoClassAndCompatibilityElementMap.gperf --output-file=SelectorPseudoClassAndCompatibilityElementMap.cpp" % gperf_command) | |
| def makeSelectorPseudoClassAndCompatibilityElementMap.enumerablePseudoType | ( | stringPseudoType | ) |
| def makeSelectorPseudoClassAndCompatibilityElementMap.expand_ifdef_condition | ( | condition | ) |
| makeSelectorPseudoClassAndCompatibilityElementMap.condition = line[4:].strip() |
| makeSelectorPseudoClassAndCompatibilityElementMap.gperf_command = sys.argv[2] |
| makeSelectorPseudoClassAndCompatibilityElementMap.gperf_return = os.system("%s --key-positions=\"*\" -m 10 -s 2 SelectorPseudoClassAndCompatibilityElementMap.gperf --output-file=SelectorPseudoClassAndCompatibilityElementMap.cpp" % gperf_command) |
| bool makeSelectorPseudoClassAndCompatibilityElementMap.ignore_until_endif = False |
| makeSelectorPseudoClassAndCompatibilityElementMap.keyword = keyword_definition[0].strip() |
| makeSelectorPseudoClassAndCompatibilityElementMap.keyword_definition = line.split(',') |
| makeSelectorPseudoClassAndCompatibilityElementMap.line = line.strip() |
| makeSelectorPseudoClassAndCompatibilityElementMap.longest_keyword = 0 |
| makeSelectorPseudoClassAndCompatibilityElementMap.output_file = open('SelectorPseudoClassAndCompatibilityElementMap.gperf', 'w') |
1.8.13