Header menu logo fantomas

SynMemberDefn Type

Represents a definition element within a type definition, e.g. 'member ... '

Union cases

Union case Description

AbstractSlot(slotSig, flags, range, trivia)

Full Usage: AbstractSlot(slotSig, flags, range, trivia)

Parameters:

An abstract slot definition within a class or interface

slotSig : SynValSig
flags : SynMemberFlags
range : range
trivia : SynMemberDefnAbstractSlotTrivia

AutoProperty(attributes, isStatic, ident, typeOpt, propKind, memberFlags, memberFlagsForSet, xmlDoc, accessibility, synExpr, range, trivia)

Full Usage: AutoProperty(attributes, isStatic, ident, typeOpt, propKind, memberFlags, memberFlagsForSet, xmlDoc, accessibility, synExpr, range, trivia)

Parameters:

An auto-property definition, F# syntax: 'member val X = expr'

attributes : SynAttributes
isStatic : bool
ident : Ident
typeOpt : SynType option
propKind : SynMemberKind
memberFlags : SynMemberFlags
memberFlagsForSet : SynMemberFlags
xmlDoc : PreXmlDoc
accessibility : SynAccess option
synExpr : SynExpr
range : range
trivia : SynMemberDefnAutoPropertyTrivia

GetSetMember(memberDefnForGet, memberDefnForSet, range, trivia)

Full Usage: GetSetMember(memberDefnForGet, memberDefnForSet, range, trivia)

Parameters:

A 'member' definition with get/set accessors within a type

memberDefnForGet : SynBinding option
memberDefnForSet : SynBinding option
range : range
trivia : SynMemberGetSetTrivia

ImplicitCtor(accessibility, attributes, ctorArgs, selfIdentifier, xmlDoc, range, trivia)

Full Usage: ImplicitCtor(accessibility, attributes, ctorArgs, selfIdentifier, xmlDoc, range, trivia)

Parameters:

An implicit constructor definition

accessibility : SynAccess option
attributes : SynAttributes
ctorArgs : SynPat
selfIdentifier : Ident option
xmlDoc : PreXmlDoc
range : range
trivia : SynMemberDefnImplicitCtorTrivia

ImplicitInherit(inheritType, inheritArgs, inheritAlias, range)

Full Usage: ImplicitInherit(inheritType, inheritArgs, inheritAlias, range)

Parameters:

An implicit inherit definition, 'inherit (args...) as base'

inheritType : SynType
inheritArgs : SynExpr
inheritAlias : Ident option
range : range

Inherit(baseType, asIdent, range)

Full Usage: Inherit(baseType, asIdent, range)

Parameters:

An 'inherit' definition within a class

baseType : SynType
asIdent : Ident option
range : range

Interface(interfaceType, withKeyword, members, range)

Full Usage: Interface(interfaceType, withKeyword, members, range)

Parameters:

An interface implementation definition within a class

interfaceType : SynType
withKeyword : range option
members : SynMemberDefns option
range : range

LetBindings(bindings, isStatic, isRecursive, range)

Full Usage: LetBindings(bindings, isStatic, isRecursive, range)

Parameters:
    bindings : SynBinding list
    isStatic : bool
    isRecursive : bool
    range : range

A 'let' definition within a class

bindings : SynBinding list
isStatic : bool
isRecursive : bool
range : range

Member(memberDefn, range)

Full Usage: Member(memberDefn, range)

Parameters:

A 'member' definition within a type

memberDefn : SynBinding
range : range

NestedType(typeDefn, accessibility, range)

Full Usage: NestedType(typeDefn, accessibility, range)

Parameters:

A nested type definition, a feature that is not implemented

typeDefn : SynTypeDefn
accessibility : SynAccess option
range : range

Open(target, range)

Full Usage: Open(target, range)

Parameters:

An 'open' definition within a type

target : SynOpenDeclTarget
range : range

ValField(fieldInfo, range)

Full Usage: ValField(fieldInfo, range)

Parameters:

A 'val' definition within a class

fieldInfo : SynField
range : range

Instance members

Instance member Description

this.Range

Full Usage: this.Range

Returns: range

Gets the syntax range of this construct

Returns: range

Type something to start searching.