]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/d/dmd/ast_node.h
d: Merge upstream dmd 7132b3537
[thirdparty/gcc.git] / gcc / d / dmd / ast_node.h
CommitLineData
98866120
IB
1
2/* Compiler implementation of the D programming language
a3b38b77 3 * Copyright (C) 1999-2021 by The D Language Foundation, All Rights Reserved
98866120
IB
4 * written by Walter Bright
5 * http://www.digitalmars.com
6 * Distributed under the Boost Software License, Version 1.0.
7 * http://www.boost.org/LICENSE_1_0.txt
8 * https://github.com/dlang/dmd/blob/master/src/dmd/ast_node.h
9 */
10
11#pragma once
12
13#include "root/object.h"
14
15class Visitor;
16
17class ASTNode : public RootObject
18{
19 virtual void accept(Visitor*) = 0;
20};