public static PickMemoryTypeSuffix ( |
||
type | ||
isStore | bool | |
Результат | string |
public GetMemory( TypeReference type, bool isAligned, JSExpression addressInBytes ) : base( string.Format( "{0}.load{1}{2}", WasmUtil.PickTypeKeyword(type), WasmUtil.PickMemoryTypeSuffix(type, false), isAligned ? "" : "/1" ), addressInBytes ) { Type = type; IsAligned = isAligned; }
public SetMemory( TypeReference type, bool isAligned, JSExpression addressInBytes, JSExpression value ) : base( string.Format( "{0}.store{1}{2}", WasmUtil.PickTypeKeyword(type), WasmUtil.PickMemoryTypeSuffix(type, true), isAligned ? "" : "/1" ), addressInBytes, value ) { Type = type; IsAligned = isAligned; LineBreakInside = true; LineBreakAfter = true; }