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

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)
 

Function Documentation

◆ enumerablePseudoType()

def makeSelectorPseudoClassAndCompatibilityElementMap.enumerablePseudoType (   stringPseudoType)

◆ expand_ifdef_condition()

def makeSelectorPseudoClassAndCompatibilityElementMap.expand_ifdef_condition (   condition)

Variable Documentation

◆ condition

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

◆ gperf_command

makeSelectorPseudoClassAndCompatibilityElementMap.gperf_command = sys.argv[2]

◆ gperf_return

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

◆ ignore_until_endif

bool makeSelectorPseudoClassAndCompatibilityElementMap.ignore_until_endif = False

◆ input_file

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

◆ keyword

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

◆ keyword_definition

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

◆ line

makeSelectorPseudoClassAndCompatibilityElementMap.line = line.strip()

◆ longest_keyword

makeSelectorPseudoClassAndCompatibilityElementMap.longest_keyword = 0

◆ output_file

makeSelectorPseudoClassAndCompatibilityElementMap.output_file = open('SelectorPseudoClassAndCompatibilityElementMap.gperf', 'w')

◆ webcore_defines

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