ExprOptVarNode Type
A name used as an expression, the compiler's
value // a name
Module.value // two of these inside a chain: `Module`, then `.value`
f (?x = 1) // the `?x`, the one shape IsOptional is true for
Constructors
| Constructor |
Description
|
Full Usage:
ExprOptVarNode(isOptional, identifier, range)
Parameters:
bool
identifier : IdentListNode
range : range
Returns: ExprOptVarNode
|
|
Instance members
| Instance member |
Description
|
|
|
Full Usage:
this.IsOptional
Returns: bool
|
|
Inherited members
Inherited from
NodeBase
Instance members
| Instance member |
Description
|
|
|
|
|
|
|
|
|
Full Usage:
this.ToStringWithIndent
Parameters:
int
Returns: string
|
|
Full Usage:
this.HasContentAfter
Returns: bool
|
|
|
|
Full Usage:
this.HasAnyContentAfter
Returns: bool
|
|
|
|
|
|
Full Usage:
this.HasContentBefore
Returns: bool
|
|
|
|
|
|
Full Usage:
this.HasAnyContentBefore
Returns: bool
|
|
fantomas