Skip to content

Commit

Permalink
Add ProgramNode.cpp with definitions for ProgramNode member functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
BartVandewoestyne committed Feb 13, 2024
1 parent 97fe64e commit 3abfdf8
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Structural_Patterns/Facade/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
set(facade_SRCS
Compiler.cpp
ExpressionNode.cpp)
ExpressionNode.cpp
ProgramNode.cpp)

add_library(facade SHARED ${facade_SRCS})
target_include_directories(facade PRIVATE ../../Foundation_Classes ../../Behavioral_Patterns/Iterator)
26 changes: 26 additions & 0 deletions Structural_Patterns/Facade/ProgramNode.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#include "ProgramNode.h"

void ProgramNode::GetSourcePosition(int& line, int& index)
{
// TODO
}

void ProgramNode::Add(ProgramNode*)
{
// TODO
}

void ProgramNode::Remove(ProgramNode*)
{
// TODO
}

void ProgramNode::Traverse(CodeGenerator&)
{
// TODO
}

ProgramNode::ProgramNode()
{
// TODO
}

0 comments on commit 3abfdf8

Please sign in to comment.