SynMemberDefn Type
Represents a definition element within a type definition, e.g. 'member ... '
Union cases
Union case |
Description
|
Full Usage:
AbstractSlot(slotSig, flags, range, trivia)
Parameters:
SynValSig
flags : SynMemberFlags
range : range
trivia : SynMemberDefnAbstractSlotTrivia
|
An abstract slot definition within a class or interface
|
Full Usage:
AutoProperty(attributes, isStatic, ident, typeOpt, propKind, memberFlags, memberFlagsForSet, xmlDoc, accessibility, synExpr, range, trivia)
Parameters:
SynAttributes
isStatic : bool
ident : Ident
typeOpt : SynType option
propKind : SynMemberKind
memberFlags : SynMemberFlags
memberFlagsForSet : SynMemberFlags
xmlDoc : PreXmlDoc
accessibility : SynValSigAccess
synExpr : SynExpr
range : range
trivia : SynMemberDefnAutoPropertyTrivia
|
An auto-property definition, F# syntax: 'member val X = expr'
|
Full Usage:
GetSetMember(memberDefnForGet, memberDefnForSet, range, trivia)
Parameters:
SynBinding option
memberDefnForSet : SynBinding option
range : range
trivia : SynMemberGetSetTrivia
|
A 'member' definition with get/set accessors within a type
|
Full Usage:
ImplicitCtor(accessibility, attributes, ctorArgs, selfIdentifier, xmlDoc, range, trivia)
Parameters:
SynAccess option
attributes : SynAttributes
ctorArgs : SynPat
selfIdentifier : Ident option
xmlDoc : PreXmlDoc
range : range
trivia : SynMemberDefnImplicitCtorTrivia
|
An implicit constructor definition
|
Full Usage:
ImplicitInherit(inheritType, inheritArgs, inheritAlias, range, trivia)
Parameters:
SynType
inheritArgs : SynExpr
inheritAlias : Ident option
range : range
trivia : SynMemberDefnInheritTrivia
|
An implicit inherit definition, 'inherit
|
Full Usage:
Inherit(baseType, asIdent, range, trivia)
Parameters:
SynType option
asIdent : Ident option
range : range
trivia : SynMemberDefnInheritTrivia
|
An 'inherit' definition within a class
|
Full Usage:
Interface(interfaceType, withKeyword, members, range)
Parameters:
SynType
withKeyword : range option
members : SynMemberDefns option
range : range
|
An interface implementation definition within a class
|
Full Usage:
LetBindings(bindings, isStatic, isRecursive, range)
Parameters:
SynBinding list
isStatic : bool
isRecursive : bool
range : range
|
A 'let' definition within a class
|
|
A 'member' definition within a type
|
Full Usage:
NestedType(typeDefn, accessibility, range)
Parameters:
SynTypeDefn
accessibility : SynAccess option
range : range
|
A nested type definition, a feature that is not implemented
|
|
An 'open' definition within a type
|
|
Instance members
Instance member |
Description
|
Full Usage:
this.IsAbstractSlot
Returns: bool
|
|
Full Usage:
this.IsAutoProperty
Returns: bool
|
|
Full Usage:
this.IsGetSetMember
Returns: bool
|
|
Full Usage:
this.IsImplicitCtor
Returns: bool
|
|
Full Usage:
this.IsImplicitInherit
Returns: bool
|
|
Full Usage:
this.IsInherit
Returns: bool
|
|
Full Usage:
this.IsInterface
Returns: bool
|
|
Full Usage:
this.IsLetBindings
Returns: bool
|
|
Full Usage:
this.IsMember
Returns: bool
|
|
Full Usage:
this.IsNestedType
Returns: bool
|
|
Full Usage:
this.IsOpen
Returns: bool
|
|
Full Usage:
this.IsValField
Returns: bool
|
|
|
Gets the syntax range of this construct
|