ast.hh
//constructor for a operation with only one child
constructor for a operation with only one child
constructor for a operation with only one child
AstOperation(AstOperationType initType, AstVisitableNode *left)  {
            nodeType = AstNodeType::Operation;
            type = initType;
            addChild(left);
        }
AstOperation ( AstOperationType initType , AstVisitableNode * left ) { nodeType = AstNodeType :: Operation ; type = initType ; addChild ( left ) ; }
constructor for a operation with only one child
constructor for a operation with only one child