[][src]Type Definition webidl::ParseResult

type ParseResult = Result<AST, ParseError<usize, Token, LexicalError>>;

The result that is returned when an input string is parsed. If the parse succeeds, the Ok result will be a vector of definitions representing the AST. If the parse fails, the Err will be either an error from the lexer or the parser.