gleamgen/source
Types
pub type Source {
Source(content: List(String), location: Int)
}
Constructors
-
Source(content: List(String), location: Int)
Values
pub fn get_function_body(
function: SourceMapped(glance.Function),
) -> List(SourceMapped(glance.Statement))
pub fn module_from_string(
input: String,
) -> Result(SourceMapped(glance.Module), glance.Error)