C# Class ilcclib.Converter.TraversableCConverter

Inheritance: ICConverter
Exibir arquivo Open project: soywiz/ilcc

Protected Properties

Property Type Description
CustomTypeContext TypeContext
OutputName string

Public Methods

Method Description
ConvertCTypeToType ( CType CType ) : Type
ConvertTypeToCType ( Type Type ) : CType
Initialize ( string OutputName ) : void
SetOutputName ( string OutputName ) : void
TraversableCConverter ( ) : System

Protected Methods

Method Description
ConvertCTypeToTypeString ( CType CType ) : string
ConvertCTypeToType_GetFixedArrayType ( CType ElementCType, Type ElementType, int FixedSize ) : Type
CreateTypeFromCType ( CType CType ) : Type
GetOrCreateTypeFromCType ( CType CType ) : Type
ICConverter ( CCompiler CCompiler, CParser TranslationUnit ) : void

TraverseHook ( System.Action Action, CParser ParentNode, CParser Node ) : void

Private Methods

Method Description
Traverse ( ) : void

Method Details

ConvertCTypeToType() public method

public ConvertCTypeToType ( CType CType ) : Type
CType CType
return System.Type

ConvertCTypeToTypeString() protected method

protected ConvertCTypeToTypeString ( CType CType ) : string
CType CType
return string

ConvertCTypeToType_GetFixedArrayType() protected abstract method

protected abstract ConvertCTypeToType_GetFixedArrayType ( CType ElementCType, Type ElementType, int FixedSize ) : Type
ElementCType CType
ElementType System.Type
FixedSize int
return System.Type

ConvertTypeToCType() public method

public ConvertTypeToCType ( Type Type ) : CType
Type System.Type
return CType

CreateTypeFromCType() protected method

protected CreateTypeFromCType ( CType CType ) : Type
CType CType
return System.Type

GetOrCreateTypeFromCType() protected method

protected GetOrCreateTypeFromCType ( CType CType ) : Type
CType CType
return System.Type

ICConverter() protected method

protected ICConverter ( CCompiler CCompiler, CParser TranslationUnit ) : void
CCompiler ilcclib.Compiler.CCompiler
TranslationUnit CParser
return void

Initialize() public method

public Initialize ( string OutputName ) : void
OutputName string
return void

SetOutputName() public method

public SetOutputName ( string OutputName ) : void
OutputName string
return void

TraversableCConverter() public method

public TraversableCConverter ( ) : System
return System

TraverseHook() protected method

protected TraverseHook ( System.Action Action, CParser ParentNode, CParser Node ) : void
Action System.Action
ParentNode CParser
Node CParser
return void

Property Details

CustomTypeContext protected_oe property

protected TypeContext CustomTypeContext
return TypeContext

OutputName protected_oe property

protected string OutputName
return string