polserver/pol-core/bscript/compiler/ast/TopLevelStatements.h
Eric Swanson 3a8ab09a56
Add Expression, Statement, Value AST base classes, and TopLevelStatements (#229)
* Add ast/ Expression, Statement, Value

* Add ast/TopLevelStatements
2020-08-17 22:53:03 -07:00

22 lines
474 B
C++

#ifndef POLSERVER_TOPLEVELSTATEMENTS_H
#define POLSERVER_TOPLEVELSTATEMENTS_H
#include "compiler/ast/Node.h"
namespace Pol::Bscript::Compiler
{
class NodeVisitor;
class Statement;
class TopLevelStatements : public Node
{
public:
explicit TopLevelStatements( const SourceLocation& );
void accept( NodeVisitor& visitor ) override;
void describe_to( fmt::Writer& ) const override;
};
} // namespace Pol::Bscript::Compiler
#endif // POLSERVER_TOPLEVELSTATEMENTS_H