sbt.contraband

CodeGenerator

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CodeGenerator()

Type Members

  1. implicit class IndentationAwareString extends AnyRef

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

Abstract Value Members

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

    Generate the code corresponding to all definitions in s.

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

    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]

    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]

    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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def boxedType(tpe: String): String

    Attributes
    protected
  8. def clone(): AnyRef

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

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

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

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

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

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

    Generate the code corresponding to d.

    Generate the code corresponding to d.

    Attributes
    protected
  15. def generateHeader: String

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

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

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

    Definition Classes
    Any
  19. def javaLangBoxedType(tpe: String): String

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

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

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

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

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

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

    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

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

    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
  29. def primitiveType(tpe: String): Boolean

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

    Definition Classes
    AnyRef
  31. def toString(): String

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

    Attributes
    protected
  33. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped