2
1
Fork 0

typegen: add shorthand for type/property links

This commit is contained in:
outfoxxed 2024-07-14 16:16:37 -07:00
parent 11ff70f1a8
commit db5c3aa3f4
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
3 changed files with 115 additions and 24 deletions

View file

@ -36,7 +36,8 @@ fn main() -> anyhow::Result<()> {
.collect::<Result<HashMap<_, _>, _>>()?;
let parser = parse::Parser::new();
let mut ctx = parse::ParseContext::default();
let mut ctx = parse::ParseContext::new(&module.header.name);
texts
.iter()
.map(|(header, text)| {