hara.model.spec-go.typed

*emit-options*

dynamic

capitalize-ident

(capitalize-ident s)

emit-analysis-declarations

(emit-analysis-declarations analysis)(emit-analysis-declarations {:keys [specs functions values]} opts)

emit-function-declaration

(emit-function-declaration fn-def)

emit-go-type

(emit-go-type type current-ns)

emit-namespace-declarations

(emit-namespace-declarations ns-sym)(emit-namespace-declarations ns-sym opts)

emit-spec-declaration

(emit-spec-declaration spec)

emit-struct-field

(emit-struct-field {:keys [name type optional?]} current-ns)

emit-struct-type

(emit-struct-type type current-ns)

emit-value-declaration

(emit-value-declaration value-def)

emitted-specs

(emitted-specs {:keys [specs functions values]})

lossy-go-type

(lossy-go-type kind)

maybe-go-type

(maybe-go-type item current-ns)

named-go-ident

(named-go-ident type-name current-ns)

sanitize-ident

(sanitize-ident s)