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.
8 #include "atn/Transition.h"
14 /// A transition containing a set of values. </summary>
15 class ANTLR4CPP_PUBLIC SetTransition : public Transition {
17 const misc::IntervalSet set;
19 SetTransition(ATNState *target, const misc::IntervalSet &set);
21 virtual SerializationType getSerializationType() const override;
23 virtual misc::IntervalSet label() const override;
24 virtual bool matches(size_t symbol, size_t minVocabSymbol, size_t maxVocabSymbol) const override;
26 virtual std::string toString() const override;