summaryrefslogtreecommitdiff
path: root/src/astnode.h
blob: a345a568868f6e7d74a9d87d9107e16093b9a5d5 (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
27
28
29
30
31
32
33
#ifndef AST_NODE_H
#define AST_NODE_H

#include <bu/list.h>

class AstNode
{
public:
	AstNode();
	virtual ~AstNode();

	enum Type
	{
		tValue				= 0x01000000,
		tBranch				= 0x02000000,
		tScope				= 0x02000001,
		tIf					= 0x02000002,
		tElse				= 0x02000003,
		tNot				= 0x00000004,
		tComp				= 0x02000005,
		tCompGt				= 0x02000006,
		tCompLt				= 0x02000007,
		tCompGtEq			= 0x02000008,
		tCompLtEq			= 0x02000009,
		tStore				= 0x0200000A,
		tAnd				= 0x0200000B,
		tOr					= 0x0200000C,
	};

private:
};

#endif