| 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 |
|
6769 |
- |
| regexp-ast-printer.h |
|
1564 |
- |
| regexp-ast.cc |
|
8678 |
- |
| regexp-ast.h |
|
26537 |
- |
| regexp-bytecode-analysis.cc |
|
17376 |
- |
| regexp-bytecode-analysis.h |
|
4587 |
- |
| regexp-bytecode-generator-inl.h |
|
3096 |
- |
| regexp-bytecode-generator.cc |
|
21524 |
- |
| regexp-bytecode-generator.h |
|
10984 |
- |
| regexp-bytecode-iterator-inl.h |
|
1454 |
- |
| regexp-bytecode-iterator.cc |
|
1902 |
- |
| regexp-bytecode-iterator.h |
|
1332 |
- |
| regexp-bytecode-peephole.cc |
|
46736 |
- |
| regexp-bytecode-peephole.h |
|
1080 |
- |
| regexp-bytecodes-inl.h |
|
14222 |
- |
| regexp-bytecodes.cc |
|
3103 |
- |
| regexp-bytecodes.h |
Clear registers in the range from_register to to_register (inclusive) |
25003 |
- |
| regexp-code-generator.cc |
|
18525 |
- |
| regexp-code-generator.h |
|
2760 |
- |
| regexp-compiler-tonode.cc |
|
91380 |
- |
| regexp-compiler.cc |
|
280953 |
- |
| regexp-compiler.h |
|
30282 |
- |
| regexp-dotprinter.cc |
|
8852 |
- |
| regexp-dotprinter.h |
|
648 |
- |
| regexp-error.cc |
|
598 |
- |
| regexp-error.h |
|
3521 |
- |
| regexp-graph-printer.cc |
|
19507 |
- |
| regexp-graph-printer.h |
|
2694 |
- |
| regexp-interpreter.cc |
|
49333 |
- |
| regexp-interpreter.h |
|
3239 |
- |
| regexp-macro-assembler-arch.h |
|
255 |
- |
| regexp-macro-assembler-tracer.cc |
|
22985 |
- |
| regexp-macro-assembler-tracer.h |
|
7133 |
- |
| regexp-macro-assembler.cc |
|
30100 |
- |
| regexp-macro-assembler.h |
|
24147 |
- |
| regexp-node-printer.cc |
|
7745 |
- |
| regexp-node-printer.h |
|
1347 |
- |
| regexp-nodes.h |
|
45879 |
- |
| regexp-parser.cc |
|
127821 |
- |
| regexp-parser.h |
|
1068 |
- |
| regexp-printer.cc |
|
1234 |
- |
| regexp-printer.h |
|
4723 |
- |
| regexp-stack.cc |
|
6243 |
- |
| regexp-stack.h |
|
7026 |
- |
| regexp.h |
|
11811 |
- |
| special-case.cc |
|
2081 |
- |
| special-case.h |
|
4784 |
- |