Sha256: 591b08cd9cfc5609ddbf9e29f34f5c6c3e3d8a60f2822fbe3f53a1d79d2a82a8

Contents?: true

Size: 566 Bytes

Versions: 28

Compression:

Stored size: 566 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.
 */

#include "Vocabulary.h"

#include "dfa/LexerDFASerializer.h"

using namespace antlr4::dfa;

LexerDFASerializer::LexerDFASerializer(DFA *dfa) : DFASerializer(dfa, Vocabulary::EMPTY_VOCABULARY) {
}

LexerDFASerializer::~LexerDFASerializer() {
}

std::string LexerDFASerializer::getEdgeLabel(size_t i) const {
  return std::string("'") + static_cast<char>(i) + "'";
}

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
expressir-0.2.10 ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/dfa/LexerDFASerializer.cpp
expressir-0.2.9 ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/dfa/LexerDFASerializer.cpp
expressir-0.2.8 ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/dfa/LexerDFASerializer.cpp
expressir-0.2.7 ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/dfa/LexerDFASerializer.cpp
expressir-0.2.5-x86_64-linux ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/dfa/LexerDFASerializer.cpp
expressir-0.2.5-x86_64-darwin-19 ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/dfa/LexerDFASerializer.cpp
expressir-0.2.5 ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/dfa/LexerDFASerializer.cpp
python3-parser-1.0.0 ext/python3-parser/antlr4-upstream/runtime/Cpp/runtime/src/dfa/LexerDFASerializer.cpp