summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/AST/ProgramNode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Sencha-lang/AST/ProgramNode.cpp')
-rw-r--r--Sencha-lang/AST/ProgramNode.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/Sencha-lang/AST/ProgramNode.cpp b/Sencha-lang/AST/ProgramNode.cpp
index d22de22..dd08876 100644
--- a/Sencha-lang/AST/ProgramNode.cpp
+++ b/Sencha-lang/AST/ProgramNode.cpp
@@ -43,16 +43,6 @@ SenchaObject ProgramNode::evaluate_last()
return result;
}
-std::string ProgramNode::debug()
-{
- std::string debug_note = "Program started debugging\n";
-
- for (std::vector<ASTNode *>::iterator it = children.begin(); it!=children.end(); ++it) {
- debug_note += (*it)->debug() + "\n";
- }
- debug_note += "END\n";
- return debug_note;
-}
void ProgramNode::add_statement(ASTStatement * statement)
{
children.push_back(statement);