Class CstKindExtensions
Provides the names every Links Notation implementation gives the kinds of CstKind.
Inherited Members
Namespace: Link.Foundation.Links.Notation
Assembly: Link.Foundation.Links.Notation.dll
Syntax
public static class CstKindExtensions
Methods
| Edit this page View SourceIsNode(CstKind)
Declaration
public static bool IsNode(this CstKind kind)
Parameters
| Type | Name | Description |
|---|---|---|
| CstKind | kind | The kind to test. |
Returns
| Type | Description |
|---|---|
| bool |
ToName(CstKind)
The name of the kind as ToSExpression() writes it, the same in
every implementation: document, line, group,
whitespace, newline, comment, open_paren,
close_paren, colon or reference.
Declaration
public static string ToName(this CstKind kind)
Parameters
| Type | Name | Description |
|---|---|---|
| CstKind | kind | The kind to name. |
Returns
| Type | Description |
|---|---|
| string | The shared name of the kind. |