C# Класс CsDebugScript.CodeGen.UserTypes.GlobalsUserType

User type that represents static class for getting global variables located in Module.
Наследование: UserType
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GlobalsUserType ( Symbol symbol, XmlType xmlType, string nameSpace ) : System.Collections.Generic

Initializes a new instance of the GlobalsUserType class.

Защищенные методы

Метод Описание
ExtractFields ( UserTypeFactory factory, UserTypeGenerationFlags generationFlags ) : IEnumerable

Extracts all fields from the user type.

GenerateConstructors ( UserTypeGenerationFlags generationFlags ) : IEnumerable

Generates the constructors.

GetBaseClassTypeTree ( TextWriter error, Symbol type, UserTypeFactory factory, int &baseClassOffset ) : TypeTree

Gets the type tree for the base class. If class has multi inheritance, it can return MultiClassInheritanceTypeTree or SingleClassInheritanceWithInterfacesTypeTree.

Описание методов

ExtractFields() защищенный Метод

Extracts all fields from the user type.
protected ExtractFields ( UserTypeFactory factory, UserTypeGenerationFlags generationFlags ) : IEnumerable
factory UserTypeFactory The user type factory.
generationFlags UserTypeGenerationFlags The user type generation flags.
Результат IEnumerable

GenerateConstructors() защищенный Метод

Generates the constructors.
protected GenerateConstructors ( UserTypeGenerationFlags generationFlags ) : IEnumerable
generationFlags UserTypeGenerationFlags The user type generation flags.
Результат IEnumerable

GetBaseClassTypeTree() защищенный Метод

Gets the type tree for the base class. If class has multi inheritance, it can return MultiClassInheritanceTypeTree or SingleClassInheritanceWithInterfacesTypeTree.
protected GetBaseClassTypeTree ( TextWriter error, Symbol type, UserTypeFactory factory, int &baseClassOffset ) : TypeTree
error System.IO.TextWriter The error text writer.
type Symbol The type for which we are getting base class.
factory UserTypeFactory The user type factory.
baseClassOffset int The base class offset.
Результат CsDebugScript.CodeGen.TypeTrees.TypeTree

GlobalsUserType() публичный Метод

Initializes a new instance of the GlobalsUserType class.
public GlobalsUserType ( Symbol symbol, XmlType xmlType, string nameSpace ) : System.Collections.Generic
symbol Symbol The symbol we are generating this user type from.
xmlType XmlType The XML description of the type.
nameSpace string The namespace it belongs to.
Результат System.Collections.Generic