diff options
Diffstat (limited to 'Sencha-lang/AST/IfNode.cpp')
-rw-r--r-- | Sencha-lang/AST/IfNode.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Sencha-lang/AST/IfNode.cpp b/Sencha-lang/AST/IfNode.cpp index ba80f3d..bf84f7d 100644 --- a/Sencha-lang/AST/IfNode.cpp +++ b/Sencha-lang/AST/IfNode.cpp @@ -14,16 +14,6 @@ IfNode::IfNode(ASTNode * parent) { this->type = "IfNode"; } -std::string IfNode::debug() -{ - std::string debug_note; - debug_note = "If node, condition is: " + to_string(evaluate_condition()); - if(evaluate_condition()) - debug_note += "Doing first branch"; - else - debug_note += "Doing second branch"; - return debug_note; -} bool IfNode::evaluate_condition() { |