Goose  Artifact [1c05a32605]

Artifact 1c05a32605d8915c6f4acdbde9e47677572c7a23ebffb66fbaf44d7d757646a2:

  • File bs/builtins/types/template/build.h — part of check-in [0db147f117] at 2024-09-15 20:24:31 on branch cir-ssa-refactor — Add clang format settings, reformat everything (user: achavasse size: 617)

#ifndef GOOSE_BUILTINS_TEMPLATE_BUILD_H
#define GOOSE_BUILTINS_TEMPLATE_BUILD_H

namespace goose::builtins
{
    extern TFuncType BuildTFuncType( const Value& returnType, const Value& params );

    extern optional< Term > BuildTFuncSignature( const Context& c, const TFuncType& tft );

    extern optional< TFunc > BuildTFunc( const Context& c, const TFuncType& tft,
        const Term& parentIdentity, const Term& identity, const Value& params, ptr< void > body );

    extern optional< Term > BuildArgPatternFromTFuncType(
        const Context& c, const Value& tfuncType );
} // namespace goose::builtins

#endif