Skip to content

Refactoring hcl specifications #140

@jeroenrinzema

Description

@jeroenrinzema

The HCL specification parser contains a lot of code duplications. Interfaces should be created to simplify the parsing of intermediate HCL files. The following functions could most likely be simplified:

ParseIntermediateInputParameterMap
ParseIntermediateNestedParameterMap
ParseIntermediateRepeatedParameterMap
ParseIntermediateCallParameterMap
ParseIntermediateParameterMap

/**
* TODO: this file has to be refactored to avoid code duplication and
* type casting. A lot of code duplication is aroundnested and repeated parameter
* maps. Interfaces have to be created for these types to allow to reuse implementations.
*/

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions