Enum as3_parser::diagnostics::DiagnosticKind
source · #[repr(i32)]pub enum DiagnosticKind {
Show 44 variants
UnexpectedOrInvalidToken = 1_024,
UnexpectedEnd = 1_025,
UnallowedNumericSuffix = 1_026,
UnallowedLineBreak = 1_027,
Expected = 1_028,
ExpectedIdentifier = 1_029,
ExpectedExpression = 1_030,
ExpectedXmlName = 1_031,
ExpectedXmlAttributeValue = 1_032,
IllegalNullishCoalescingLeftOperand = 1_033,
WrongParameterPosition = 1_034,
DuplicateRestParameter = 1_035,
NotAllowedHere = 1_036,
MalformedRestParameter = 1_037,
IllegalForInInitializer = 1_038,
MultipleForInBindings = 1_039,
UndefinedLabel = 1_040,
IllegalContinue = 1_041,
IllegalBreak = 1_042,
ExpressionMustNotFollowLineBreak = 1_043,
TokenMustNotFollowLineBreak = 1_044,
ExpectedStringLiteral = 1_045,
DuplicateAttribute = 1_046,
DuplicateAccessModifier = 1_047,
ExpectedDirectiveKeyword = 1_048,
UnallowedAttribute = 1_049,
UseDirectiveMustContainPublic = 1_050,
MalformedEnumMember = 1_051,
FunctionMayNotBeGenerator = 1_052,
FunctionMayNotBeAsynchronous = 1_053,
FunctionMustNotContainBody = 1_054,
FunctionMustContainBody = 1_055,
FunctionMustNotContainAnnotations = 1_056,
NestedClassesNotAllowed = 1_057,
DirectiveNotAllowedInInterface = 1_058,
FailedParsingAsDocTag = 1_059,
UnrecognizedAsDocTag = 1_060,
UnrecognizedProxy = 1_061,
EnumMembersMustBeConst = 1_062,
ConstructorMustNotSpecifyResultType = 1_063,
UnrecognizedMetadataSyntax = 1_064,
FailedToIncludeFile = 1_065,
ParentSourceIsNotAFile = 1_066,
CircularIncludeDirective = 1_067,
}
Variants§
UnexpectedOrInvalidToken = 1_024
UnexpectedEnd = 1_025
UnallowedNumericSuffix = 1_026
UnallowedLineBreak = 1_027
Expected = 1_028
ExpectedIdentifier = 1_029
ExpectedExpression = 1_030
ExpectedXmlName = 1_031
ExpectedXmlAttributeValue = 1_032
IllegalNullishCoalescingLeftOperand = 1_033
WrongParameterPosition = 1_034
DuplicateRestParameter = 1_035
NotAllowedHere = 1_036
MalformedRestParameter = 1_037
IllegalForInInitializer = 1_038
MultipleForInBindings = 1_039
UndefinedLabel = 1_040
IllegalContinue = 1_041
IllegalBreak = 1_042
ExpressionMustNotFollowLineBreak = 1_043
TokenMustNotFollowLineBreak = 1_044
ExpectedStringLiteral = 1_045
DuplicateAttribute = 1_046
DuplicateAccessModifier = 1_047
ExpectedDirectiveKeyword = 1_048
UnallowedAttribute = 1_049
UseDirectiveMustContainPublic = 1_050
MalformedEnumMember = 1_051
FunctionMayNotBeGenerator = 1_052
FunctionMayNotBeAsynchronous = 1_053
FunctionMustNotContainBody = 1_054
FunctionMustContainBody = 1_055
FunctionMustNotContainAnnotations = 1_056
NestedClassesNotAllowed = 1_057
DirectiveNotAllowedInInterface = 1_058
FailedParsingAsDocTag = 1_059
UnrecognizedAsDocTag = 1_060
UnrecognizedProxy = 1_061
EnumMembersMustBeConst = 1_062
ConstructorMustNotSpecifyResultType = 1_063
UnrecognizedMetadataSyntax = 1_064
FailedToIncludeFile = 1_065
ParentSourceIsNotAFile = 1_066
CircularIncludeDirective = 1_067
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 StructuralPartialEq for DiagnosticKind
Auto Trait Implementations§
impl Freeze for DiagnosticKind
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.