This interface defines the contract for code generation of abstract syntax
tree (AST) nodes. Implementations of this interface are responsible for
converting AST nodes into their corresponding code representations.
HTMLCodeGenerator and LatexCodeGenerator will generate strings while
DocxCodeGenerator will generate docx Paragraph objects, hence the generic
type parameter T.
Interface to generate code from an AST.
This interface defines the contract for code generation of abstract syntax tree (AST) nodes. Implementations of this interface are responsible for converting AST nodes into their corresponding code representations.
HTMLCodeGenerator and LatexCodeGenerator will generate strings while DocxCodeGenerator will generate docx Paragraph objects, hence the generic type parameter T.
See
Node