webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Functions | |
def | enumerablePseudoType (stringPseudoType) |
def | expand_ifdef_condition (condition) |
Variables | |
output_file = open('SelectorPseudoElementTypeMap.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() | |
def | pseudo_element_enum_value = enumerablePseudoType(keyword) |
gperf_command = sys.argv[2] | |
gperf_return = os.system("%s --key-positions=\"*\" -m 10 -s 2 SelectorPseudoElementTypeMap.gperf --output-file=SelectorPseudoElementTypeMap.cpp" % gperf_command) | |
def makeSelectorPseudoElementsMap.enumerablePseudoType | ( | stringPseudoType | ) |
def makeSelectorPseudoElementsMap.expand_ifdef_condition | ( | condition | ) |
makeSelectorPseudoElementsMap.condition = line[4:].strip() |
makeSelectorPseudoElementsMap.gperf_command = sys.argv[2] |
makeSelectorPseudoElementsMap.gperf_return = os.system("%s --key-positions=\"*\" -m 10 -s 2 SelectorPseudoElementTypeMap.gperf --output-file=SelectorPseudoElementTypeMap.cpp" % gperf_command) |
bool makeSelectorPseudoElementsMap.ignore_until_endif = False |
makeSelectorPseudoElementsMap.keyword = keyword_definition[0].strip() |
makeSelectorPseudoElementsMap.keyword_definition = line.split(',') |
makeSelectorPseudoElementsMap.line = line.strip() |
makeSelectorPseudoElementsMap.longest_keyword = 0 |
string makeSelectorPseudoElementsMap.pseudo_element_enum_value = enumerablePseudoType(keyword) |