Skip to content

Use unique approach to instantiate some objects in codegen #509

Open
@EgorkaKulikov

Description

@EgorkaKulikov

Description

Currently we have a method methodId to create a MethodId and also a constructor of this class. Both of them are actively used.
Similar behaviour is related to ifStatement and CgIfStatement.

We should better make all such constructors private and use DSL, may be a little improved.

Metadata

Metadata

Assignees

Labels

comp-codegenIssue is related to code generatorctg-refactoringIssue related to refactoring process

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions