Interface
IVisualMarkupBlockParser
ChartForgeX.Markup
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 bool CanParse(VisualMarkupBlock block) #Returns true when this parser can parse the supplied visual block.
Parameters
- block ChartForgeX.Markup.VisualMarkupBlock
- The scanned visual markup block.
Returns
bool True when this parser should handle the block.public abstract void Parse(VisualMarkupBlock block, 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.