summaryrefslogtreecommitdiff
path: root/tiger-compiler/src/ast/dec.cc
blob: b19ed0bd3e7263fdccfaeaff255af04cccccbc7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/**
 ** \file ast/dec.cc
 ** \brief Implementation of ast::Dec.
 */

#include <ast/dec.hh>
#include <ast/visitor.hh>

namespace ast
{
  Dec::Dec(const Location& location, misc::symbol name)
    : Ast(location)
    , Typable()
    , name_(name)
  {}

} // namespace ast