mxmlextrema_as3parser/parser/parser_error.rs
1use crate::ns::*;
2
3/// Indicates a fatal syntax error that leads the parser
4/// to complete without a resulting node.
5#[derive(Copy, Clone, Debug)]
6pub enum ParserError {
7 Common,
8}
9
10/// Returns the identifier name that is specially reserved
11/// for invalidated identifiers that could not be parsed.
12pub const INVALIDATED_IDENTIFIER: &'static str = "\x00";
13
14#[derive(Clone)]
15pub(crate) enum MetadataRefineError {
16 Syntax,
17}
18
19#[derive(Clone)]
20pub(crate) struct MetadataRefineError1(pub MetadataRefineError, pub Location);