webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Functions | |
def | valueTreeToString (fout, value, path='.') |
def | parseAndSaveValueTree (input, actual_path) |
def | rewriteValueTree (value, rewrite_path) |
Variables | |
input_path = sys.argv[1] | |
base_path = os.path.splitext(input_path)[0] | |
string | actual_path = base_path + '.actual' |
string | rewrite_path = base_path + '.rewrite' |
string | rewrite_actual_path = base_path + '.actual-rewrite' |
input = file( input_path, 'rt' ).read() | |
def | root = parseAndSaveValueTree( input, actual_path ) |
def | rewrite = rewriteValueTree( json.write( root ), rewrite_path ) |
def | rewrite_root = parseAndSaveValueTree( rewrite, rewrite_actual_path ) |
def pyjsontestrunner.parseAndSaveValueTree | ( | input, | |
actual_path | |||
) |
def pyjsontestrunner.rewriteValueTree | ( | value, | |
rewrite_path | |||
) |
def pyjsontestrunner.valueTreeToString | ( | fout, | |
value, | |||
path = '.' |
|||
) |
pyjsontestrunner.base_path = os.path.splitext(input_path)[0] |
pyjsontestrunner.input = file( input_path, 'rt' ).read() |
pyjsontestrunner.input_path = sys.argv[1] |
def pyjsontestrunner.rewrite = rewriteValueTree( json.write( root ), rewrite_path ) |
def pyjsontestrunner.rewrite_root = parseAndSaveValueTree( rewrite, rewrite_actual_path ) |
def pyjsontestrunner.root = parseAndSaveValueTree( input, actual_path ) |