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 12448
regexp-ast.h 25810
regexp-bytecode-generator-inl.h 1728
regexp-bytecode-generator.cc 13208
regexp-bytecode-generator.h 6603
regexp-bytecode-peephole.cc 41297
regexp-bytecode-peephole.h 1046
regexp-bytecodes-inl.h 9603
regexp-bytecodes.cc 1331
regexp-bytecodes.h TODO(pthier): padding is only required for backwards \ compatibility with the old layout. It can be removed after everything is \ using the new layout. 35213
regexp-compiler-tonode.cc 80803
regexp-compiler.cc 163578
regexp-compiler.h 24556
regexp-dotprinter.cc 8353
regexp-dotprinter.h 542
regexp-error.cc 586
regexp-error.h 3418
regexp-interpreter.cc 44042
regexp-interpreter.h 3196
regexp-macro-assembler-arch.h 370
regexp-macro-assembler-tracer.cc 15658
regexp-macro-assembler-tracer.h 4897
regexp-macro-assembler.cc 20740
regexp-macro-assembler.h 16700
regexp-nodes.h 34020
regexp-parser.cc 112157
regexp-parser.h 1101
regexp-stack.cc 6365
regexp-stack.h 7094
regexp.h AtomRegExpData 11342
special-case.cc 2051
special-case.h 4748