Enum as3_parser::DiagnosticKind
source · #[repr(i32)]pub enum DiagnosticKind {
Show 38 variants
UnexpectedOrInvalidToken = 1_024,
UnexpectedEnd = 1_025,
FailedProcessingNumericLiteral = 1_026,
UnallowedNumericSuffix = 1_027,
UnallowedLineBreak = 1_028,
Expected = 1_029,
ExpectedIdentifier = 1_030,
ExpectedExpression = 1_031,
ExpectedXmlName = 1_032,
ExpectedXmlAttributeValue = 1_033,
MalformedArrowFunctionElement = 1_034,
WrongParameterPosition = 1_035,
DuplicateRestParameter = 1_036,
MalformedDestructuring = 1_037,
UnsupportedDestructuringRest = 1_038,
NotAllowedHere = 1_039,
IllegalNullishCoalescingLeftOperand = 140,
MalformedRestParameter = 141,
IllegalForInInitializer = 142,
MultipleForInBindings = 143,
IllegalBreak = 144,
IllegalContinue = 145,
UndefinedLabel = 146,
ExpressionMustNotFollowLineBreak = 147,
TokenMustNotFollowLineBreak = 148,
ParentSourceIsNotAFile = 149,
FailedToIncludeFile = 150,
UnrecognizedAsDocTag = 151,
FailedParsingAsDocTag = 152,
MalformedMetadataElement = 153,
DuplicateModifier = 154,
UnallowedModifier = 155,
InterfaceMethodHasAnnotations = 156,
MethodMustNotHaveBody = 157,
MethodMustSpecifyBody = 158,
MethodMustNotHaveGenerics = 159,
DuplicateClause = 160,
UnallowedNestedClasses = 161,
}
Variants§
UnexpectedOrInvalidToken = 1_024
UnexpectedEnd = 1_025
FailedProcessingNumericLiteral = 1_026
UnallowedNumericSuffix = 1_027
UnallowedLineBreak = 1_028
Expected = 1_029
ExpectedIdentifier = 1_030
ExpectedExpression = 1_031
ExpectedXmlName = 1_032
ExpectedXmlAttributeValue = 1_033
MalformedArrowFunctionElement = 1_034
WrongParameterPosition = 1_035
DuplicateRestParameter = 1_036
MalformedDestructuring = 1_037
UnsupportedDestructuringRest = 1_038
NotAllowedHere = 1_039
IllegalNullishCoalescingLeftOperand = 140
MalformedRestParameter = 141
IllegalForInInitializer = 142
MultipleForInBindings = 143
IllegalBreak = 144
IllegalContinue = 145
UndefinedLabel = 146
ExpressionMustNotFollowLineBreak = 147
TokenMustNotFollowLineBreak = 148
ParentSourceIsNotAFile = 149
FailedToIncludeFile = 150
UnrecognizedAsDocTag = 151
FailedParsingAsDocTag = 152
MalformedMetadataElement = 153
DuplicateModifier = 154
UnallowedModifier = 155
InterfaceMethodHasAnnotations = 156
MethodMustNotHaveBody = 157
MethodMustSpecifyBody = 158
MethodMustNotHaveGenerics = 159
DuplicateClause = 160
UnallowedNestedClasses = 161
Implementations§
Trait Implementations§
source§impl Clone for DiagnosticKind
impl Clone for DiagnosticKind
source§fn clone(&self) -> DiagnosticKind
fn clone(&self) -> DiagnosticKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq for DiagnosticKind
impl PartialEq for DiagnosticKind
source§fn eq(&self, other: &DiagnosticKind) -> bool
fn eq(&self, other: &DiagnosticKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DiagnosticKind
impl Eq for DiagnosticKind
impl StructuralEq for DiagnosticKind
impl StructuralPartialEq for DiagnosticKind
Auto Trait Implementations§
impl RefUnwindSafe for DiagnosticKind
impl Send for DiagnosticKind
impl Sync for DiagnosticKind
impl Unpin for DiagnosticKind
impl UnwindSafe for DiagnosticKind
Blanket Implementations§
source§impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
source§fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
Convert the given value into an approximately equivalent representation.
source§impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
§type Err = <Dst as ApproxFrom<Src, Scheme>>::Err
type Err = <Dst as ApproxFrom<Src, Scheme>>::Err
The error type produced by a failed conversion.
source§fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
Convert the subject into an approximately equivalent representation.
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T, Dst> ConvAsUtil<Dst> for T
impl<T, Dst> ConvAsUtil<Dst> for T
source§impl<T> ConvUtil for T
impl<T> ConvUtil for T
source§fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst>,
fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst>,
Approximate the subject to a given type with the default scheme.
source§fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>
fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>
Approximate the subject to a given type with a specific scheme.