Name Description Size
gen-regexp-special-case.cc 6062
property-sequences.cc Generated from following Node.js source: package.json ``` { "private": true, "dependencies": { "unicode-12.0.0": "^0.7.9" } } ``` generate-unicode-sequence-property-data.js ``` const toHex = (symbol) => { return '0x' + symbol.codePointAt(0).toString(16) .toUpperCase().padStart(6, '0'); }; const generateData = (property) => { const sequences = require(`unicode-12.0.0/Sequence_Property/${ property }/index.js`); const id = property.replace(/_/g, '') + 's'; const buffer = []; for (const sequence of sequences) { const symbols = [...sequence]; const codePoints = symbols.map(symbol => toHex(symbol)); buffer.push(' ' + codePoints.join(', ') + ', 0,'); } const output = `const base::uc32 UnicodePropertySequences::k${ id }[] = {\n` + `${ buffer.join('\n') }\n 0 // null-terminating the list\n};\n`; return output; }; const properties = [ 'Emoji_Flag_Sequence', 'Emoji_Tag_Sequence', 'Emoji_ZWJ_Sequence', ]; for (const property of properties) { console.log(generateData(property)); } ``` 58042
property-sequences.h 670
regexp-ast.cc 12211
regexp-ast.h 25551
regexp-bytecode-generator-inl.h 1666
regexp-bytecode-generator.cc 12681
regexp-bytecode-generator.h 6289
regexp-bytecode-peephole.cc 41252
regexp-bytecode-peephole.h 1020
regexp-bytecodes.cc 1331
regexp-bytecodes.h bc8 17512
regexp-compiler-tonode.cc 79155
regexp-compiler.cc 156027
regexp-compiler.h 23230
regexp-dotprinter.cc 7932
regexp-dotprinter.h 542
regexp-error.cc 586
regexp-error.h 3494
regexp-interpreter.cc 41640
regexp-interpreter.h 2903
regexp-macro-assembler-arch.h 370
regexp-macro-assembler-tracer.cc 14335
regexp-macro-assembler-tracer.h 4500
regexp-macro-assembler.cc 20843
regexp-macro-assembler.h 16153
regexp-nodes.h 32055
regexp-parser.cc 110808
regexp-parser.h 1055
regexp-stack.cc 3358
regexp-stack.h 5650
regexp.h 9387
special-case.cc 2051
special-case.h 4748