Header menu logo F# Compiler Guide

ParsedImplFileFragment Type

Represents the syntax tree for the contents of a parsed implementation file

Union cases

Union case Description

AnonModule(decls, range)

Full Usage: AnonModule(decls, range)

Parameters:

An implementation file which is an anonymous module definition, e.g. a script

decls : SynModuleDecl list
range : range

NamedModule namedModule

Full Usage: NamedModule namedModule

Parameters:

An implementation file is a named module definition, 'module N'

namedModule : SynModuleOrNamespace

NamespaceFragment(longId, isRecursive, kind, decls, xmlDoc, attributes, range, trivia)

Full Usage: NamespaceFragment(longId, isRecursive, kind, decls, xmlDoc, attributes, range, trivia)

Parameters:

An implementation file fragment which declares a namespace fragment

longId : LongIdent
isRecursive : bool
kind : SynModuleOrNamespaceKind
decls : SynModuleDecl list
xmlDoc : PreXmlDoc
attributes : SynAttributes
range : range
trivia : SynModuleOrNamespaceTrivia

Instance members

Instance member Description

this.IsAnonModule

Full Usage: this.IsAnonModule

Returns: bool
Returns: bool

this.IsNamedModule

Full Usage: this.IsNamedModule

Returns: bool
Returns: bool

this.IsNamespaceFragment

Full Usage: this.IsNamespaceFragment

Returns: bool
Returns: bool

Type something to start searching.