blob: 1cf66d4ab0d1cd87aaafb022f5c256d552b82b20 [file] [log] [blame]
swissChilic71acc62021-12-07 08:03:37 -08001#pragma once
2
3#include "Token.h"
4
5class AstNode : public TokenBase<AstNode>
6{
7public:
8 using TokenBase::TokenBase;
9
swissChili918557c2022-02-20 20:16:34 -080010 AstNode(QString function, QList<AstNode> args);
swissChilic71acc62021-12-07 08:03:37 -080011
12 enum
13 {
14 FUNC = TOKEN_TYPE_LAST
15 };
16
17 QList<AstNode> funcArgs();
18
19 bool isFunc() const;
20
21 operator QString() const;
22};