Skip to main content

Module dependency_block

Module dependency_block 

Source
Expand description

Finds a script’s [dependencies.go] table, written as // comments the lexer never sees. Line offsets are kept, for mapping a TOML error back.

Structs§

DependencyBlock

Constants§

HEADER

Functions§

insertion_point
After a shebang and any file doc comments, before the first import or item.
scan_dependency_blocks