Type Definition webidl_parser::ParseResult [] [src]

type ParseResult = Result<Vec<Definition>, 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.