summaryrefslogtreecommitdiff
path: root/tiger-compiler/src/ast/ast.hxx
blob: 963aabac3e9df6be732ac7de3f6f6fe780e5b9b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/**
 ** \file ast/ast.hxx
 ** \brief Inline methods of ast::Ast.
 */

#pragma once

#include <ast/ast.hh>

namespace ast
{
  inline const Location& Ast::location_get() const { return location_; }
  inline void Ast::location_set(const Location& location)
  {
    location_ = location;
  }

} // namespace ast