Home
last modified time | relevance | path

Searched refs:RegexNode (Results 1 – 16 of 16) sorted by relevance

/third_party/flutter/skia/src/sksl/lex/
DRegexParser.cpp12 RegexNode RegexParser::parse(std::string source) { in parse()
37 RegexNode RegexParser::pop() { in pop()
38 RegexNode result = fStack.top(); in pop()
55 case '*': fStack.push(RegexNode(RegexNode::kStar_Kind, this->pop())); ++fIndex; break; in quantifiedTerm()
56 case '+': fStack.push(RegexNode(RegexNode::kPlus_Kind, this->pop())); ++fIndex; break; in quantifiedTerm()
57 case '?': fStack.push(RegexNode(RegexNode::kQuestion_Kind, this->pop())); ++fIndex; break; in quantifiedTerm()
71 RegexNode right = this->pop(); in sequence()
72 RegexNode left = this->pop(); in sequence()
73 fStack.emplace(RegexNode::kConcat_Kind, std::move(left), std::move(right)); in sequence()
78 RegexNode RegexParser::escapeSequence(char c) { in escapeSequence()
[all …]
DRegexNode.h19 struct RegexNode { struct
32 RegexNode(Kind kind) in RegexNode() argument
35 RegexNode(Kind kind, char payload) in RegexNode() function
40 RegexNode(Kind kind, const char* children) in RegexNode() function
49 RegexNode(Kind kind, RegexNode child) in RegexNode() function
54 RegexNode(Kind kind, RegexNode child1, RegexNode child2) in RegexNode() function
75 std::vector<RegexNode> fChildren; argument
DRegexParser.h23 RegexNode parse(std::string source);
32 RegexNode pop();
53 RegexNode escapeSequence(char c);
86 std::stack<RegexNode> fStack;
DMain.cpp191 RegexNode node = RegexNode(RegexNode::kChar_Kind, pattern[1]); in process()
193 node = RegexNode(RegexNode::kConcat_Kind, node, in process()
194 RegexNode(RegexNode::kChar_Kind, pattern[i])); in process()
DRegexNode.cpp12 std::vector<int> RegexNode::createStates(NFA* nfa, const std::vector<int>& accept) const { in createStates()
20 for (const RegexNode& child : fChildren) { in createStates()
85 std::string RegexNode::description() const { in description()
94 for (const RegexNode& c : fChildren) { in description()
DNFA.h23 int addRegex(const RegexNode& regex) { in addRegex()
/third_party/skia/src/sksl/lex/
DRegexParser.cpp12 RegexNode RegexParser::parse(std::string source) { in parse()
37 RegexNode RegexParser::pop() { in pop()
38 RegexNode result = fStack.top(); in pop()
55 case '*': fStack.push(RegexNode(RegexNode::kStar_Kind, this->pop())); ++fIndex; break; in quantifiedTerm()
56 case '+': fStack.push(RegexNode(RegexNode::kPlus_Kind, this->pop())); ++fIndex; break; in quantifiedTerm()
57 case '?': fStack.push(RegexNode(RegexNode::kQuestion_Kind, this->pop())); ++fIndex; break; in quantifiedTerm()
71 RegexNode right = this->pop(); in sequence()
72 RegexNode left = this->pop(); in sequence()
73 fStack.emplace(RegexNode::kConcat_Kind, std::move(left), std::move(right)); in sequence()
79 RegexNode RegexParser::escapeSequence(char c) { in escapeSequence()
[all …]
DRegexNode.h19 struct RegexNode { struct
32 RegexNode(Kind kind) in RegexNode() argument
35 RegexNode(Kind kind, char payload) in RegexNode() function
40 RegexNode(Kind kind, const char* children) in RegexNode() argument
49 RegexNode(Kind kind, RegexNode child) in RegexNode() function
54 RegexNode(Kind kind, RegexNode child1, RegexNode child2) in RegexNode() function
75 std::vector<RegexNode> fChildren; argument
DRegexParser.h23 RegexNode parse(std::string source);
32 RegexNode pop();
53 RegexNode escapeSequence(char c);
86 std::stack<RegexNode> fStack;
DMain.cpp208 RegexNode node = RegexNode(RegexNode::kChar_Kind, pattern[1]); in process()
210 node = RegexNode(RegexNode::kConcat_Kind, node, in process()
211 RegexNode(RegexNode::kChar_Kind, pattern[i])); in process()
DRegexNode.cpp12 std::vector<int> RegexNode::createStates(NFA* nfa, const std::vector<int>& accept) const { in createStates()
20 for (const RegexNode& child : fChildren) { in createStates()
86 std::string RegexNode::description() const { in description()
95 for (const RegexNode& c : fChildren) { in description()
DNFA.h23 int addRegex(const RegexNode& regex) { in addRegex()
/third_party/skia/src/sksl/
DBUILD.bazel190 "lex/RegexNode.cpp",
191 "lex/RegexNode.h",
/third_party/skia/
DBUILD.gn616 "src/sksl/lex/RegexNode.cpp",
617 "src/sksl/lex/RegexNode.h",
/third_party/flutter/skia/
DBUILD.gn460 "src/sksl/lex/RegexNode.cpp",
/third_party/flutter/engine/flutter/ci/licenses_golden/
Dlicenses_skia3543 FILE: ../../../third_party/skia/src/sksl/lex/RegexNode.cpp
3544 FILE: ../../../third_party/skia/src/sksl/lex/RegexNode.h