Packages

c

bsp.codegen.bsp4s

ScalaRenderer

class ScalaRenderer extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalaRenderer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ScalaRenderer(basepkg: String, definitions: List[Def], version: String)

Value Members

  1. val baseRelPath: RelPath
  2. def enumValueType[A](enumType: EnumType[A]): String
  3. def render(): List[CodegenFile]
  4. def renderClosedEnum[A](shapeId: ShapeId, enumType: EnumType[A], values: List[EnumValue[A]], hints: List[Hint]): Lines
  5. def renderDefinitions(): CodegenFile
  6. def renderDocs(hints: List[Hint]): Lines
  7. def renderEndpoints(): CodegenFile
  8. def renderEnumValueDef[A](enumType: EnumType[A], shapeId: ShapeId): (EnumValue[A]) => String
  9. def renderFieldRaw(field: Field): String
  10. def renderOpenEnum[A](shapeId: ShapeId, enumType: EnumType[A], values: List[EnumValue[A]], hints: List[Hint]): Lines
  11. def renderOperation(operation: Operation): Lines
  12. def renderOperations(operations: List[Operation]): Lines
  13. def renderPrimitive(prim: Primitive, shapeId: ShapeId): String
  14. def renderScalaField(field: Field): Lines
  15. def renderStaticValue[A](enumType: EnumType[A]): (EnumValue[A]) => String
  16. def renderStructure(shapeId: ShapeId, fields: List[Field], hints: List[Hint]): Lines
  17. def renderType(tpe: Type): String
  18. def toUpperCamelCase(str: String): String