API Reference
Interface
IVisualMarkupBlockParser
Provides an extension point for parsing specific visual markup blocks without coupling ChartForgeX.Markup to optional visual languages.
Usage
Explore 1 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.
Accepted by parameters 1
- Constructor VisualMarkupParser.VisualMarkupParser
Methods
public abstract Boolean CanParse(VisualMarkupBlock block) #Returns:
BooleanReturns 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.
public abstract Void Parse(VisualMarkupBlock block, VisualMarkupParseResult result) #Returns:
VoidParses 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.