1 /* Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
2 * Use of this file is governed by the BSD 3-clause license that
3 * can be found in the LICENSE.txt file in the project root.
7 #include "tree/ParseTree.h"
8 #include "tree/Trees.h"
10 #include "XPathWildcardElement.h"
12 using namespace antlr4::tree;
13 using namespace antlr4::tree::xpath;
15 XPathWildcardElement::XPathWildcardElement() : XPathElement(XPath::WILDCARD) {
18 std::vector<ParseTree *> XPathWildcardElement::evaluate(ParseTree *t) {
20 return {}; // !* is weird but valid (empty)