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 : SynAccess option
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:
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
|
|
Gets the syntax range of this construct
|