quicktype icon indicating copy to clipboard operation
quicktype copied to clipboard

[FEATURE]: make Elixir code emitter functions protected

Open jhosteny opened this issue 1 year ago • 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

jhosteny avatar Oct 19 '24 19:10 jhosteny