mxmlextrema_as3parser/parser/
parser_error.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use crate::ns::*;

/// Indicates a fatal syntax error that leads the parser
/// to complete without a resulting node.
#[derive(Copy, Clone, Debug)]
pub enum ParserError {
    Common,
}

/// Returns the identifier name that is specially reserved
/// for invalidated identifiers that could not be parsed.
pub const INVALIDATED_IDENTIFIER: &'static str = "\x00";

#[derive(Clone)]
pub(crate) enum MetadataRefineError {
    Syntax,
}

#[derive(Clone)]
pub(crate) struct MetadataRefineError1(pub MetadataRefineError, pub Location);