Versions in this module Expand all Collapse all v0 v0.7.1 May 19, 2021 Changes in this version + func WriteTo(w io.Writer, m *wasm.Module) error + type Scanner struct + Column int + Errors []error + Line int + func NewScanner(path string) *Scanner + func (s *Scanner) Next() (token *Token) + type Token struct + Column int + Data interface{} + Kind TokenKind + Line int + Text string + func (t *Token) Copy() *Token + func (t *Token) String() string + type TokenKind int + const ABS + const ADD + const ALIGN_EQ_NAT + const AND + const ANYFUNC + const ASSERT_EXHAUSTION + const ASSERT_INVALID + const ASSERT_MALFORMED + const ASSERT_RETURN + const ASSERT_RETURN_ARITHMETIC_NAN + const ASSERT_RETURN_CANONICAL_NAN + const ASSERT_SOFT_INVALID + const ASSERT_TRAP + const ASSERT_UNLINKABLE + const BIN + const BLOCK + const BR + const BR_IF + const BR_TABLE + const CALL + const CALL_INDIRECT + const CEIL + const CLZ + const CONST + const CONVERT_S_I32 + const CONVERT_S_I64 + const CONVERT_U_I32 + const CONVERT_U_I64 + const COPYSIGN + const CTZ + const CURRENT_MEMORY + const DATA + const DEMOTE + const DIV_S + const DIV_U + const DROP + const ELEM + const ELSE + const END + const EOF + const EQ + const EQZ + const EXPORT + const EXTEND_S + const EXTEND_U + const FLOAT + const FLOOR + const FUNC + const GE + const GET + const GET_GLOBAL + const GET_LOCAL + const GE_S + const GE_U + const GLOBAL + const GROW_MEMORY + const GT + const GT_S + const GT_U + const IF + const IMPORT + const INPUT + const INT + const INVOKE + const LE + const LE_S + const LE_U + const LOAD + const LOAD_16 + const LOAD_32 + const LOAD_8 + const LOCAL + const LOOP + const LPAR + const LT + const LT_S + const LT_U + const MAX + const MEMORY + const MIN + const MODULE + const MUL + const MUT + const NAT + const NE + const NEAREST + const NEG + const NOP + const OFFSET + const OFFSET_EQ_NAT + const OR + const OUTPUT + const PARAM + const POPCNT + const PROMOTE + const QUOTE + const REGISTER + const REINTERPRET_F32 + const REINTERPRET_F64 + const REINTERPRET_I32 + const REINTERPRET_I64 + const REM_S + const REM_U + const RESULT + const RETURN + const ROTL + const ROTR + const RPAR + const SCRIPT + const SELECT + const SET_GLOBAL + const SET_LOCAL + const SHL + const SHR_S + const SHR_U + const SQRT + const START + const STORE + const STORE_16 + const STORE_32 + const STORE_8 + const STRING + const SUB + const TABLE + const TEE_LOCAL + const THEN + const TRUNC + const TRUNC_S_F32 + const TRUNC_S_F64 + const TRUNC_U_F32 + const TRUNC_U_F64 + const TYPE + const UNREACHABLE + const VALUE_TYPE + const VAR + const WRAP + const XOR + func (t TokenKind) String() string