summaryrefslogtreecommitdiff
path: root/deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/atn/DecisionState.cpp
blob: 924f814a9cd5f9430e2ccbeaaec56af8955c10b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* 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.
 */

#include "atn/DecisionState.h"

using namespace antlr4::atn;

void DecisionState::InitializeInstanceFields() {
  decision = -1;
  nonGreedy = false;
}

std::string DecisionState::toString() const {
  return "DECISION " + ATNState::toString();
}