API Reference
Interface
IVisualMarkupBlockParser
Provides an extension point for parsing specific visual markup blocks without coupling ChartForgeX.Markup to optional visual languages.
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
- Constructor VisualMarkupParser.VisualMarkupParser
- Constructor VisualMarkupParser.VisualMarkupParser
Methods
CanParse(ChartForgeX.Markup.VisualMarkupBlock block) #Returns true when this parser can parse the supplied visual block.
Parameters
- block ChartForgeX.Markup.VisualMarkupBlock
- The scanned visual markup block.
Returns
True when this parser should handle the block.
Parse(ChartForgeX.Markup.VisualMarkupBlock block, ChartForgeX.Markup.VisualMarkupParseResult result) #Parses the supplied visual block and appends artifacts and diagnostics to the shared parse result.
Parameters
- block ChartForgeX.Markup.VisualMarkupBlock
- The scanned visual markup block.
- result ChartForgeX.Markup.VisualMarkupParseResult
- The parse result receiving artifacts and diagnostics.