LCOV - code coverage report
Current view: top level - inc/parsingAnalysis/ast/userTypes - ast_attrAccess.h (source / functions) Coverage Total Hit
Test: coverage.info Lines: 0.0 % 21 0
Test Date: 2025-04-18 15:53:49 Functions: 0.0 % 9 0

            Line data    Source code
       1              : #ifndef AST_ATTR_ACCESS_H
       2              : #define AST_ATTR_ACCESS_H
       3              : 
       4              : #include "../ast.h"
       5              : 
       6              : namespace nicole {
       7              : 
       8              : class AST_ATTR_ACCESS final : public AST {
       9              : private:
      10              :   std::string id_;
      11              : 
      12              : public:
      13              :   explicit AST_ATTR_ACCESS(const long long unsigned nodeId,
      14              :                            const SourceLocation &srcLoc,
      15              :                            const std::string id) noexcept
      16            0 :       : AST{nodeId, AST_TYPE::ATTR_ACCESS, srcLoc}, id_{id} {}
      17              : 
      18            0 :   ~AST_ATTR_ACCESS() noexcept = default;
      19              : 
      20            0 :   [[nodiscard]] const std::string &id() const noexcept { return id_; }
      21              : 
      22              :   [[nodiscard]] std::expected<std::string, Error>
      23            0 :   accept(const PrintTree &visitor) const noexcept override {
      24            0 :     return visitor.visit(this);
      25            0 :   }
      26              : 
      27              :   [[nodiscard]] std::expected<bool, Error>
      28            0 :   accept(const ValidateTree &visitor) const noexcept override {
      29            0 :     return visitor.visit(this);
      30            0 :   }
      31              : 
      32              :   [[nodiscard]] std::expected<std::monostate, Error>
      33            0 :   accept(const FillSemanticInfo &visitor) const noexcept override {
      34            0 :     return visitor.visit(this);
      35            0 :   }
      36              : 
      37              :   [[nodiscard]] std::expected<std::shared_ptr<Type>, Error>
      38            0 :   accept(const TypeAnalysis &visitor) const noexcept override {
      39            0 :     return visitor.visit(this);
      40            0 :   }
      41              : 
      42              :   [[nodiscard]] std::expected<std::monostate, Error>
      43            0 :   accept(const Monomorphize &visitor) const noexcept override {
      44            0 :     return visitor.visit(this);
      45            0 :   }
      46              : 
      47              :   [[nodiscard]] std::expected<std::shared_ptr<llvm::Value>, Error>
      48            0 :   accept(const CodeGeneration &visitor) const noexcept override {
      49            0 :     return visitor.visit(this);
      50            0 :   }
      51              : };
      52              : 
      53              : } // namespace nicole
      54              : 
      55              : #endif // AST_H
        

Generated by: LCOV version 2.0-1