glideapps/quicktype

[FEATURE]: make Elixir code emitter functions protected

jhosteny opened this issue · 0 comments

Make the various emit functions (e.g., emitModule) to have protected visibility instead of private.

Context (Input, Language)

Output Language: Elixir

Description

The purpose of this change is to make these functions protected, so that customized code generation can be implemented (e.g., here).

Current Behaviour / Output

The ElixirRenderer emit functions are all private.

Proposed Behaviour / Output

Allow them to be overridden in subclasses.

Solution

Make visibility protected.

Alternatives

N/A

Context

N/A