webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Functions | Variables
makeSelectorPseudoElementsMap Namespace Reference

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)
 

Function Documentation

◆ enumerablePseudoType()

def makeSelectorPseudoElementsMap.enumerablePseudoType (   stringPseudoType)

◆ expand_ifdef_condition()

def makeSelectorPseudoElementsMap.expand_ifdef_condition (   condition)

Variable Documentation

◆ condition

makeSelectorPseudoElementsMap.condition = line[4:].strip()

◆ gperf_command

makeSelectorPseudoElementsMap.gperf_command = sys.argv[2]

◆ gperf_return

makeSelectorPseudoElementsMap.gperf_return = os.system("%s --key-positions=\"*\" -m 10 -s 2 SelectorPseudoElementTypeMap.gperf --output-file=SelectorPseudoElementTypeMap.cpp" % gperf_command)

◆ ignore_until_endif

bool makeSelectorPseudoElementsMap.ignore_until_endif = False

◆ input_file

makeSelectorPseudoElementsMap.input_file = open(sys.argv[1], 'r')

◆ keyword

makeSelectorPseudoElementsMap.keyword = keyword_definition[0].strip()

◆ keyword_definition

makeSelectorPseudoElementsMap.keyword_definition = line.split(',')

◆ line

makeSelectorPseudoElementsMap.line = line.strip()

◆ longest_keyword

makeSelectorPseudoElementsMap.longest_keyword = 0

◆ output_file

makeSelectorPseudoElementsMap.output_file = open('SelectorPseudoElementTypeMap.gperf', 'w')

◆ pseudo_element_enum_value

string makeSelectorPseudoElementsMap.pseudo_element_enum_value = enumerablePseudoType(keyword)

◆ webcore_defines

list makeSelectorPseudoElementsMap.webcore_defines = [i.strip() for i in sys.argv[-1].split(' ')]