C# Class Foxoft.Ci.GenC

Inheritance: SourceGenerator
Afficher le fichier Open project: epi/cito Class Usage Examples

Méthodes publiques

Méthode Description
Visit ( CiAssign assign ) : void
Visit ( CiConst stmt ) : void
Visit ( CiDelete stmt ) : void
Visit ( CiExpr expr ) : void
Visit ( CiReturn stmt ) : void
Visit ( CiThrow stmt ) : void
Visit ( CiVar stmt ) : void
Write ( CiProgram prog ) : void

Méthodes protégées

Méthode Description
GetPriority ( CiExpr expr ) : CiPriority
IsInlineVar ( CiVar def ) : bool
StartBlock ( ICiStatement statements ) : void
StartCase ( ICiStatement stmt ) : void
ToString ( CiType type ) : string
Write ( CiBinaryExpr expr ) : void
Write ( CiCoercion expr ) : void
Write ( CiFieldAccess expr ) : void
Write ( CiMethodCall expr ) : void
Write ( CiPropertyAccess expr ) : void
Write ( CiType type, string name ) : void
Write ( CiVarAccess expr ) : void
Write ( ICiStatement statements ) : void
WriteBoolType ( ) : void
WriteClearArray ( CiExpr expr ) : void
WriteConst ( object value ) : void
WriteConstruct ( CiClass klass, CiVar stmt ) : void
WriteIfOnTrue ( CiIf stmt ) : void
WriteName ( CiConst konst ) : void
WriteNew ( CiType type ) : void

Private Methods

Méthode Description
AddsVirtualMethod ( CiClass klass, string methodName ) : bool
AddsVirtualMethods ( CiClass klass ) : bool
CheckAndThrow ( CiMaybeAssign expr, object errorReturnValue ) : void
EnumVirtualMethods ( CiClass klass ) : IEnumerable
ForEachStorageField ( CiClass klass, CiClass>.Action action ) : void
GetVtblPtrClass ( CiClass klass ) : CiClass
GetVtblStructClass ( CiClass klass ) : CiClass
HasCStruct ( CiClass klass ) : bool
HasVirtualMethods ( CiClass klass ) : bool
HasVtblValue ( CiClass klass ) : bool
InsertPtr ( StringBuilder sb, PtrWritability wr ) : void
SizeOf ( CiClass klass ) : int
SizeOf ( CiType type ) : int
StartFieldAccess ( CiExpr expr ) : void
Throws ( CiExpr expr ) : bool
ToString ( CiType type, string s ) : string
TryWriteCallAndReturn ( ICiStatement statements, int lastCallIndex, CiExpr returnValue ) : bool
Write ( CiClass klass, CiConst konst ) : void
Write ( CiDelegate del ) : void
Write ( CiEnum enu ) : void
Write ( CiField field ) : void
Write ( CiMethod method ) : void
WriteChild ( CiMaybeAssign expr ) : void
WriteChildWithSuggestedParentheses ( CiBinaryExpr parent, CiExpr child, CiPriority suggestedParentPriority, bool assoc ) : void
WriteCode ( CiClass klass ) : void
WriteConstructorNewDelete ( CiClass klass ) : void
WriteConstructorSignature ( CiClass klass ) : void
WriteDeleteSignature ( CiClass klass ) : void
WriteGuard ( string directive ) : void
WriteNew ( CiClass klass ) : void
WriteNewSignature ( CiClass klass ) : void
WritePtr ( CiMethod method, string name ) : void
WriteReturnTrue ( ) : void
WriteSignature ( CiMethod method ) : void
WriteSignatures ( CiClass klass, bool pub ) : void
WriteStruct ( CiClass klass ) : void
WriteTypedef ( CiClass klass ) : void
WriteTypedefs ( CiProgram prog, CiVisibility visibility ) : void
WriteVtblStruct ( CiClass klass ) : void
WriteVtblValue ( CiClass klass ) : void

Method Details

GetPriority() protected méthode

protected GetPriority ( CiExpr expr ) : CiPriority
expr CiExpr
Résultat CiPriority

IsInlineVar() protected static méthode

protected static IsInlineVar ( CiVar def ) : bool
def CiVar
Résultat bool

StartBlock() protected méthode

protected StartBlock ( ICiStatement statements ) : void
statements ICiStatement
Résultat void

StartCase() protected méthode

protected StartCase ( ICiStatement stmt ) : void
stmt ICiStatement
Résultat void

ToString() protected méthode

protected ToString ( CiType type ) : string
type CiType
Résultat string

Visit() public méthode

public Visit ( CiAssign assign ) : void
assign CiAssign
Résultat void

Visit() public méthode

public Visit ( CiConst stmt ) : void
stmt CiConst
Résultat void

Visit() public méthode

public Visit ( CiDelete stmt ) : void
stmt CiDelete
Résultat void

Visit() public méthode

public Visit ( CiExpr expr ) : void
expr CiExpr
Résultat void

Visit() public méthode

public Visit ( CiReturn stmt ) : void
stmt CiReturn
Résultat void

Visit() public méthode

public Visit ( CiThrow stmt ) : void
stmt CiThrow
Résultat void

Visit() public méthode

public Visit ( CiVar stmt ) : void
stmt CiVar
Résultat void

Write() protected méthode

protected Write ( CiBinaryExpr expr ) : void
expr CiBinaryExpr
Résultat void

Write() protected méthode

protected Write ( CiCoercion expr ) : void
expr CiCoercion
Résultat void

Write() protected méthode

protected Write ( CiFieldAccess expr ) : void
expr CiFieldAccess
Résultat void

Write() protected méthode

protected Write ( CiMethodCall expr ) : void
expr CiMethodCall
Résultat void

Write() public méthode

public Write ( CiProgram prog ) : void
prog CiProgram
Résultat void

Write() protected méthode

protected Write ( CiPropertyAccess expr ) : void
expr CiPropertyAccess
Résultat void

Write() protected méthode

protected Write ( CiType type, string name ) : void
type CiType
name string
Résultat void

Write() protected méthode

protected Write ( CiVarAccess expr ) : void
expr CiVarAccess
Résultat void

Write() protected méthode

protected Write ( ICiStatement statements ) : void
statements ICiStatement
Résultat void

WriteBoolType() protected méthode

protected WriteBoolType ( ) : void
Résultat void

WriteClearArray() protected méthode

protected WriteClearArray ( CiExpr expr ) : void
expr CiExpr
Résultat void

WriteConst() protected méthode

protected WriteConst ( object value ) : void
value object
Résultat void

WriteConstruct() protected méthode

protected WriteConstruct ( CiClass klass, CiVar stmt ) : void
klass CiClass
stmt CiVar
Résultat void

WriteIfOnTrue() protected méthode

protected WriteIfOnTrue ( CiIf stmt ) : void
stmt CiIf
Résultat void

WriteName() protected méthode

protected WriteName ( CiConst konst ) : void
konst CiConst
Résultat void

WriteNew() protected méthode

protected WriteNew ( CiType type ) : void
type CiType
Résultat void