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"
13 /// TODO: make all transitions sets? no, should remove set edges.
14 class ANTLR4CPP_PUBLIC AtomTransition final : public Transition {
16 /// The token type or character value; or, signifies special label.
19 AtomTransition(ATNState *target, size_t label);
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;