ast.hh
//constructor for a binary operation (two children)
constructor for a binary operation (two children)
constructor for a binary operation ( two children )
AstOperation(AstOperationType initType, AstVisitableNode *left, AstVisitableNode *right)  {
            nodeType = AstNodeType::Operation;
            type = initType;
            addChild(left);
            addChild(right);
        }
AstOperation ( AstOperationType initType , AstVisitableNode * left , AstVisitableNode * right ) { nodeType = AstNodeType :: Operation ; type = initType ; addChild ( left ) ; addChild ( right ) ; }
constructor for a binary operation (two children)
constructor for a binary operation ( two children )