ready to build AST
This commit is contained in:
3
src/ast/CMakeLists.txt
Normal file
3
src/ast/CMakeLists.txt
Normal file
@ -0,0 +1,3 @@
|
||||
include_directories(${CMAKE_SOURCE_DIR}/include/ast)
|
||||
file(GLOB AST_SOURCES "*.cpp")
|
||||
add_library(ast STATIC ${AST_SOURCES})
|
2
src/ast/astnode.cpp
Normal file
2
src/ast/astnode.cpp
Normal file
@ -0,0 +1,2 @@
|
||||
#include "astnode.h"
|
||||
#include "astnode_visitor.h"
|
0
src/ast/astnode_visitor.cpp
Normal file
0
src/ast/astnode_visitor.cpp
Normal file
1
src/ast/expr_astnode.cpp
Normal file
1
src/ast/expr_astnode.cpp
Normal file
@ -0,0 +1 @@
|
||||
#include "expr_astnode.h"
|
1
src/ast/statement_astnode.cpp
Normal file
1
src/ast/statement_astnode.cpp
Normal file
@ -0,0 +1 @@
|
||||
#include "statement_astnode.h"
|
1
src/ast/structural_astnode.cpp
Normal file
1
src/ast/structural_astnode.cpp
Normal file
@ -0,0 +1 @@
|
||||
#include "structural_astnode.h"
|
Reference in New Issue
Block a user