Свойство | Тип | Описание | |
---|---|---|---|
boostLink | bool |
Метод | Описание | |
---|---|---|
AddDefaultConstructor ( TypeDeclaration type, List |
||
AddToStringMethod ( TypeDeclaration type ) : void | ||
ConvertToExternTypeArguments ( AstNodeCollection |
||
ConvertToExternTypeParameters ( AstNodeCollection |
||
DereferenceMembers ( AstNode node, string identifier ) : void | ||
ExtractAllTypesFrom ( AstNodeCollection |
||
ExtractAllTypesFrom ( Expression e ) : List |
||
GetChildrenOf ( AstNode member, |
Returns the childs nodes of type specified by variable type
|
|
GetChildrenOf ( CSharp member, |
Returns the childs nodes of type specified by variable type
|
|
GetCppName ( string CSharpName ) : string |
Tries to extract the C++ name of a C# name
|
|
GetDelegateArgs ( String type ) : ParameterDeclaration[] |
Returns the arguments of a delegate type
|
|
GetDelegateArgsNum ( String type ) : int |
Returns the number of input arguments of a delegate type
|
|
GetDelegateReturnType ( String identifier ) : string |
Returns the return type name of a delegate type
|
|
GetEntryPointFromDllImport ( CSharp |
Returns the name of the target external function
|
|
GetExplicitInterfaceTypes ( TypeDeclaration currentType ) : void |
Builds and adds the needed nested types in a current type representing explicit interfaces
|
|
GetExtraDLLs ( ) : List |
||
GetHeaderNode ( AstNode node, AstNode headerNode ) : void |
Return a header node form of a specified standard node
|
|
GetInlineConversionConstructorDeclarationCall ( ConversionConstructorDeclaration conv ) : string |
Returns the member string for calling a conversion constructor declaration: i.e. operator IB |
|
GetLibraryFromDllImport ( CSharp |
Gets the library in which the external method is located
|
|
GetNeededNamespaces ( ) : string[] |
Gets the needed namespaces of the current type
|
|
GetParentOf ( AstNode member, |
Returns the first parent node of type specified by variable type
|
|
GetParentOf ( CSharp member, |
Returns the first parent node of type specified by variable type
|
|
GetType ( string currentField_Variable, string currentType, string currentMethod, string currentParameter ) : AstType |
Tries to combine all of the provided parameters to extract the AstType class of an object with the identifier specified (Extracts the type of Field or variable, or parameters)
|
|
GetTypeIncludes ( ) : string[] |
Gets the types have to be included
|
|
GetTypeName ( Ast type ) : string |
Returns the name of a given AstType
|
|
GetTypeName ( CSharp type ) : string |
Returns the name of a given AstType
|
|
HasChildOf ( AstNode member, |
Returns if the node has a child of a specified type
|
|
HasChildOf ( CSharp member, |
Returns if the node has a child of a specified type
|
|
IdentifierIsDelegate ( String identifier, String &type ) : bool |
Returns if an identifier belongs to a delegate type
|
|
InferNamespace ( CSharp type ) : string | ||
IsChildOf ( AstNode member, |
Checks if the node is child of other node of the specified type
|
|
IsChildOf ( CSharp member, |
Checks if the node is child of other node of the specified type
|
|
IsCustomEventCall ( MemberReferenceExpression memberReferenceExpression, string currentTypeName ) : bool |
Returns if a member reference expression in C# is a call over a C# custom event
|
|
IsDLLImportMethod ( CSharp method ) : bool |
Returns if a method is marked as an external method or not
|
|
IsDelegateType ( AstType type ) : bool |
Returns if the specified type name is a delegate type
|
|
IsDelegateType ( CSharp type ) : bool |
Returns if the specified type name is a delegate type
|
|
IsDelegateType ( String type ) : bool |
Returns if the specified type name is a delegate type
|
|
IsDirectChildOf ( AstNode member, |
Checks if the node is direct child of other node of the specified type
|
|
IsDirectChildOf ( CSharp member, |
Checks if the node is direct child of other node of the specified type
|
|
IsEnumType ( String type ) : bool |
Returns if a type is Enum type
|
|
IsLibraryType ( string type ) : bool |
Tells if a specified type is mapped with a library file
|
|
IsPointer ( string currentField_Variable, string currentType, string currentMethod, string currentParameter ) : bool |
Returns if an identifier is a pointer expression. This method checks if the identifier (declared in a method parameter, method variable, or class field) is a pointer. The method will search the identifier depending of the filled parameters or the null parameters CurrentType + currentFieldVarialbe CurrentMethod + CurrentParameter CurrentMethod + CurrentField_Variable
|
|
IsPropertyCall ( MemberReferenceExpression memberReferenceExpression, string currentTypeName ) : bool |
Returns if a member reference expression in C# is a call over a C# property
|
|
IsStringSwitch ( SwitchStatement switchStatement ) : bool | ||
IsStructReference ( MemberReferenceExpression memberReferenceExpression, string currentTypeName, string currentMethodName ) : bool |
Returns if a member reference expression in C# is a call over a struct
|
|
IsStructType ( String type ) : bool | ||
IsSynchronizedMethod ( CSharp method ) : bool |
Returns if a method is marked as synchronized or not
|
|
IsSynchronizedMethod ( MethodDeclaration method ) : bool |
Returns if a method is marked as synchronized or not
|
|
IsTemplatizedAbstractMethod ( string type, string method ) : bool |
Returns if a method is an abstract method returning a templatized type (useful for avoiding covariance errors)
|
|
IsTemplatizedType ( AstType type ) : bool |
Returns if a type has template arguments
|
|
IsTemplatizedType ( CSharp type ) : bool |
Returns if a type has template arguments
|
|
IsTypeArgument ( AstType type ) : bool |
Returns if a specified type is a type argument
|
|
IsUnsafe ( string currentField_Variable, string currentType, string currentMethod, string currentParameter ) : bool |
Returns if an identifier is an unsafe expression. This method checks if the identifier (declared in a method parameter, method variable, or class field) is an unsasfe pointer variable. The method will search the identifier depending of the filled parameters or the null parameters CurrentType + currentFieldVarialbe CurrentMethod + CurrentParameter CurrentMethod + CurrentField_Variable
|
|
IsValueType ( string currentNamespace, string type ) : bool | ||
NeedsDereference ( CSharp node, string currentType, string currentMethod ) : bool |
Returns if a node (i.e expression, identifier...) needs a dereference
|
|
NeedsDereference ( string currentField_Variable, string currentType, string currentMethod, string currentParameter ) : bool |
Returns if an identifier needs a dereference operation
|
|
NeedsForwardDeclaration ( string fw_dcl_type1, string &fw_dcl_type2 ) : bool |
Returns if a forward declaration is needed between two types
|
|
OneInheritsFromOther ( string one, string other ) : bool | ||
ProcessIncludes ( string typeDeclarationName ) : void |
Makes the preprocessing of the includes list
|
|
RefactorAllIdentifiers ( AstNode node, string identifier, Expression newIdentifier ) : void | ||
RefactorPropety ( Expression input, String currentTypeName, String accessor ) : Expression |
Refactors the C# property accessors to methods (i.e getProperty() setProperty(value)
|
|
RefactorStringSwitchStatement ( SwitchStatement switchStatement ) : String | ||
RemoveHeaderNode ( AstNode node, TypeDeclaration type ) : void |
Removes a node from the header nodes list of a specified type
|
|
RemoveInclude ( string typeName ) : void | ||
ResolveMemberType ( CSharp mref ) : Mono.Cecil.TypeDefinition | ||
ResolveNamespace ( string type ) : string |
Resolves the namespace of a given type name
|
|
Restart ( ) : void |
Restarts the resolver class variables
|
|
TryPatchTemplateToObjectType ( AstType type, AstType &newType ) : bool |
Converts template types to Object type (useful for inline methods and template specialization types)
|
Метод | Описание | |
---|---|---|
IdentifierIsEvent ( string identifier, string &type ) : bool |
Returns if an identifier belongs to an event type
|
|
Reaches ( string type1, string type2, Dictionary |
Tells if one type includes other type (recursively)
|
|
Resolver ( ) : System |
public static AddDefaultConstructor ( TypeDeclaration type, List |
||
type | TypeDeclaration | |
extraStatements | List |
|
Результат | void |
public static AddToStringMethod ( TypeDeclaration type ) : void | ||
type | TypeDeclaration | |
Результат | void |
public static ConvertToExternTypeArguments ( AstNodeCollection |
||
parameters | AstNodeCollection |
|
Результат | List |
public static ConvertToExternTypeParameters ( AstNodeCollection |
||
parameters | AstNodeCollection |
|
Результат | AstNodeCollection |
public static DereferenceMembers ( AstNode node, string identifier ) : void | ||
node | AstNode | |
identifier | string | |
Результат | void |
public static ExtractAllTypesFrom ( AstNodeCollection |
||
elist | AstNodeCollection |
|
Результат | List |
public static ExtractAllTypesFrom ( Expression e ) : List |
||
e | Expression | |
Результат | List |
public static GetChildrenOf ( AstNode member, |
||
member | AstNode | Original node |
type | Target type of | |
Результат | List |
public static GetChildrenOf ( CSharp member, |
||
member | CSharp | Original node |
type | Target type of | |
Результат | List |
public static GetCppName ( string CSharpName ) : string | ||
CSharpName | string | |
Результат | string |
public static GetDelegateArgs ( String type ) : ParameterDeclaration[] | ||
type | String | The delegate type |
Результат | ParameterDeclaration[] |
public static GetDelegateArgsNum ( String type ) : int | ||
type | String | The delegate type |
Результат | int |
public static GetDelegateReturnType ( String identifier ) : string | ||
identifier | String | Delegate type |
Результат | string |
public static GetEntryPointFromDllImport ( CSharp |
||
attributes | CSharp |
|
Результат | string |
public static GetExplicitInterfaceTypes ( TypeDeclaration currentType ) : void | ||
currentType | TypeDeclaration | |
Результат | void |
public static GetHeaderNode ( AstNode node, AstNode headerNode ) : void | ||
node | AstNode | |
headerNode | AstNode | |
Результат | void |