![]() |
ArkScript
A small, lisp-inspired, functional scripting language
|
Block of IR entities, with attached metadata. More...
#include <Entity.hpp>
Classes | |
| struct | Metadata |
Public Types | |
| using | vec_t = std::vector<Entity> |
Public Member Functions | |
| std::string | debugName () const |
| std::string | metadataRepr () const |
| std::size_t | instructionCount () const |
Static Public Member Functions | |
| static Block | InitWithMetadata (const Block &source) |
| Create a new empty IR::Block with the same metadata as the source block. | |
Public Attributes | |
| struct Ark::internal::IR::Block::Metadata | metadata |
| vec_t | data |
Block of IR entities, with attached metadata.
Definition at line 240 of file Entity.hpp.
| using Ark::internal::IR::Block::vec_t = std::vector<Entity> |
Definition at line 242 of file Entity.hpp.
|
inlinenodiscard |
Definition at line 270 of file Entity.hpp.
References Ark::internal::IR::AnonymousBlockName, metadata, and Ark::internal::IR::Block::Metadata::name.
Referenced by Ark::internal::IRInliner::inlineBlock().
Create a new empty IR::Block with the same metadata as the source block.
| source | source block |
Definition at line 262 of file Entity.hpp.
References metadata.
Referenced by Ark::internal::IRInliner::process(), and Ark::internal::IROptimizer::process().
|
inlinenodiscard |
Definition at line 292 of file Entity.hpp.
References data, and Ark::internal::IR::Label.
Referenced by Ark::internal::IRCompiler::compile().
|
inlinenodiscard |
Definition at line 275 of file Entity.hpp.
References Ark::internal::IR::Block::Metadata::is_closure, Ark::internal::IR::Block::Metadata::is_mutating_args, Ark::internal::IR::Block::Metadata::is_recursive, Ark::internal::IR::Block::Metadata::is_simple, and metadata.
Referenced by Ark::internal::IRInliner::inlineBlock().
| vec_t Ark::internal::IR::Block::data |
Definition at line 254 of file Entity.hpp.
Referenced by Ark::internal::IRCompiler::compile(), Ark::internal::IRInliner::inlineBlock(), instructionCount(), Ark::internal::IRInliner::isBuiltinProxy(), and Ark::internal::IRInliner::process().
| struct Ark::internal::IR::Block::Metadata Ark::internal::IR::Block::metadata |