Skip to content

Impossible to expand #158

@gamess431

Description

@gamess431

The processNode function from the GeneratingProvider interface requires a specific implementation of the HtmlGenerator.HtmlGeneratingVisitor class rather than an abstraction while HtmlGenerator.HtmlGeneratingVisitor implements the RecursiveVisitor interface.

interface GeneratingProvider {
    fun processNode(visitor: HtmlGenerator.HtmlGeneratingVisitor, text: String, node: ASTNode)
}

Please replace HtmlGenerator.HtmlGeneratingVisitor with RecursiveVisitor in the parameters of the GeneratingProvider interface so you can expand or create your own generator! Also, make the class HtmlGenerator open so that it can be extended.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions