-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modifies
DataModel
and Language
implementations for code generator (
#81) * Modifies definition of `DataModel` * Renames `DataModel` to `AbstractDataType` * Adds parameter to `Sequence` enum variant to store data type information for the sequence * Adds `Language` trait for generator * Adds `RustLanguage` and `JavaLanguage` as implementations of `Language` * Moves read and write API generation code to templates * Reorganizes `CodeGenerator` to keep common behavior between languages in `CodeGenerator<L>` * Moves Rust related generation cod e in `CodeGenerator<Rust>` * Moves Java related generation cod e in `CodeGenerator<Java>` * Adds new filter `snake` for templates * Modifies `Import` to only contain name field (Template will use appopriate casing filter to add an import statement based on `Import`)
- Loading branch information
Showing
9 changed files
with
493 additions
and
2,467 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.