Sha256: ca7a535840e659b93f29d170dfc4e8b6f21c4f0e265be8ae7d4e6ad3daaddfdd

Contents?: true

Size: 736 Bytes

Versions: 3

Compression:

Stored size: 736 Bytes

Contents

/* Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
 * Use of this file is governed by the BSD 3-clause license that
 * can be found in the LICENSE.txt file in the project root.
 */

#pragma once

#include "XPathElement.h"

namespace antlr4 {
namespace tree {
namespace xpath {

  /// Either {@code ID} at start of path or {@code ...//ID} in middle of path.
  class ANTLR4CPP_PUBLIC XPathRuleAnywhereElement : public XPathElement {
  public:
    XPathRuleAnywhereElement(const std::string &ruleName, int ruleIndex);

    virtual std::vector<ParseTree *> evaluate(ParseTree *t) override;

  protected:
    int _ruleIndex = 0;
  };

} // namespace xpath
} // namespace tree
} // namespace antlr4

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
expressir-0.2.6 ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/xpath/XPathRuleAnywhereElement.h
expressir-0.2.5-x64-mingw32 ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/xpath/XPathRuleAnywhereElement.h
expressir-0.2.4-x64-mingw32 ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/xpath/XPathRuleAnywhereElement.h