ArkScript
A small, lisp-inspired, functional scripting language
Ark::internal::IR::Block::Metadata Struct Reference

#include <Entity.hpp>

Public Attributes

std::optional< std::string > name
 
std::size_t argument_count { 0 }
 
std::size_t addr { 0 }
 
bool is_closure { false }
 
bool is_recursive { false }
 
bool is_simple { false }
 Calls only builtin and operators, no user functions/C++ functions.
 
bool is_mutating_args { false }
 

Detailed Description

Definition at line 244 of file Entity.hpp.

Member Data Documentation

◆ addr

std::size_t Ark::internal::IR::Block::Metadata::addr { 0 }

Definition at line 248 of file Entity.hpp.

Referenced by Ark::internal::IRInliner::inlineBlock().

◆ argument_count

std::size_t Ark::internal::IR::Block::Metadata::argument_count { 0 }

Definition at line 247 of file Entity.hpp.

Referenced by Ark::internal::ASTLowerer::setFunctionMetadata().

◆ is_closure

bool Ark::internal::IR::Block::Metadata::is_closure { false }

Definition at line 249 of file Entity.hpp.

Referenced by Ark::internal::IR::Block::metadataRepr().

◆ is_mutating_args

bool Ark::internal::IR::Block::Metadata::is_mutating_args { false }

◆ is_recursive

bool Ark::internal::IR::Block::Metadata::is_recursive { false }

◆ is_simple

bool Ark::internal::IR::Block::Metadata::is_simple { false }

Calls only builtin and operators, no user functions/C++ functions.

Definition at line 251 of file Entity.hpp.

Referenced by Ark::internal::IR::Block::metadataRepr(), and Ark::internal::ASTLowerer::setFunctionMetadata().

◆ name

std::optional<std::string> Ark::internal::IR::Block::Metadata::name

The documentation for this struct was generated from the following file: