public enum PrimitiveType extends Enum<PrimitiveType>
| Enum Constant and Description |
|---|
anyfunc |
anyref |
empty_pseudo_block |
except_ref |
f32 |
f64 |
func |
i32 |
i64 |
| Modifier and Type | Method and Description |
|---|---|
byte |
getBinaryType() |
static PrimitiveType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrimitiveType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeTo(BinaryWriter.Writer binaryWriter) |
void |
writeTo(TextWriter textWriter) |
public static final PrimitiveType i32
public static final PrimitiveType f32
public static final PrimitiveType i64
public static final PrimitiveType f64
public static final PrimitiveType anyfunc
public static final PrimitiveType func
public static final PrimitiveType empty_pseudo_block
public static final PrimitiveType anyref
public static final PrimitiveType except_ref
public static PrimitiveType[] values()
for (PrimitiveType c : PrimitiveType.values()) System.out.println(c);
public static PrimitiveType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic void writeTo(TextWriter textWriter)
public void writeTo(BinaryWriter.Writer binaryWriter) throws IOException
IOExceptionpublic byte getBinaryType()
Copyright © 2020 Systemprogrammierung Mirko Sertic. All rights reserved.