summaryrefslogtreecommitdiff
path: root/tiger-compiler/src/ast/var.hh
blob: 286e39295c2bc3e5a8f598c50baf415f14a65c2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/**
 ** \file ast/var.hh
 ** \brief Declaration of ast::Var.
 */

#pragma once

#include <ast/exp.hh>

namespace ast
{
  /// Var.
  class Var : public Exp
  {
  public:
    /** \name Ctor & dtor.
     ** \{ */
    /// Construct a Var node.
    explicit Var(const Location& location);
    Var(const Var&) = delete;
    Var& operator=(const Var&) = delete;
    /// Destroy a Var node.
    /** \} */
  };
} // namespace ast
#include <ast/var.hxx>