ChainSegment Type
A single dot-prefixed step in a member-access or call chain.
Every step is reached through a
Union cases
| Union case |
Description
|
Full Usage:
DotApplication(dot, expr, call)
Parameters:
SingleTextNode
expr : Expr
call : ChainCall
|
.Foo(x) — intermediate call — always tight, never a space before ( .Foo() — intermediate unit call — always tight e.g. the `.Foo(x)` in `a.Foo(x).Bar`. The terminal call of a chain is not a segment.
|
|
Old dot-bracket index syntax:
|
|
.Foo — plain property access (navigation) .Items[0] — expr = IndexWithoutDot(Items, [0]), no dedicated case needed
|
Instance members
| Instance member |
Description
|
Full Usage:
this.IsDotApplication
Returns: bool
|
|
Full Usage:
this.IsDotIndex
Returns: bool
|
|
Full Usage:
this.IsDotMember
Returns: bool
|
|
fantomas