Fix PatternVisitor compilation in toolchain-v5 (#1803)
This commit is contained in:
parent
2a5388cea9
commit
1c71d605ff
@ -660,6 +660,10 @@ void PatternVisitor::Visit(Exists &op) {
|
|||||||
|
|
||||||
std::vector<FilterMatching> PatternVisitor::getFilterMatchings() { return filter_matchings_; }
|
std::vector<FilterMatching> PatternVisitor::getFilterMatchings() { return filter_matchings_; }
|
||||||
|
|
||||||
|
std::vector<PatternComprehensionMatching> PatternVisitor::getPatternComprehensionMatchings() {
|
||||||
|
return pattern_comprehension_matchings_;
|
||||||
|
}
|
||||||
|
|
||||||
static void ParseForeach(query::Foreach &foreach, SingleQueryPart &query_part, AstStorage &storage,
|
static void ParseForeach(query::Foreach &foreach, SingleQueryPart &query_part, AstStorage &storage,
|
||||||
SymbolTable &symbol_table) {
|
SymbolTable &symbol_table) {
|
||||||
for (auto *clause : foreach.clauses_) {
|
for (auto *clause : foreach.clauses_) {
|
||||||
|
@ -239,9 +239,7 @@ class PatternVisitor : public ExpressionVisitor<void> {
|
|||||||
void Visit(PatternComprehension &op) override;
|
void Visit(PatternComprehension &op) override;
|
||||||
|
|
||||||
std::vector<FilterMatching> getFilterMatchings();
|
std::vector<FilterMatching> getFilterMatchings();
|
||||||
std::vector<PatternComprehensionMatching> getPatternComprehensionMatchings() {
|
std::vector<PatternComprehensionMatching> getPatternComprehensionMatchings();
|
||||||
return pattern_comprehension_matchings_;
|
|
||||||
}
|
|
||||||
|
|
||||||
SymbolTable &symbol_table_;
|
SymbolTable &symbol_table_;
|
||||||
AstStorage &storage_;
|
AstStorage &storage_;
|
||||||
|
Loading…
Reference in New Issue
Block a user