API Reference
Class
StorySourceText
Keeps exact source text together with optional dependency-free syntax spans. Tokenizers live in adapters and map their language-specific tokens into this model.
Inheritance
- Object
- StorySourceText
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
Methods
AddSpan 2 overloads
AddSpan(System.Int32 arg1, System.Int32 arg2, ChartForgeX.Stories.StorySyntaxKind arg3) #Adds one ordered syntax span.
Parameters
- arg1 System.Int32
- arg2 System.Int32
- arg3 ChartForgeX.Stories.StorySyntaxKind
AddSpan(ChartForgeX.Stories.StorySourceSpan arg1) #Adds one ordered syntax span.
Parameters
- arg1 ChartForgeX.Stories.StorySourceSpan
Create(System.String arg1, System.String arg2) #Creates source text without language-specific dependencies.
Parameters
- arg1 System.String
- arg2 System.String
WithLanguage(System.String arg1) #Sets an optional language identifier used by hosts and accessibility output.
Parameters
- arg1 System.String