erjang.beam
Enum BeamOpcode

java.lang.Object
  extended by java.lang.Enum<BeamOpcode>
      extended by erjang.beam.BeamOpcode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BeamOpcode>

public enum BeamOpcode
extends java.lang.Enum<BeamOpcode>


Enum Constant Summary
allocate
           
allocate_heap
           
allocate_heap_zero
           
allocate_zero
           
apply
           
apply_last
           
arithfbif
           
badmatch
           
bif
           
bif0
           
bif1
           
bif2
           
bs_add
           
bs_append
           
bs_bits_to_bytes
           
bs_context_to_binary
           
bs_get_binary2
           
bs_get_float2
           
bs_get_integer2
           
bs_get_utf16
           
bs_get_utf32
           
bs_get_utf8
           
bs_init_bits
           
bs_init_writable
           
bs_init2
           
bs_match_string
           
bs_private_append
           
bs_put_binary
           
bs_put_float
           
bs_put_integer
           
bs_put_string
           
bs_put_utf16
           
bs_put_utf32
           
bs_put_utf8
           
bs_restore2
           
bs_save2
           
bs_skip_bits2
           
bs_skip_utf16
           
bs_skip_utf32
           
bs_skip_utf8
           
bs_start_match2
           
bs_test_tail2
           
bs_test_unit
           
bs_utf16_size
           
bs_utf8_size
           
call
           
call_ext
           
call_ext_last
           
call_ext_only
           
call_fun
           
call_last
           
call_only
           
case_end
           
catch_end
           
deallocate
           
fadd
           
fcheckerror
           
fclearerror
           
fconv
           
fdiv
           
fmove
           
fmul
           
fnegate
           
fsub
           
func_info
           
gc_bif
           
gc_bif1
           
gc_bif2
           
get_list
           
get_tuple_element
           
i_call_fun_last
           
if_end
           
init
           
int_code_end
           
is_atom
           
is_binary
           
is_bitstr
           
is_boolean
           
is_eq
           
is_eq_exact
           
is_float
           
is_function
           
is_function2
           
is_ge
           
is_integer
           
is_list
           
is_lt
           
is_ne
           
is_ne_exact
           
is_nil
           
is_nonempty_list
           
is_number
           
is_pid
           
is_port
           
is_reference
           
is_tuple
           
jump
           
K_catch
           
K_return
           
K_try
           
label
           
loop_rec
           
loop_rec_end
           
make_fun2
           
move
           
NONE
           
on_load
           
put
           
put_list
           
put_string
           
put_tuple
           
raise
           
recv_mark
           
recv_set
           
remove_message
           
select_tuple_arity
           
select_val
           
send
           
set_tuple_element
           
test
           
test_arity
           
test_heap
           
timeout
           
trim
           
try_case
           
try_case_end
           
try_end
           
wait
           
wait_timeout
           
 
Field Summary
 int encoding
           
 EAtom symbol
           
 
Method Summary
static BeamOpcode decode(int opcode)
           
static BeamOpcode get(EAtom sym)
           
static BeamOpcode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static BeamOpcode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

label

public static final BeamOpcode label

func_info

public static final BeamOpcode func_info

int_code_end

public static final BeamOpcode int_code_end

call

public static final BeamOpcode call

call_last

public static final BeamOpcode call_last

call_only

public static final BeamOpcode call_only

call_ext

public static final BeamOpcode call_ext

call_ext_last

public static final BeamOpcode call_ext_last

bif0

public static final BeamOpcode bif0

bif1

public static final BeamOpcode bif1

bif2

public static final BeamOpcode bif2

allocate

public static final BeamOpcode allocate

allocate_heap

public static final BeamOpcode allocate_heap

allocate_zero

public static final BeamOpcode allocate_zero

allocate_heap_zero

public static final BeamOpcode allocate_heap_zero

test_heap

public static final BeamOpcode test_heap

init

public static final BeamOpcode init

deallocate

public static final BeamOpcode deallocate

K_return

public static final BeamOpcode K_return

send

public static final BeamOpcode send

remove_message

public static final BeamOpcode remove_message

timeout

public static final BeamOpcode timeout

loop_rec

public static final BeamOpcode loop_rec

loop_rec_end

public static final BeamOpcode loop_rec_end

wait

public static final BeamOpcode wait

wait_timeout

public static final BeamOpcode wait_timeout

is_lt

public static final BeamOpcode is_lt

is_ge

public static final BeamOpcode is_ge

is_eq

public static final BeamOpcode is_eq

is_ne

public static final BeamOpcode is_ne

is_eq_exact

public static final BeamOpcode is_eq_exact

is_ne_exact

public static final BeamOpcode is_ne_exact

is_integer

public static final BeamOpcode is_integer

is_float

public static final BeamOpcode is_float

is_number

public static final BeamOpcode is_number

is_atom

public static final BeamOpcode is_atom

is_pid

public static final BeamOpcode is_pid

is_reference

public static final BeamOpcode is_reference

is_port

public static final BeamOpcode is_port

is_nil

public static final BeamOpcode is_nil

is_binary

public static final BeamOpcode is_binary

is_list

public static final BeamOpcode is_list

is_nonempty_list

public static final BeamOpcode is_nonempty_list

is_tuple

public static final BeamOpcode is_tuple

test_arity

public static final BeamOpcode test_arity

select_val

public static final BeamOpcode select_val

select_tuple_arity

public static final BeamOpcode select_tuple_arity

jump

public static final BeamOpcode jump

K_catch

public static final BeamOpcode K_catch

catch_end

public static final BeamOpcode catch_end

move

public static final BeamOpcode move

get_list

public static final BeamOpcode get_list

get_tuple_element

public static final BeamOpcode get_tuple_element

set_tuple_element

public static final BeamOpcode set_tuple_element

put_string

public static final BeamOpcode put_string

put_list

public static final BeamOpcode put_list

put_tuple

public static final BeamOpcode put_tuple

put

public static final BeamOpcode put

badmatch

public static final BeamOpcode badmatch

if_end

public static final BeamOpcode if_end

case_end

public static final BeamOpcode case_end

call_fun

public static final BeamOpcode call_fun

is_function

public static final BeamOpcode is_function

call_ext_only

public static final BeamOpcode call_ext_only

bs_put_integer

public static final BeamOpcode bs_put_integer

bs_put_binary

public static final BeamOpcode bs_put_binary

bs_put_float

public static final BeamOpcode bs_put_float

bs_put_string

public static final BeamOpcode bs_put_string

fclearerror

public static final BeamOpcode fclearerror

fcheckerror

public static final BeamOpcode fcheckerror

fmove

public static final BeamOpcode fmove

fconv

public static final BeamOpcode fconv

fadd

public static final BeamOpcode fadd

fsub

public static final BeamOpcode fsub

fmul

public static final BeamOpcode fmul

fdiv

public static final BeamOpcode fdiv

fnegate

public static final BeamOpcode fnegate

make_fun2

public static final BeamOpcode make_fun2

K_try

public static final BeamOpcode K_try

try_end

public static final BeamOpcode try_end

try_case

public static final BeamOpcode try_case

try_case_end

public static final BeamOpcode try_case_end

raise

public static final BeamOpcode raise

bs_init2

public static final BeamOpcode bs_init2

bs_bits_to_bytes

public static final BeamOpcode bs_bits_to_bytes

bs_add

public static final BeamOpcode bs_add

apply

public static final BeamOpcode apply

apply_last

public static final BeamOpcode apply_last

is_boolean

public static final BeamOpcode is_boolean

is_function2

public static final BeamOpcode is_function2

bs_start_match2

public static final BeamOpcode bs_start_match2

bs_get_integer2

public static final BeamOpcode bs_get_integer2

bs_get_float2

public static final BeamOpcode bs_get_float2

bs_get_binary2

public static final BeamOpcode bs_get_binary2

bs_skip_bits2

public static final BeamOpcode bs_skip_bits2

bs_test_tail2

public static final BeamOpcode bs_test_tail2

bs_save2

public static final BeamOpcode bs_save2

bs_restore2

public static final BeamOpcode bs_restore2

gc_bif1

public static final BeamOpcode gc_bif1

gc_bif2

public static final BeamOpcode gc_bif2

is_bitstr

public static final BeamOpcode is_bitstr

bs_context_to_binary

public static final BeamOpcode bs_context_to_binary

bs_test_unit

public static final BeamOpcode bs_test_unit

bs_match_string

public static final BeamOpcode bs_match_string

bs_init_writable

public static final BeamOpcode bs_init_writable

bs_append

public static final BeamOpcode bs_append

bs_private_append

public static final BeamOpcode bs_private_append

trim

public static final BeamOpcode trim

bs_init_bits

public static final BeamOpcode bs_init_bits

bs_get_utf8

public static final BeamOpcode bs_get_utf8

bs_skip_utf8

public static final BeamOpcode bs_skip_utf8

bs_get_utf16

public static final BeamOpcode bs_get_utf16

bs_skip_utf16

public static final BeamOpcode bs_skip_utf16

bs_get_utf32

public static final BeamOpcode bs_get_utf32

bs_skip_utf32

public static final BeamOpcode bs_skip_utf32

bs_utf8_size

public static final BeamOpcode bs_utf8_size

bs_put_utf8

public static final BeamOpcode bs_put_utf8

bs_utf16_size

public static final BeamOpcode bs_utf16_size

bs_put_utf16

public static final BeamOpcode bs_put_utf16

bs_put_utf32

public static final BeamOpcode bs_put_utf32

on_load

public static final BeamOpcode on_load

recv_mark

public static final BeamOpcode recv_mark

recv_set

public static final BeamOpcode recv_set

test

public static final BeamOpcode test

bif

public static final BeamOpcode bif

gc_bif

public static final BeamOpcode gc_bif

arithfbif

public static final BeamOpcode arithfbif

i_call_fun_last

public static final BeamOpcode i_call_fun_last

NONE

public static final BeamOpcode NONE
Field Detail

symbol

public final EAtom symbol

encoding

public final int encoding
Method Detail

values

public static BeamOpcode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (BeamOpcode c : BeamOpcode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static BeamOpcode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

decode

public static BeamOpcode decode(int opcode)

get

public static BeamOpcode get(EAtom sym)