mrdocs::lua::Scope::loadChunkFromFile

Run a Lua chunk.

Synopsis

Expected<Function>
loadChunkFromFile(
    std::string_view fileName,
    std::source_location loc = source_location::current());

Return Value

The function if successful, or an error.

Parameters

Name

Description

fileName

The name of the file to load.

loc

The source location of the call site.

Created with MrDocs