Class

sbt.contraband

CodeGenerator

Related Doc: package contraband

Permalink

abstract class CodeGenerator extends AnyRef

The base for code generators.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CodeGenerator
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CodeGenerator()

    Permalink

Type Members

  1. implicit class IndentationAwareString extends AnyRef

    Permalink
    Attributes
    protected
  2. implicit class ListMapOp[T] extends AnyRef

    Permalink

Abstract Value Members

  1. abstract def generate(s: Document): ListMap[File, String]

    Permalink

    Generate the code corresponding to all definitions in s.

  2. abstract def generateEnum(s: Document, e: EnumTypeDefinition): ListMap[File, String]

    Permalink

    Generate the code corresponding to the enumeration e.

    Generate the code corresponding to the enumeration e.

    Attributes
    protected
  3. abstract def generateInterface(s: Document, i: InterfaceTypeDefinition): ListMap[File, String]

    Permalink

    Generate the code corresponding to the interface i.

    Generate the code corresponding to the interface i.

    Attributes
    protected
  4. abstract def generateRecord(s: Document, r: ObjectTypeDefinition): ListMap[File, String]

    Permalink

    Generate the code corresponding to the record r.

    Generate the code corresponding to the record r.

    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def boxedType(tpe: String): String

    Permalink
    Attributes
    protected
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def containsOptional(fields: List[FieldDefinition]): Boolean

    Permalink
    Attributes
    protected
  8. def containsStrictOptional(fields: List[FieldDefinition]): Boolean

    Permalink
    Attributes
    protected
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def generate(s: Document, d: TypeDefinition): ListMap[File, String]

    Permalink

    Generate the code corresponding to d.

    Generate the code corresponding to d.

    Attributes
    protected
  13. def generateHeader: String

    Permalink
    Attributes
    protected
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def javaLangBoxedType(tpe: String): String

    Permalink
    Attributes
    protected
  18. def localFields(cl: RecordLikeDefinition, parents: List[InterfaceTypeDefinition]): List[FieldDefinition]

    Permalink
    Attributes
    protected
  19. def lookupChildLeaves(s: Document, interface: InterfaceTypeDefinition): List[TypeDefinition]

    Permalink
    Attributes
    protected
  20. def lookupChildren(s: Document, interface: InterfaceTypeDefinition): List[TypeDefinition]

    Permalink
    Attributes
    protected
  21. def lookupInterface(s: Document, ref: (Option[String], String)): InterfaceTypeDefinition

    Permalink
    Attributes
    protected
  22. def lookupInterfaces(s: Document, interfaceRefs: List[NamedType]): List[InterfaceTypeDefinition]

    Permalink
    Attributes
    protected
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def perVersionNumber[T](since: VersionNumber, fields: List[FieldDefinition])(op: (List[FieldDefinition], List[FieldDefinition]) ⇒ T): List[T]

    Permalink

    Run an operation op for each different version number that affects the fields fields.

    Run an operation op for each different version number that affects the fields fields.

    Attributes
    protected
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. def unboxedType(tpe: String): String

    Permalink
    Attributes
    protected
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped