Sha256: 20897ec87705c4f1fab05bebd8e8165299abe527848b8cd2d21dc4eb4875efa7

Contents?: true

Size: 944 Bytes

Versions: 28

Compression:

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

#pragma once

#include "tree/TerminalNode.h"

namespace antlr4 {
namespace tree {

  class ANTLR4CPP_PUBLIC TerminalNodeImpl : public virtual TerminalNode {
  public:
    Token *symbol;

    TerminalNodeImpl(Token *symbol);

    virtual Token* getSymbol() override;
    virtual void setParent(RuleContext *parent) override;
    virtual misc::Interval getSourceInterval() override;

    virtual antlrcpp::Any accept(ParseTreeVisitor *visitor) override;

    virtual std::string getText() override;
    virtual std::string toStringTree(Parser *parser, bool pretty = false) override;
    virtual std::string toString() override;
    virtual std::string toStringTree(bool pretty = false) override;

  };

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