pub fn parse(tokens: &mut Vec<Token>) -> Result<Vec<Asn1Module>>
Expand description
Parse the tokens into internal Asn1Module representation
Token obtained from running tokenize
on an ANS file are parsed
into an internal representation of [Asn1Module
][crate::structs::Asn1Module
]. Semantic
errors during parsing the tokens are returned as appropriate variant of Error
.