pub fn compile(syntax: &Spanned<Syntax>) -> Result<Spanned<Target>, Error>
Compile a spanned syntax tree into either a representation of a valid session type Target, or an Error.
Target
Error