pub enum ActionScriptElementType {
Show 176 variants
Whitespace,
Newline,
Comment,
Identifier,
StringLiteral,
CharLiteral,
NumberLiteral,
BooleanLiteral,
NullLiteral,
As,
Break,
Case,
Catch,
Class,
Const,
Continue,
Default,
Delete,
Do,
Else,
Extends,
False,
Finally,
For,
Function,
If,
Implements,
Import,
In,
Instanceof,
Interface,
Internal,
Is,
Native,
New,
Null,
Package,
Private,
Protected,
Public,
Return,
Static,
Super,
Switch,
This,
Throw,
True,
Try,
Typeof,
Use,
Var,
Void,
While,
With,
Each,
Get,
Set,
Namespace,
Include,
Dynamic,
Final,
Override,
Array,
Boolean,
Date,
Number,
ObjectType,
RegExp,
StringType,
Uint,
Vector,
VoidType,
Xml,
XmlList,
Plus,
Minus,
Star,
Slash,
Percent,
Equal,
EqualEqual,
EqualEqualEqual,
NotEqual,
NotEqualEqual,
LessThan,
LessEqual,
GreaterThan,
GreaterEqual,
LogicalAnd,
LogicalOr,
LogicalNot,
BitwiseAnd,
BitwiseOr,
BitwiseXor,
BitwiseNot,
LeftShift,
RightShift,
UnsignedRightShift,
Increment,
Decrement,
PlusAssign,
MinusAssign,
StarAssign,
SlashAssign,
PercentAssign,
LeftShiftAssign,
RightShiftAssign,
UnsignedRightShiftAssign,
BitwiseAndAssign,
BitwiseOrAssign,
BitwiseXorAssign,
Question,
Colon,
Dot,
Arrow,
LeftParen,
RightParen,
LeftBrace,
RightBrace,
LeftBracket,
RightBracket,
Semicolon,
Comma,
At,
Hash,
Dollar,
Ampersand,
Backslash,
Quote,
DoubleQuote,
Backtick,
Eof,
Program,
Block,
Variable,
FunctionCall,
MethodCall,
PropertyAccess,
ArrayAccess,
ParameterList,
UseItem,
ModuleItem,
StructItem,
EnumItem,
FunctionType,
Root,
Statement,
Expression,
Assignment,
ConditionalExpression,
BinaryExpression,
UnaryExpression,
IfStatement,
ForStatement,
WhileStatement,
DoWhileStatement,
SwitchStatement,
TryStatement,
ThrowStatement,
ReturnStatement,
BreakStatement,
ContinueStatement,
Error,
LiteralExpression,
IdentifierExpression,
ParenthesizedExpression,
SourceFile,
BlockExpression,
LetStatement,
IfExpression,
WhileExpression,
LoopExpression,
ForExpression,
CallExpression,
IndexExpression,
FieldExpression,
}Variants§
Whitespace
Newline
Comment
Identifier
StringLiteral
CharLiteral
NumberLiteral
BooleanLiteral
NullLiteral
As
Break
Case
Catch
Class
Const
Continue
Default
Delete
Do
Else
Extends
False
Finally
For
Function
If
Implements
Import
In
Instanceof
Interface
Internal
Is
Native
New
Null
Package
Private
Protected
Public
Return
Static
Super
Switch
This
Throw
True
Try
Typeof
Use
Var
Void
While
With
Each
Get
Set
Namespace
Include
Dynamic
Final
Override
Array
Boolean
Date
Number
ObjectType
RegExp
StringType
Uint
Vector
VoidType
Xml
XmlList
Plus
Minus
Star
Slash
Percent
Equal
EqualEqual
EqualEqualEqual
NotEqual
NotEqualEqual
LessThan
LessEqual
GreaterThan
GreaterEqual
LogicalAnd
LogicalOr
LogicalNot
BitwiseAnd
BitwiseOr
BitwiseXor
BitwiseNot
LeftShift
RightShift
UnsignedRightShift
Increment
Decrement
PlusAssign
MinusAssign
StarAssign
SlashAssign
PercentAssign
LeftShiftAssign
RightShiftAssign
UnsignedRightShiftAssign
BitwiseAndAssign
BitwiseOrAssign
BitwiseXorAssign
Question
Colon
Dot
Arrow
LeftParen
RightParen
LeftBrace
RightBrace
LeftBracket
RightBracket
Semicolon
Comma
At
Hash
Dollar
Ampersand
Backslash
Quote
DoubleQuote
Backtick
Eof
Program
Block
Variable
FunctionCall
MethodCall
PropertyAccess
ArrayAccess
ParameterList
UseItem
ModuleItem
StructItem
EnumItem
FunctionType
Root
Statement
Expression
Assignment
ConditionalExpression
BinaryExpression
UnaryExpression
IfStatement
ForStatement
WhileStatement
DoWhileStatement
SwitchStatement
TryStatement
ThrowStatement
ReturnStatement
BreakStatement
ContinueStatement
Error
LiteralExpression
IdentifierExpression
ParenthesizedExpression
SourceFile
BlockExpression
LetStatement
IfExpression
WhileExpression
LoopExpression
ForExpression
CallExpression
IndexExpression
FieldExpression
Trait Implementations§
Source§impl Clone for ActionScriptElementType
impl Clone for ActionScriptElementType
Source§fn clone(&self) -> ActionScriptElementType
fn clone(&self) -> ActionScriptElementType
Returns a duplicate 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 Debug for ActionScriptElementType
impl Debug for ActionScriptElementType
Source§impl<'de> Deserialize<'de> for ActionScriptElementType
impl<'de> Deserialize<'de> for ActionScriptElementType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl ElementType for ActionScriptElementType
impl ElementType for ActionScriptElementType
Source§type Role = UniversalElementRole
type Role = UniversalElementRole
The associated role type for this element kind.
Source§fn is_role(&self, role: Self::Role) -> bool
fn is_role(&self, role: Self::Role) -> bool
Returns true if this element matches the specified language-specific role.
Source§fn is_universal(&self, role: UniversalElementRole) -> bool
fn is_universal(&self, role: UniversalElementRole) -> bool
Returns true if this element matches the specified universal role.
Source§impl From<ActionScriptTokenType> for ActionScriptElementType
impl From<ActionScriptTokenType> for ActionScriptElementType
Source§fn from(token: ActionScriptTokenType) -> Self
fn from(token: ActionScriptTokenType) -> Self
Converts to this type from the input type.
Source§impl Hash for ActionScriptElementType
impl Hash for ActionScriptElementType
Source§impl PartialEq for ActionScriptElementType
impl PartialEq for ActionScriptElementType
Source§impl Serialize for ActionScriptElementType
impl Serialize for ActionScriptElementType
impl Copy for ActionScriptElementType
impl Eq for ActionScriptElementType
impl StructuralPartialEq for ActionScriptElementType
Auto Trait Implementations§
impl Freeze for ActionScriptElementType
impl RefUnwindSafe for ActionScriptElementType
impl Send for ActionScriptElementType
impl Sync for ActionScriptElementType
impl Unpin for ActionScriptElementType
impl UnsafeUnpin for ActionScriptElementType
impl UnwindSafe for ActionScriptElementType
Blanket Implementations§
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