final case class Function(id: FunctionID, originalName: OriginalName, typeID: TypeID, params: List[Local], results: List[Type], locals: List[Local], body: Expr, pos: Position) extends Product with Serializable
A WebAssembly func
, including names/types for parameters, locals and results.
- Note
The
params
' types and theresults
are not strictly necessary, as they can be derived from thetypeID
by resolving it to a function type. The binary writer ignores them. They are used by the text writer.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Function
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Function(id: FunctionID, originalName: OriginalName, typeID: TypeID, params: List[Local], results: List[Type], locals: List[Local], body: Expr, pos: Position)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val body: Expr
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val id: FunctionID
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val locals: List[Local]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val originalName: OriginalName
- val params: List[Local]
- val pos: Position
- val results: List[Type]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val typeID: TypeID
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()