| gen-regexp-special-case.cc |
|
6150 |
- |
| 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-printer.cc |
|
6694 |
- |
| regexp-ast-printer.h |
|
1564 |
- |
| regexp-ast.cc |
|
8670 |
- |
| regexp-ast.h |
|
26326 |
- |
| regexp-bytecode-analysis.cc |
|
16310 |
- |
| regexp-bytecode-analysis.h |
|
3667 |
- |
| regexp-bytecode-generator-inl.h |
|
3096 |
- |
| regexp-bytecode-generator.cc |
|
20665 |
- |
| regexp-bytecode-generator.h |
|
10763 |
- |
| regexp-bytecode-iterator-inl.h |
|
1454 |
- |
| regexp-bytecode-iterator.cc |
|
1902 |
- |
| regexp-bytecode-iterator.h |
|
1332 |
- |
| regexp-bytecode-peephole.cc |
|
47169 |
- |
| regexp-bytecode-peephole.h |
|
1080 |
- |
| regexp-bytecodes-inl.h |
|
14152 |
- |
| regexp-bytecodes.cc |
|
3565 |
- |
| regexp-bytecodes.h |
Clear registers in the range from_register to to_register (inclusive) |
24528 |
- |
| regexp-code-generator.cc |
|
18275 |
- |
| regexp-code-generator.h |
|
2760 |
- |
| regexp-compiler-tonode.cc |
|
86841 |
- |
| regexp-compiler.cc |
|
164148 |
- |
| regexp-compiler.h |
|
26263 |
- |
| regexp-dotprinter.cc |
|
8552 |
- |
| regexp-dotprinter.h |
|
648 |
- |
| regexp-error.cc |
|
598 |
- |
| regexp-error.h |
|
3521 |
- |
| regexp-graph-printer.cc |
|
19380 |
- |
| regexp-graph-printer.h |
|
2694 |
- |
| regexp-interpreter.cc |
|
49407 |
- |
| regexp-interpreter.h |
|
3239 |
- |
| regexp-macro-assembler-arch.h |
|
255 |
- |
| regexp-macro-assembler-tracer.cc |
|
23016 |
- |
| regexp-macro-assembler-tracer.h |
|
6822 |
- |
| regexp-macro-assembler.cc |
|
27032 |
- |
| regexp-macro-assembler.h |
|
20025 |
- |
| regexp-node-printer.cc |
|
7565 |
- |
| regexp-node-printer.h |
|
1347 |
- |
| regexp-nodes.h |
|
31735 |
- |
| regexp-parser.cc |
|
111401 |
- |
| regexp-parser.h |
|
1068 |
- |
| regexp-printer.cc |
|
1234 |
- |
| regexp-printer.h |
|
4705 |
- |
| regexp-stack.cc |
|
6243 |
- |
| regexp-stack.h |
|
7008 |
- |
| regexp.h |
AtomRegExpData |
11402 |
- |
| special-case.cc |
|
2081 |
- |
| special-case.h |
|
4784 |
- |