Sha256: 4fe83fabaf35a012c52af6f011b6d5b8787dea198a6a50f1c4ea7cd8c2f760b8

Contents?: true

Size: 1.19 KB

Versions: 28

Compression:

Stored size: 1.19 KB

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.
 */

#pragma once

#include "antlr4-common.h"

namespace antlr4 {
namespace atn {

  class ANTLR4CPP_PUBLIC ATNDeserializationOptions {
  private:
    static ATNDeserializationOptions defaultOptions;

    bool readOnly;
    bool verifyATN;
    bool generateRuleBypassTransitions;

  public:
    ATNDeserializationOptions();
    ATNDeserializationOptions(ATNDeserializationOptions *options);
    ATNDeserializationOptions(ATNDeserializationOptions const&) = default;
    virtual ~ATNDeserializationOptions();
    ATNDeserializationOptions& operator=(ATNDeserializationOptions const&) = default;

    static const ATNDeserializationOptions& getDefaultOptions();

    bool isReadOnly();

    void makeReadOnly();

    bool isVerifyATN();

    void setVerifyATN(bool verify);

    bool isGenerateRuleBypassTransitions();

    void setGenerateRuleBypassTransitions(bool generate);

  protected:
    virtual void throwIfReadOnly();

  private:
    void InitializeInstanceFields();
  };

} // namespace atn
} // namespace antlr4

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/atn/ATNDeserializationOptions.h
expressir-0.2.9 ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ATNDeserializationOptions.h
expressir-0.2.8 ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ATNDeserializationOptions.h
expressir-0.2.7 ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ATNDeserializationOptions.h
expressir-0.2.5-x86_64-linux ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ATNDeserializationOptions.h
expressir-0.2.5-x86_64-darwin-19 ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ATNDeserializationOptions.h
expressir-0.2.5 ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ATNDeserializationOptions.h
python3-parser-1.0.0 ext/python3-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ATNDeserializationOptions.h