Class WasmCastBranch
java.lang.Object
org.teavm.backend.wasm.model.expression.WasmExpression
org.teavm.backend.wasm.model.expression.WasmCastBranch
-
Constructor Summary
ConstructorsConstructorDescriptionWasmCastBranch(WasmCastCondition condition, WasmExpression value, WasmType.Reference sourceType, WasmType.Reference type, WasmBlock target) -
Method Summary
Modifier and TypeMethodDescriptionvoidacceptVisitor(WasmExpressionVisitor visitor) getType()getValue()voidsetCondition(WasmCastCondition condition) voidsetResult(WasmExpression result) voidsetSourceType(WasmType.Reference sourceType) voidvoidsetType(WasmType.Reference type) voidsetValue(WasmExpression value) Methods inherited from class org.teavm.backend.wasm.model.expression.WasmExpression
defaultValueOfType, getLocation, isTerminating, setLocation
-
Constructor Details
-
WasmCastBranch
public WasmCastBranch(WasmCastCondition condition, WasmExpression value, WasmType.Reference sourceType, WasmType.Reference type, WasmBlock target)
-
-
Method Details
-
getCondition
-
setCondition
-
getValue
-
setValue
-
getSourceType
-
setSourceType
-
getType
-
setType
-
getTarget
-
setTarget
-
getResult
-
setResult
-
acceptVisitor
- Specified by:
acceptVisitorin classWasmExpression
-