Enum l20n::ParseErrorKind
[−]
[src]
pub enum ParseErrorKind { IdentifierError, EntryError, EntityError, MacroError, ExprError, OpError, ParenError, AttrError, CallError, ValueError, VarError, StrError, HashError, }
The description of the ParseError that occurred.
Variants
IdentifierError
Illegal syntax for an identifier.
EntryError
Illegal syntax for an entry.
EntityError
Illegal syntax for an entity.
MacroError
Illegal syntax for a macro.
ExprError
Illegal syntax for an expression.
OpError
Illegal syntax for an operator.
ParenError
Illegal syntax for an expression wrapped in parenthesis.
AttrError
Illegal syntax for an attribute.
CallError
Illegal syntax for a call expression (calling a macro).
ValueError
Illegal syntax for a value, when a value was expected.
VarError
Illegal syntax for a $var.
StrError
Illegal syntax for a "String".
HashError
Illegal syntax for a Hash.
Trait Implementations
impl Debug for ParseErrorKind
[src]
impl PartialEq for ParseErrorKind
[src]
fn eq(&self, __arg_0: &ParseErrorKind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Clone for ParseErrorKind
[src]
fn clone(&self) -> ParseErrorKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more