MCPcopy Create free account
hub / github.com/SerenityOS/jakt / codegen_function

Method codegen_function

bootstrap/stage0/codegen.cpp:7783–7791  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7781}
7782
7783ErrorOr<void> Jakt::codegen::CodeGenerator::codegen_function(NonnullRefPtr<Jakt::types::CheckedFunction> const function,bool const as_method,ByteStringBuilder& output) {
7784{
7785if (function->is_comptime){
7786return {};
7787}
7788TRY((this->codegen_function_in_namespace(function,JaktInternal::OptionalNone(),as_method,false,JaktInternal::OptionalNone(),output)));
7789}
7790return {};
7791}
7792
7793ErrorOr<ByteString> Jakt::codegen::CodeGenerator::codegen_struct_type(Jakt::ids::StructId const id,bool const as_namespace) {
7794{

Callers 3

codegen_namespaceMethod · 0.95
codegen_structMethod · 0.95
codegen_enumMethod · 0.95

Calls 2

OptionalNoneClass · 0.85

Tested by

no test coverage detected