SYMBOL INDEX (38 symbols across 2 files) FILE: .codex/skills/update-typst-grammar-authoring/scripts/generate_grammar_catalog.py function line_number (line 66) | def line_number(text: str, offset: int) -> int: function normalize_code (line 70) | def normalize_code(raw_code: str) -> str: function lookup_key (line 74) | def lookup_key(reference_anchor: str) -> str: function repo_relative (line 81) | def repo_relative(path: Path, repo_root: Path) -> str: function parse_categories (line 88) | def parse_categories( function build_catalog (line 155) | def build_catalog(source_path: Path, repo_root: Path) -> dict: function is_inline_safe (line 166) | def is_inline_safe(code: str) -> bool: function grouped_entries (line 170) | def grouped_entries(entries: list[dict]) -> list[dict]: function render_example_block (line 185) | def render_example_block(code: str) -> list[str]: function render_skill_lookup (line 193) | def render_skill_lookup(catalog: dict) -> str: function update_skill (line 224) | def update_skill(skill_path: Path, generated_lookup: str) -> None: function write_outputs (line 241) | def write_outputs( function default_source (line 257) | def default_source(script_path: Path) -> Path: function default_skill_path (line 261) | def default_skill_path(script_path: Path) -> Path: function main (line 265) | def main() -> int: FILE: crates/embedded-typst/src/lib.rs type StrResult (line 31) | type StrResult = Result; function allocate_data (line 43) | pub fn allocate_data(kind: &[u8], data: &[u8]) -> StrResult> { function allocate_file (line 57) | pub fn allocate_file(kind: &[u8], path: &[u8], data: &[u8]) -> StrResult... function allocate_data_inner (line 62) | fn allocate_data_inner(kind: &[u8], data: &[u8], path: Option<&[u8]>) ->... type Context (line 93) | pub struct Context { type ImmutBytes (line 102) | struct ImmutBytes(Bytes); type DataRef (line 106) | enum DataRef { method data (line 122) | pub fn data(&self) -> Option<&ImmutBytes> { function resolve_world (line 135) | pub fn resolve_world() -> StrResult> { function create_world (line 148) | fn create_world() -> StrResult { function svg (line 284) | pub fn svg(input: &[u8]) -> StrResult> { type WasmCompilerFeat (line 342) | pub struct WasmCompilerFeat; type FontResolver (line 346) | type FontResolver = FontResolverImpl; type AccessModel (line 348) | type AccessModel = DummyAccessModel; type Registry (line 350) | type Registry = MemoryRegistry; type WorldRepr (line 353) | type WorldRepr = reflexo_typst::world::CompilerUniverse; type TypstWasmWorld (line 357) | pub struct TypstWasmWorld(WorldRepr); method new (line 367) | pub fn new() -> Self { method default (line 360) | fn default() -> Self { type MemoryRegistry (line 396) | pub struct MemoryRegistry(HashMap>); method add_memory_package (line 400) | pub fn add_memory_package(&mut self, spec: PackageSpec) -> Arc { method resolve (line 414) | fn resolve(&self, spec: &PackageSpec) -> Result, PackageError> { function now (line 423) | pub extern "C" fn now() -> f64 {