OpenCoverage

YarrSyntaxChecker.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/3rdparty/masm/yarr/YarrSyntaxChecker.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3namespace JSC { namespace Yarr {-
4-
5class SyntaxChecker {-
6public:-
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-
25const 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}}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0