C# Class WasmSExprEmitter.WasmUtil

Mostrar archivo Open project: WebAssembly/ilwasm Class Usage Examples

Public Properties

Property Type Description
HeapSizes int>.Dictionary

Public Methods

Method Description
ConditionalNewLine ( this formatter ) : void
EscapeIdentifier ( string identifier ) : string
FormatMemberName ( IMemberDefinition member ) : string
OffsetOfField ( FieldDefinition fd ) : int
PickMemoryTypeSuffix ( TypeReference type, bool isStore ) : string
PickTypeKeyword ( TypeReference type ) : string
SizeOfStruct ( TypeReference type ) : int
SizeOfType ( TypeReference type ) : int
WriteSExpr ( this formatter, string keyword, Action interior = null, bool lineBreakInside = false, bool lineBreakAfter = false ) : void

Method Details

ConditionalNewLine() public static method

public static ConditionalNewLine ( this formatter ) : void
formatter this
return void

EscapeIdentifier() public static method

public static EscapeIdentifier ( string identifier ) : string
identifier string
return string

FormatMemberName() public static method

public static FormatMemberName ( IMemberDefinition member ) : string
member IMemberDefinition
return string

OffsetOfField() public static method

public static OffsetOfField ( FieldDefinition fd ) : int
fd Mono.Cecil.FieldDefinition
return int

PickMemoryTypeSuffix() public static method

public static PickMemoryTypeSuffix ( TypeReference type, bool isStore ) : string
type Mono.Cecil.TypeReference
isStore bool
return string

PickTypeKeyword() public static method

public static PickTypeKeyword ( TypeReference type ) : string
type Mono.Cecil.TypeReference
return string

SizeOfStruct() public static method

public static SizeOfStruct ( TypeReference type ) : int
type Mono.Cecil.TypeReference
return int

SizeOfType() public static method

public static SizeOfType ( TypeReference type ) : int
type Mono.Cecil.TypeReference
return int

WriteSExpr() public static method

public static WriteSExpr ( this formatter, string keyword, Action interior = null, bool lineBreakInside = false, bool lineBreakAfter = false ) : void
formatter this
keyword string
interior Action
lineBreakInside bool
lineBreakAfter bool
return void

Property Details

HeapSizes public_oe static_oe property

public static Dictionary HeapSizes
return int>.Dictionary