Enum fluent_syntax::parser::ErrorKind [−][src]
pub enum ErrorKind {
Show 21 variants
ExpectedToken(char),
ExpectedCharRange {
range: String,
},
ExpectedMessageField {
entry_id: String,
},
ExpectedTermField {
entry_id: String,
},
ForbiddenCallee,
MissingDefaultVariant,
MissingValue,
MultipleDefaultVariants,
MessageReferenceAsSelector,
TermReferenceAsSelector,
MessageAttributeAsSelector,
TermAttributeAsPlaceable,
UnterminatedStringLiteral,
PositionalArgumentFollowsNamed,
DuplicatedNamedArgument(String),
UnknownEscapeSequence(String),
InvalidUnicodeEscapeSequence(String),
UnbalancedClosingBrace,
ExpectedInlineExpression,
ExpectedSimpleExpressionAsSelector,
ExpectedLiteral,
}
Expand description
Kind of an error associated with the ParserError
.
Variants
ExpectedToken(char)
Tuple Fields
0: char
ExpectedCharRange
Fields
range: String
ExpectedMessageField
Fields
entry_id: String
ExpectedTermField
Fields
entry_id: String
ForbiddenCallee
MissingDefaultVariant
MissingValue
MultipleDefaultVariants
MessageReferenceAsSelector
TermReferenceAsSelector
MessageAttributeAsSelector
TermAttributeAsPlaceable
UnterminatedStringLiteral
PositionalArgumentFollowsNamed
DuplicatedNamedArgument(String)
Tuple Fields
0: String
UnknownEscapeSequence(String)
Tuple Fields
0: String
InvalidUnicodeEscapeSequence(String)
Tuple Fields
0: String
UnbalancedClosingBrace
ExpectedInlineExpression
ExpectedSimpleExpressionAsSelector
ExpectedLiteral
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
impl UnwindSafe for ErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more