tan
0.0.1
Main Page
Related Pages
Classes
Files
File List
ast_named.h
1
#ifndef __TAN_SRC_AST_AST_NAMED_H__
2
#define __TAN_SRC_AST_AST_NAMED_H__
3
#include "base.h"
4
5
namespace
tanlang {
6
7
/**
8
* \brief All named AST nodes should inherit this class
9
*/
10
class
ASTNamed
{
11
public
:
12
str get_name()
const
;
13
void
set_name(
const
str &name);
14
15
private
:
16
str _name;
17
};
18
19
}
// namespace tanlang
20
21
#endif
//__TAN_SRC_AST_AST_NAMED_H__
tanlang::ASTNamed
All named AST nodes should inherit this class.
Definition:
ast_named.h:10
include
ast
ast_named.h
Generated by
1.9.1