All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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()
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy