izumi.idealingua.il.renderer.IDLRenderer.scala Maven / Gradle / Ivy
The newest version!
package izumi.idealingua.il.renderer
import izumi.idealingua.model.il.ast.typed._
final case class IDLRenderingOptions(expandIncludes: Boolean)
class IDLRenderer(defn: DomainDefinition, options: IDLRenderingOptions) {
private val context = new IDLRenderingContext(defn, options)
def render(): String = {
import context._
defn.render()
}
}