# StorySyntaxKind

Describes a renderer-neutral syntax category for source text.

 Enum  

`ChartForgeX.Stories`

**Namespace**

`ChartForgeX.Stories`

**Assembly**

`ChartForgeX.Stories`

**Source**

[StorySourceText.cs:11](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Stories/StorySourceText.cs#L11)

**Base**

`Enum`

**Implements**

 `IComparable` `ISpanFormattable` `IFormattable` `IConvertible` 

**Modifiers**

sealed

Describes a renderer-neutral syntax category for source text.

## Inheritance

- Enum
- StorySyntaxKind

## Usage

 Explore 16 API references to this type 

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 13

- Property [StorySourceSpan.Kind](/api/chartforgex-stories-storysourcespan/#property-kind)
- Field [StorySyntaxKind.Command](/api/chartforgex-stories-storysyntaxkind/#field-command)
- Field [StorySyntaxKind.Comment](/api/chartforgex-stories-storysyntaxkind/#field-comment)
- Field [StorySyntaxKind.Keyword](/api/chartforgex-stories-storysyntaxkind/#field-keyword)
- Field [StorySyntaxKind.Number](/api/chartforgex-stories-storysyntaxkind/#field-number)
- Field [StorySyntaxKind.Operator](/api/chartforgex-stories-storysyntaxkind/#field-operator)
- Field [StorySyntaxKind.Parameter](/api/chartforgex-stories-storysyntaxkind/#field-parameter)
- Field [StorySyntaxKind.Plain](/api/chartforgex-stories-storysyntaxkind/#field-plain)
- Field [StorySyntaxKind.Property](/api/chartforgex-stories-storysyntaxkind/#field-property)
- Field [StorySyntaxKind.Punctuation](/api/chartforgex-stories-storysyntaxkind/#field-punctuation)
- Field [StorySyntaxKind.String](/api/chartforgex-stories-storysyntaxkind/#field-string)
- Field [StorySyntaxKind.Type](/api/chartforgex-stories-storysyntaxkind/#field-type)
- Field [StorySyntaxKind.Variable](/api/chartforgex-stories-storysyntaxkind/#field-variable)

### Accepted by parameters 3

- Constructor [StorySourceSpan.StorySourceSpan](/api/chartforgex-stories-storysourcespan/#constructor-ctor-int32-int32-chartforgex-stories-storysyntaxkind) parameter `kind`
- Method [StorySourceText.AddSpan](/api/chartforgex-stories-storysourcetext/#method-addspan-int32-int32-chartforgex-stories-storysyntaxkind) parameter `kind`
- Method [StorySyntaxPalette.Resolve](/api/chartforgex-stories-storysyntaxpalette/#method-resolve-chartforgex-stories-storysyntaxkind) parameter `kind`

 Filter members   

    Show inherited   

 

## Inherited Methods

 `public int CompareTo(object? target)` [#](#method-compareto-object) 

Inherited from Enum

Parameters

**target object? required**

Returns

 `int` 

 `public override bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from Enum

Parameters

**obj object? required**

Returns

 `bool` 

 `public override int GetHashCode()` [#](#method-gethashcode) 

Inherited from Enum

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public TypeCode GetTypeCode()` [#](#method-gettypecode) 

Inherited from Enum

Returns

 `TypeCode` 

 `public bool HasFlag(Enum flag)` [#](#method-hasflag-enum) 

Inherited from Enum

Parameters

**flag Enum required**

Returns

 `bool` 

 ToString 4 overloads 

 `public override string ToString()` [#](#method-tostring) 

Inherited from Enum

Returns

 `string` 

 `public string ToString(string? format)` [#](#method-tostring-string) 

Inherited from Enum

Parameters

**format string? required**

Returns

 `string` 

 `public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider) 

Inherited from Enum

 `Obsolete("The provider argument is not used. Use ToString() instead.")` 

Parameters

**provider IFormatProvider? required**

Returns

 `string` 

 `public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider) 

Inherited from Enum

 `Obsolete("The provider argument is not used. Use ToString(String) instead.")` 

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

 `string` 

## Values

 `public const StorySyntaxKind Plain` [#](#field-plain) 

[StorySourceText.cs:13](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Stories/StorySourceText.cs#L13)

Unclassified source text.

Value: `0`

 `public const StorySyntaxKind Keyword` [#](#field-keyword) 

[StorySourceText.cs:15](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Stories/StorySourceText.cs#L15)

Language keyword.

Value: `1`

 `public const StorySyntaxKind Type` [#](#field-type) 

[StorySourceText.cs:17](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Stories/StorySourceText.cs#L17)

Type or class name.

Value: `2`

 `public const StorySyntaxKind Command` [#](#field-command) 

[StorySourceText.cs:19](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Stories/StorySourceText.cs#L19)

Command, function, or method name.

Value: `3`

 `public const StorySyntaxKind Parameter` [#](#field-parameter) 

[StorySourceText.cs:21](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Stories/StorySourceText.cs#L21)

Command or method parameter.

Value: `4`

 `public const StorySyntaxKind Variable` [#](#field-variable) 

[StorySourceText.cs:23](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Stories/StorySourceText.cs#L23)

Variable or identifier.

Value: `5`

 `public const StorySyntaxKind Property` [#](#field-property) 

[StorySourceText.cs:25](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Stories/StorySourceText.cs#L25)

Property or member name.

Value: `6`

 `public const StorySyntaxKind String` [#](#field-string) 

[StorySourceText.cs:27](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Stories/StorySourceText.cs#L27)

Quoted string or character literal.

Value: `7`

 `public const StorySyntaxKind Number` [#](#field-number) 

[StorySourceText.cs:29](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Stories/StorySourceText.cs#L29)

Numeric literal.

Value: `8`

 `public const StorySyntaxKind Comment` [#](#field-comment) 

[StorySourceText.cs:31](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Stories/StorySourceText.cs#L31)

Source comment.

Value: `9`

 `public const StorySyntaxKind Operator` [#](#field-operator) 

[StorySourceText.cs:33](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Stories/StorySourceText.cs#L33)

Language operator.

Value: `10`

 `public const StorySyntaxKind Punctuation` [#](#field-punctuation) 

[StorySourceText.cs:35](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Stories/StorySourceText.cs#L35)

Language punctuation.

Value: `11`

<!-- PowerForge markdown artifact sha256:4773207B076DC5165BF5476660E9E95B6FCAD69D3C1A20F05B93E98EEDC6C570 -->
