From d070b680ca5adadfbfff6ebfe04f8079ab5db8af Mon Sep 17 00:00:00 2001 From: zt515 Date: Tue, 26 Dec 2017 00:58:19 +0800 Subject: [PATCH] Project: Fix missing classes --- .../component/codegen/interfaces/ICodeGenerator.kt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 app/src/main/java/io/neoterm/component/codegen/interfaces/ICodeGenerator.kt diff --git a/app/src/main/java/io/neoterm/component/codegen/interfaces/ICodeGenerator.kt b/app/src/main/java/io/neoterm/component/codegen/interfaces/ICodeGenerator.kt new file mode 100644 index 0000000..baff176 --- /dev/null +++ b/app/src/main/java/io/neoterm/component/codegen/interfaces/ICodeGenerator.kt @@ -0,0 +1,13 @@ +package io.neoterm.component.codegen.interfaces + +import io.neoterm.component.codegen.CodeGenParameter +import io.neoterm.component.codegen.model.CodeGenObject + +/** + * @author kiva + */ +abstract class ICodeGenerator(parameter: CodeGenParameter) { + abstract fun getGeneratorName(): String + + abstract fun generateCode(codeGenObject: CodeGenObject): String +}