//! 'parser' Inernal module, API functions from this module are exported.
use crateError;
use crateToken;
use crateAsn1Module;
use parse_module;
/// Parse the tokens into internal Asn1Module representation
///
/// Token obtained from running [`tokenize`][`crate::tokenizer::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`.
// TODO: Test cases, at-least single-module, multiple modules etc.