src/script/ast.h

Mon, 26 Jan 2015 12:46:58 +0200

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Mon, 26 Jan 2015 12:46:58 +0200
branch
scripting
changeset 922
81887a77baa0
parent 921
e2e9f594de66
child 923
e15a577a0bfe
permissions
-rw-r--r--

- more work on scripting

#pragma once
#include <QVector>
#include <QSharedPointer>

namespace Script
{
	enum AstNodeType
	{

	};

	class AstNode
	{
	public:
		AstNode (QSharedPointer<AstNode> parent);

	private:
		QVector<QSharedPointer<AstNode>> m_children;
		QSharedPointer<AstNode> m_parent;
	};
}

mercurial