Binaryen.TS - v0.3.0
    Preparing search index...

    Module binaryen.ts

    expressions

    A collection of classes related to WASM expression manipulation.

    Module

    A collection of types and classes related to WASM module manipulation.

    ExpressionId

    An enumeration of all the “kinds” of expressions.

    ExpressionRunnerFlag
    ExternalKind

    External kinds.

    Feature
    HeapType

    A WASM heap type.

    MemoryOrder

    [description]

    Operation

    Operations

    PackedType

    An allowed type of a struct or array field.

    SideEffect

    Expression side-effects.

    Type

    A WASM type (the type of an expression).

    ExpressionRunner
    Module

    A WASM module.

    Relooper
    TypeBuilder
    SettingsService
    ArrayCopyInfo
    ArrayFillInfo
    ArrayGetInfo
    ArrayInitDataInfo
    ArrayInitElemInfo
    ArrayLenInfo
    ArrayNewDataInfo
    ArrayNewElemInfo
    ArrayNewFixedInfo
    ArrayNewInfo
    ArraySetInfo
    AtomicCmpxchgInfo
    AtomicFenceInfo
    AtomicNotifyInfo
    AtomicRMWInfo
    AtomicWaitInfo
    BinaryInfo
    BlockInfo
    BreakInfo
    BrOnInfo
    CallIndirectInfo
    CallInfo
    CallRefInfo
    ConstInfo
    DataDropInfo
    DataSegmentRef

    Reference to a Module.DataSegment.

    DropInfo
    ElementSegmentInfo
    ElementSegmentRef

    Reference to an Module.ElementSegment.

    ExportInfo
    ExportRef

    Reference to an Module.Export.

    ExpressionBuilder

    An namespace of functions for building WASM expressions.

    ExpressionInfo
    ExpressionRef
    FunctionInfo
    FunctionRef

    Reference to a Module.Function.

    GlobalGetInfo
    GlobalInfo
    GlobalRef

    Reference to a Module.Global.

    GlobalSetInfo
    I31GetInfo
    IfInfo
    LoadInfo
    LocalGetInfo
    LocalSetInfo
    LoopInfo
    MemoryCopyInfo
    MemoryFillInfo
    MemoryGrowInfo
    MemoryInfo
    MemoryInitInfo
    MemoryRef

    Reference to a Module.Memory.

    MemorySizeInfo
    ModuleRef

    Reference to a Module.

    PublishInfo
    RefAsInfo
    RefCastInfo
    RefEqInfo
    RefFuncInfo
    RefI31Info
    RefIsNullInfo
    RefTestInfo
    RelooperBlockRef
    RethrowInfo
    ReturnInfo
    SelectInfo
    SIMDExtractInfo
    SIMDLoadInfo
    SIMDLoadStoreLaneInfo
    SIMDReplaceInfo
    SIMDShiftInfo
    SIMDShuffleInfo
    SIMDTernaryInfo
    StoreInfo
    StringConcatInfo
    StringConstInfo
    StringEncodeInfo
    StringEqInfo
    StringMeasureInfo
    StringNewInfo
    StringSliceWTFInfo
    StringWTF16GetInfo
    StructGetInfo
    StructNewInfo
    StructSetInfo
    StructWaitInfo
    SwitchInfo
    TableGetInfo
    TableGrowInfo
    TableInfo
    TableRef

    Reference to a Module.Table.

    TableSetInfo
    TableSizeInfo
    TagInfo
    TagRef

    Reference to a Module.Tag.

    ThrowInfo
    ThrowRefInfo
    TryInfo
    TryTableInfo
    TupleExtractInfo
    TupleMakeInfo
    UnaryInfo
    WaitqueueNewInfo
    WaitqueueNotifyInfo
    WideIntAddSubInfo
    WideIntMulInfo
    addPassToSkip
    ArrayCopy
    ArrayFill
    ArrayGet
    ArrayInitData
    ArrayInitElem
    ArrayLen
    ArrayNew
    ArrayNewData
    ArrayNewElem
    ArrayNewFixed
    ArraySet
    AtomicCmpxchg
    AtomicFence
    AtomicNotify
    AtomicRMW
    AtomicWait
    Binary
    Block
    Break
    BrOn
    Call
    CallIndirect
    CallRef
    clearPassArguments
    clearPassesToSkip
    Const
    DataDrop
    Drop
    ExpressionIds
    ExternalKinds
    Features
    Function
    getAllowInliningFunctionsWithLoops
    getAlwaysInlineMaxSize
    getClosedWorld
    getDebugInfo
    getElementSegmentInfo
    getExportInfo
    getFastMath
    getFlexibleInlineMaxSize
    getFunctionInfo
    getGenerateStackIR
    getGlobalInfo
    getLowMemoryUnused
    getOneCallerInlineMaxSize
    getOptimizeLevel
    getOptimizeStackIR
    getPassArgument
    getShrinkLevel
    getSideEffects
    getTableInfo
    getTagInfo
    getTrapsNeverHappen
    getZeroFilledMemory
    GlobalGet
    GlobalSet
    hasPassToSkip
    I31Get
    If
    Load
    LocalGet
    LocalSet
    Loop
    MemoryCopy
    MemoryFill
    MemoryGrow
    MemoryInit
    MemorySize
    RefAs
    RefCast
    RefEq
    RefFunc
    RefI31
    RefIsNull
    RefTest
    Rethrow
    Return
    Select
    setAllowInliningFunctionsWithLoops
    setAlwaysInlineMaxSize
    setClosedWorld
    setDebugInfo
    setFastMath
    setFlexibleInlineMaxSize
    setGenerateStackIR
    setLowMemoryUnused
    setOneCallerInlineMaxSize
    setOptimizeLevel
    setOptimizeStackIR
    setPassArgument
    setShrinkLevel
    settings

    The global settings control.

    setTrapsNeverHappen
    setZeroFilledMemory
    SideEffects
    SIMDExtract
    SIMDLoad
    SIMDLoadStoreLane
    SIMDReplace
    SIMDShift
    SIMDShuffle
    SIMDTernary
    Store
    StringConcat
    StringConst
    StringEncode
    StringEq
    StringMeasure
    StringNew
    StringSliceWTF
    StringWTF16Get
    StructGet
    StructNew
    StructSet
    Switch
    Table
    TableGet
    TableGrow
    TableSet
    TableSize
    Throw
    Try
    TupleExtract
    TupleMake
    Unary
    WideIntAddSub
    WideIntMul
    createType

    Creates a multi-value type from an array of types.

    emitText

    Emits the expression in Binaryen’s s-expression text format (not official stack-style text format).

    exit
    expandType

    Expands a multi-value type to an array of types.

    Expression

    Creates a new Expression object given an ExpressionRef argument.

    getExpressionId

    A misnomer — returns not a unique “ID”, but the “kind” of the expression.

    getExpressionInfo

    Obtains information about an expression.

    getExpressionType

    Gets the type of the specified expression.

    getHeapType

    Gets the heap type of a type.

    getTypeFromHeapType

    Gets the type from a heap type generated by TypeBuilder.

    parseText

    Parses text format to a module with the given feature set enabled. features defaults to MVP.

    readBinary

    Parses a binary to a module with the given feature set enabled. features defaults to MVP.