check for the grammar correctness of annotation, also return the slice of subscript for further parsing
check if binary op expr is legal(with one typename and one None
)
parse script and return Coprocessor
struct with info extract from ast
where:
parse a DataType | None
or a single DataType
returns args and returns in Vec of String
parse a list of keyword and return args and returns list from keywords
Item => NativeType
default to be not nullable
turn a python list of string in ast form(a ast::Expr
) of string into a Vec<String>
Return a CoprParseSnafu for you to chain fail() to return correct err Result type