summaryrefslogtreecommitdiff
path: root/deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/misc/Predicate.h
blob: b577a61cfa6944ae46654d568ed3e1421e246fdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* 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 "antlr4-common.h"

namespace antlr4 {
namespace misc {

class ANTLR4CPP_PUBLIC Predicate {
 public:
  virtual ~Predicate();

  virtual bool test(tree::ParseTree* t) = 0;
};

}  // namespace misc
}  // namespace antlr4