Logo fantomas

UnionCaseNode Type

Example: `| MyCase of int * string` — a discriminated union case declaration.

Constructors

Constructor Description

UnionCaseNode(xmlDoc, attributes, bar, identifier, fields, range)

Full Usage: UnionCaseNode(xmlDoc, attributes, bar, identifier, fields, range)

Parameters:
Returns: UnionCaseNode
xmlDoc : XmlDocNode option
attributes : MultipleAttributeListNode option
bar : SingleTextNode option
identifier : SingleTextNode
fields : FieldNode list
range : range
Returns: UnionCaseNode

Instance members

Instance member Description

this.Attributes

Full Usage: this.Attributes

Returns: MultipleAttributeListNode option

this.Bar

Full Usage: this.Bar

Returns: SingleTextNode option
Returns: SingleTextNode option

this.Fields

Full Usage: this.Fields

Returns: FieldNode list
Returns: FieldNode list

this.Identifier

Full Usage: this.Identifier

Returns: SingleTextNode
Returns: SingleTextNode

this.XmlDoc

Full Usage: this.XmlDoc

Returns: XmlDocNode option
Returns: XmlDocNode option

Inherited members

Inherited from NodeBase

Instance members

Instance member Description

this.AddAfter

Full Usage: this.AddAfter

Parameters:
triviaNode : TriviaNode

this.AddBefore

Full Usage: this.AddBefore

Parameters:
triviaNode : TriviaNode

this.AddCursor

Full Usage: this.AddCursor

Parameters:
cursor : pos

this.AppendToStringWithIndent

Full Usage: this.AppendToStringWithIndent

Parameters:
sb : StringBuilder
depth : int

this.ToStringWithIndent

Full Usage: this.ToStringWithIndent

Parameters:
    depth : int

Returns: string
depth : int
Returns: string

this.ContentAfter

Full Usage: this.ContentAfter

Returns: TriviaNode seq
Returns: TriviaNode seq

this.HasContentBefore

Full Usage: this.HasContentBefore

Returns: bool
Returns: bool

this.Range

Full Usage: this.Range

Returns: range
Returns: range

this.TryGetCursor

Full Usage: this.TryGetCursor

Returns: pos option
Returns: pos option

this.Children

Full Usage: this.Children

Returns: Node array
Modifiers: abstract
Returns: Node array

this.HasContentAfter

Full Usage: this.HasContentAfter

Returns: bool
Returns: bool

this.ContentBefore

Full Usage: this.ContentBefore

Returns: TriviaNode seq
Returns: TriviaNode seq

Type something to start searching.