Skip to content

Refactor type toJtdForm() methods #25

@streamich

Description

@streamich

Remove toJtdForm() methods from AbstractType class and all classes that extend it. Instead implement the JTD conversion for each node in the src/jtd/ folder where a routine for each node type is a separate function, and there is one main "router" function with a big SwitchStatement which routes each node to the correct implementation.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions