Line | Source | Count |
1 | | - |
2 | | - |
3 | namespace JSC { namespace Yarr { | - |
4 | | - |
5 | class SyntaxChecker { | - |
6 | public: | - |
7 | void assertionBOL() {} | - |
8 | void assertionEOL() {} | - |
9 | void assertionWordBoundary(bool) {} | - |
10 | void atomPatternCharacter(UChar) {} | - |
11 | void atomBuiltInCharacterClass(BuiltInCharacterClassID, bool) {} | - |
12 | void atomCharacterClassBegin(bool = false) {} | - |
13 | void atomCharacterClassAtom(UChar) {} | - |
14 | void atomCharacterClassRange(UChar, UChar) {} | - |
15 | void atomCharacterClassBuiltIn(BuiltInCharacterClassID, bool) {} | - |
16 | void atomCharacterClassEnd() {} | - |
17 | void atomParenthesesSubpatternBegin(bool = true) {} | - |
18 | void atomParentheticalAssertionBegin(bool = false) {} | - |
19 | void atomParenthesesEnd() {} | - |
20 | void atomBackReference(unsigned) {} | - |
21 | void quantifyAtom(unsigned, unsigned, bool) {} | - |
22 | void disjunction() {} | - |
23 | }; | - |
24 | | - |
25 | const char* checkSyntax(const String& pattern) | - |
26 | { | - |
27 | SyntaxChecker syntaxChecker; | - |
28 | return never executed: return parse(syntaxChecker, pattern); parse(syntaxChecker, pattern);never executed: return parse(syntaxChecker, pattern); | 0 |
29 | } | - |
30 | | - |
31 | }} | - |
| | |