C# Class Spark.Emit.CPlusPlus.EmitMethodCPP

Inheritance: IEmitMethod
ファイルを表示 Open project: spark-shading-language/spark Class Usage Examples

Public Methods

Method Description
AddParameter ( IEmitType type, string name ) : IEmitVal
EmitMethodCPP ( EmitClassCPP clazz, string prefix, string name, string cconv, IEmitType resultType, Span headerSpan, Span sourceSpan ) : System
WriteParameter ( IEmitType type, string name, bool first, Span span ) : void

Private Methods

Method Description
CreateSignatureSpan ( string qualifiedName, Span span ) : Span

Method Details

AddParameter() public method

public AddParameter ( IEmitType type, string name ) : IEmitVal
type IEmitType
name string
return IEmitVal

EmitMethodCPP() public method

public EmitMethodCPP ( EmitClassCPP clazz, string prefix, string name, string cconv, IEmitType resultType, Span headerSpan, Span sourceSpan ) : System
clazz EmitClassCPP
prefix string
name string
cconv string
resultType IEmitType
headerSpan Span
sourceSpan Span
return System

WriteParameter() public method

public WriteParameter ( IEmitType type, string name, bool first, Span span ) : void
type IEmitType
name string
first bool
span Span
return void