C# Class Monobjc.Tools.Generator.Generators.FunctionGenerator

Code generator for method.
Inheritance: MethodGenerator
Afficher le fichier Open project: Monobjc/monobjc-tools

Méthodes publiques

Méthode Description
Generate ( TypedEntity typedEntity, FunctionEntity functionEntity ) : void

/// Generates the specified entity. ///

Generates the specified entity.

Méthodes protégées

Méthode Description
GenerateFunctionBody ( int indent, TypedEntity typedEntity, FunctionEntity methodEntity, FunctionEntity innerMethodEntity, bool needStorage, String suffix = null ) : void

Private Methods

Méthode Description
DeriveFunctionEntity ( FunctionEntity functionEntity, bool is64Bits ) : FunctionEntity
GenerateNativeFunction ( TypedEntity typedEntity, FunctionEntity functionEntity, String suffix, bool isPublic ) : void
GenerateWrapperFunction ( TypedEntity typedEntity, FunctionEntity functionEntity, FunctionEntity functionEntity32, FunctionEntity functionEntity64, bool needStorage ) : void
GetFrameworkPath ( String framework ) : String
GetFunctionInvocation ( TypedEntity typedEntity, FunctionEntity functionEntity, FunctionEntity innerFunctionEntity, String suffix = null ) : string

Method Details

Generate() public méthode

/// Generates the specified entity. /// Generates the specified entity.
public Generate ( TypedEntity typedEntity, FunctionEntity functionEntity ) : void
typedEntity Monobjc.Tools.Generator.Model.TypedEntity The type entity.
functionEntity Monobjc.Tools.Generator.Model.FunctionEntity The function entity.
Résultat void

GenerateFunctionBody() protected méthode

protected GenerateFunctionBody ( int indent, TypedEntity typedEntity, FunctionEntity methodEntity, FunctionEntity innerMethodEntity, bool needStorage, String suffix = null ) : void
indent int
typedEntity Monobjc.Tools.Generator.Model.TypedEntity
methodEntity Monobjc.Tools.Generator.Model.FunctionEntity
innerMethodEntity Monobjc.Tools.Generator.Model.FunctionEntity
needStorage bool
suffix String
Résultat void