Codegen: start ProfileGenerator

This commit is contained in:
zt515 2017-12-10 23:37:52 +08:00
parent c712e2b08f
commit d643dff83e
3 changed files with 20 additions and 2 deletions

View File

@ -1,4 +1,4 @@
package io.neoterm.component.color.codegen
package io.neoterm.component.codegen.impl
import io.neoterm.component.codegen.CodeGenParameter
import io.neoterm.component.codegen.generator.ICodeGenerator

View File

@ -0,0 +1,18 @@
package io.neoterm.component.codegen.impl
import io.neoterm.component.codegen.CodeGenParameter
import io.neoterm.component.codegen.generator.ICodeGenerator
import io.neoterm.component.codegen.model.CodeGenObject
/**
* @author kiva
*/
class NeoProfileGenerator(parameter: CodeGenParameter) : ICodeGenerator(parameter) {
override fun getGeneratorName(): String {
return "NeoProfile-Generator"
}
override fun generateCode(codeGenObject: CodeGenObject): String {
return ""
}
}

View File

@ -6,7 +6,7 @@ import io.neoterm.backend.TerminalColors
import io.neoterm.component.codegen.CodeGenParameter
import io.neoterm.component.codegen.generator.ICodeGenerator
import io.neoterm.component.codegen.model.CodeGenObject
import io.neoterm.component.color.codegen.NeoColorGenerator
import io.neoterm.component.codegen.impl.NeoColorGenerator
import io.neoterm.component.config.ConfigureComponent
import io.neoterm.frontend.component.ComponentManager
import io.neoterm.frontend.config.NeoConfigureFile