Skip to main content

type_names

Function type_names 

Source
pub fn type_names(sdl: &str) -> Vec<String>
Expand description

Extract the top-level type names declared in an SDL document. Recognises the type, input, enum, interface, union, and scalar keywords. This is a lightweight lexical scan, sufficient to project a deterministic type list.