MCPcopy Create free account
hub / github.com/amber-lang/amber / handle_existing_function

Function handle_existing_function

src/modules/function/declaration_utils.rs:71–77  ·  view source on GitHub ↗
(
    meta: &mut ParserMetadata,
    tok: Option<Token>,
)

Source from the content-addressed store, hash-verified

69}
70
71pub fn handle_existing_function(
72 meta: &mut ParserMetadata,
73 tok: Option<Token>,
74) -> Result<(), Failure> {
75 let name = tok.as_ref().unwrap().word.clone();
76 handle_symbol_scope_declaration(meta, &name, tok)
77}
78
79pub fn handle_add_function(
80 meta: &mut ParserMetadata,

Callers 1

typecheckMethod · 0.85

Calls 1

Tested by

no test coverage detected