Loading...
Searching...
No Matches
autopod.hpp
Go to the documentation of this file.
1
2#pragma once
3
7#include "core/ast/scope.hpp"
8#include "core/ast/pod.hpp"
9
10namespace by {
11
12 class visitor;
13
96 class _nout autopod: public pod, public podMakable {
97 BY(CLASS(autopod, pod), VISIT())
98
99 public:
100 autopod(const manifest& manifest, const podLoadings& loadingsInHeap);
101 ~autopod() override;
102
103 public:
104 using super::subs;
105 scope& subs() override;
106
107 state getState() const override;
108 void setState(state new1) override;
109 nbool isValid() const override;
110
111 void rel() override;
112
113 protected:
114 void _invalidate() override;
115
116 private:
117 nbool parse(errReport& rpt, pod& pak) override;
118 nbool expand(errReport& rpt, pod& pak) override;
119 nbool verify(errReport& rpt, pod& pak) override;
120 nbool link();
121 void _rel();
122
123 private:
124 podLoadings _loadings;
125 state _state;
126 };
127} // namespace by
Automatic pod loading pod.
Definition autopod.hpp:96
void rel() override
void _invalidate() override
Protected virtual method to invalidate the pod.
Error report collector.
Definition errReport.hpp:24
Pod.
Definition pod.hpp:21
Interface for pod creation and verification.
Definition podMakable.hpp:22
pod manifest information
Definition manifest.hpp:32
to Top