Table of Contents

Enum ModuleType

Namespace
RDCore.SDK.Model.AST.Declarations
Assembly
RDCore.SDK.dll

Describes the type of module an AST is for.

public enum ModuleType
Extension Methods

Fields

ClassModule = 1

Root node is for a class module.

DocumentModule = 2

Root node is for a document module: the code of a host's document - an Excel worksheet or workbook, a Word document, an Access form or report - which is an extension module of the extensible module the host has for it (MS-VBAL §4.2.1). It is a class module, with the attributes a document module has (DirectivesOf(ModuleType, ModuleDirectives)), analyzed and never run: RD-VBA hosts no document.

StdModule = 0

Root node is for a standard (procedural) module.

Remarks

What decides it is Of(RDCoreModule?, string?): the project's word for a document module, and the module's own VERSION header otherwise.