#[repr(u16)]pub enum JasmElementType {
Show 83 variants
RootToken = 0,
ClassKw = 1,
VersionKw = 2,
MethodKw = 3,
FieldKw = 4,
StringKw = 5,
SourceFileKw = 6,
StackKw = 7,
LocalsKw = 8,
EndKw = 9,
CompiledKw = 10,
FromKw = 11,
InnerClassKw = 12,
NestMembersKw = 13,
BootstrapMethodKw = 14,
Public = 15,
Private = 16,
Protected = 17,
Static = 18,
Super = 19,
Final = 20,
Abstract = 21,
Synchronized = 22,
Native = 23,
Synthetic = 24,
Deprecated = 25,
Varargs = 26,
ALoad0 = 27,
ALoad1 = 28,
ALoad2 = 29,
ALoad3 = 30,
ILoad0 = 31,
ILoad1 = 32,
ILoad2 = 33,
ILoad3 = 34,
Ldc = 35,
LdcW = 36,
Ldc2W = 37,
InvokeSpecial = 38,
InvokeVirtual = 39,
InvokeStatic = 40,
InvokeInterface = 41,
InvokeDynamic = 42,
GetStatic = 43,
PutStatic = 44,
GetField = 45,
PutField = 46,
Return = 47,
IReturn = 48,
AReturn = 49,
LReturn = 50,
FReturn = 51,
DReturn = 52,
Nop = 53,
Dup = 54,
Pop = 55,
New = 56,
StringLiteral = 57,
Number = 58,
IdentifierToken = 59,
TypeDescriptor = 60,
LeftBrace = 61,
RightBrace = 62,
LeftParen = 63,
RightParen = 64,
LeftBracket = 65,
RightBracket = 66,
Colon = 67,
Semicolon = 68,
Dot = 69,
Comma = 70,
Slash = 71,
Whitespace = 72,
Newline = 73,
Comment = 74,
Error = 75,
Eof = 76,
Root = 77,
Class = 78,
Method = 79,
Field = 80,
Annotation = 81,
Instruction = 82,
}Variants§
RootToken = 0
ClassKw = 1
VersionKw = 2
MethodKw = 3
FieldKw = 4
StringKw = 5
SourceFileKw = 6
StackKw = 7
LocalsKw = 8
EndKw = 9
CompiledKw = 10
FromKw = 11
InnerClassKw = 12
NestMembersKw = 13
BootstrapMethodKw = 14
Public = 15
Private = 16
Protected = 17
Static = 18
Super = 19
Final = 20
Abstract = 21
Synchronized = 22
Native = 23
Synthetic = 24
Deprecated = 25
Varargs = 26
ALoad0 = 27
ALoad1 = 28
ALoad2 = 29
ALoad3 = 30
ILoad0 = 31
ILoad1 = 32
ILoad2 = 33
ILoad3 = 34
Ldc = 35
LdcW = 36
Ldc2W = 37
InvokeSpecial = 38
InvokeVirtual = 39
InvokeStatic = 40
InvokeInterface = 41
InvokeDynamic = 42
GetStatic = 43
PutStatic = 44
GetField = 45
PutField = 46
Return = 47
IReturn = 48
AReturn = 49
LReturn = 50
FReturn = 51
DReturn = 52
Nop = 53
Dup = 54
Pop = 55
New = 56
StringLiteral = 57
Number = 58
IdentifierToken = 59
TypeDescriptor = 60
LeftBrace = 61
RightBrace = 62
LeftParen = 63
RightParen = 64
LeftBracket = 65
RightBracket = 66
Colon = 67
Semicolon = 68
Dot = 69
Comma = 70
Slash = 71
Whitespace = 72
Newline = 73
Comment = 74
Error = 75
Eof = 76
Root = 77
Class = 78
Method = 79
Field = 80
Annotation = 81
Instruction = 82
Trait Implementations§
Source§impl Clone for JasmElementType
impl Clone for JasmElementType
Source§fn clone(&self) -> JasmElementType
fn clone(&self) -> JasmElementType
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 JasmElementType
impl Debug for JasmElementType
Source§impl<'de> Deserialize<'de> for JasmElementType
impl<'de> Deserialize<'de> for JasmElementType
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 JasmElementType
impl ElementType for JasmElementType
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<JasmTokenType> for JasmElementType
impl From<JasmTokenType> for JasmElementType
Source§fn from(token: JasmTokenType) -> Self
fn from(token: JasmTokenType) -> Self
Converts to this type from the input type.
Source§impl Hash for JasmElementType
impl Hash for JasmElementType
Source§impl PartialEq for JasmElementType
impl PartialEq for JasmElementType
Source§impl Serialize for JasmElementType
impl Serialize for JasmElementType
impl Copy for JasmElementType
impl Eq for JasmElementType
impl StructuralPartialEq for JasmElementType
Auto Trait Implementations§
impl Freeze for JasmElementType
impl RefUnwindSafe for JasmElementType
impl Send for JasmElementType
impl Sync for JasmElementType
impl Unpin for JasmElementType
impl UnwindSafe for JasmElementType
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