Header menu logo F# Compiler Guide

SynModuleOrNamespaceKind Type

Represents the kind of a module or namespace definition

Union cases

Union case Description

AnonModule

Full Usage: AnonModule

A module is anonymously named, e.g. a script

DeclaredNamespace

Full Usage: DeclaredNamespace

A namespace is explicitly declared

GlobalNamespace

Full Usage: GlobalNamespace

A namespace is declared 'global'

NamedModule

Full Usage: NamedModule

A module is explicitly named 'module N'

Instance members

Instance member Description

this.IsAnonModule

Full Usage: this.IsAnonModule

Returns: bool
Returns: bool

this.IsDeclaredNamespace

Full Usage: this.IsDeclaredNamespace

Returns: bool
Returns: bool

this.IsGlobalNamespace

Full Usage: this.IsGlobalNamespace

Returns: bool
Returns: bool

this.IsModule

Full Usage: this.IsModule

Returns: bool

Indicates if this is a module definition

Returns: bool

this.IsNamedModule

Full Usage: this.IsNamedModule

Returns: bool
Returns: bool

Type something to start searching.