com.foursquare.spindle.codegen

runtime

package runtime

Visibility
  1. Public
  2. All

Type Members

  1. final case class AliasNotFound(typeAlias: String) extends TypeNotFound with Product with Serializable

  2. case class BSONObjectRenderType(ref: RenderType) extends RefRenderType with EnhancedRenderType with Product with Serializable

  3. case class BitfieldRef(structName: String, bitType: TypeReference, hasSetBits: Boolean) extends TypeReference with Product with Serializable

  4. case class BitfieldStructRenderType(className: String, ref: RenderType, hasSetBits: Boolean) extends RenderType with Product with Serializable

  5. class CodegenException extends RuntimeException

  6. abstract class Container1RenderType extends ContainerRenderType

  7. abstract class Container2RenderType extends ContainerRenderType

  8. trait ContainerRenderType extends RefRenderType

  9. case class DateTimeRenderType(ref: RenderType) extends RefRenderType with EnhancedRenderType with Product with Serializable

  10. case class DollarAmountRenderType(ref: RenderType) extends RefRenderType with EnhancedRenderType with Product with Serializable

  11. trait EnhancedRenderType extends RenderType

  12. case class EnhancedTypeRef(name: String, tpe: TypeReference) extends TypeReference with Product with Serializable

  13. type EnhancedTypes = (TypeReference, Annotations, Scope) ⇒ Option[TypeReference]

    Definition Classes
    package
  14. case class EnumDecl(name: String, annotations: Annotations) extends TypeDeclaration with Product with Serializable

  15. case class EnumRef(name: String) extends TypeReference with Product with Serializable

  16. case class EnumRenderType(text: String) extends RefRenderType with Product with Serializable

  17. case class EnumStringRenderType(text: String) extends RefRenderType with Product with Serializable

  18. case class ExceptionDecl(name: String, annotations: Annotations) extends TypeDeclaration with Product with Serializable

  19. case class ExceptionRef(name: String) extends TypeReference with Product with Serializable

  20. case class ExceptionRenderType(text: String) extends RefRenderType with Product with Serializable

  21. trait HasAnnotations extends AnyRef

  22. case class JavaDateRenderType(ref: RenderType) extends RefRenderType with EnhancedRenderType with Product with Serializable

  23. case class ListRef(elementType: TypeReference) extends TypeReference with Product with Serializable

  24. case class MapRef(keyType: TypeReference, valueType: TypeReference) extends TypeReference with Product with Serializable

  25. case class MapRenderType(e1: RenderType, e2: RenderType) extends Container2RenderType with Product with Serializable

  26. case class MessageSetRenderType(ref: RenderType) extends RefRenderType with EnhancedRenderType with Product with Serializable

  27. case class NewtypeRef(name: String, tpe: TypeReference) extends TypeReference with Product with Serializable

  28. case class NewtypeRenderType(text: String, ref: RenderType) extends RenderType with Product with Serializable

  29. class NotImplementedException extends Exception

  30. case class ObjectIdRenderType(ref: RenderType) extends RefRenderType with EnhancedRenderType with Product with Serializable

  31. sealed trait PrimitiveReference extends TypeReference

  32. case class PrimitiveRenderType(text: String, javaText: String, boxedText: String, defaultText: String, javaDefaultText: String, ttype: TType) extends RenderType with Product with Serializable

  33. case class ProgramSource(file: File, tree: Program, includedFiles: Seq[File]) extends Product with Serializable

    This class represents a Thrift source file.

  34. trait RefRenderType extends RenderType

  35. trait RenderType extends AnyRef

  36. class ScalaClass extends StructProxy with StructLike

  37. class ScalaConst extends ConstProxy

  38. class ScalaEnum extends EnumProxy with HasAnnotations

  39. class ScalaEnumElement extends EnumElementProxy with HasAnnotations

  40. class ScalaException extends ExceptionProxy with StructLike

  41. class ScalaField extends FieldProxy with HasAnnotations

  42. class ScalaFunction extends FunctionProxy with HasAnnotations

  43. class ScalaProgram extends ProgramProxy

  44. class ScalaService extends ServiceProxy with HasAnnotations

  45. class ScalaTypedef extends TypedefProxy with HasAnnotations

  46. class ScalaUnion extends UnionProxy with StructLike

  47. type Scope = Map[String, TypeDeclaration]

    Definition Classes
    package
  48. case class SeqRenderType(e1: RenderType) extends Container1RenderType with Product with Serializable

  49. case class ServiceDecl(name: String, annotations: Annotations) extends TypeDeclaration with Product with Serializable

  50. case class ServiceRef(name: String) extends TypeReference with Product with Serializable

  51. case class SetRef(elementType: TypeReference) extends TypeReference with Product with Serializable

  52. case class SetRenderType(e1: RenderType) extends Container1RenderType with Product with Serializable

  53. case class StructDecl(name: String, annotations: Annotations) extends TypeDeclaration with Product with Serializable

  54. trait StructLike extends HasAnnotations

  55. case class StructRef(name: String) extends TypeReference with Product with Serializable

  56. case class StructRenderType(text: String) extends RefRenderType with Product with Serializable

  57. sealed abstract class TType extends AnyRef

  58. case class ThriftJsonRenderType(ref: RenderType) extends RefRenderType with EnhancedRenderType with Product with Serializable

  59. sealed trait TypeDeclaration extends AnyRef

  60. class TypeDeclarationResolver extends AnyRef

    TypeDeclarations are used to bridge the gap between the type information contained in the TypeRegistry (which can only resolve types included in the same file) and the type information needed to compile a file (which might span several source files, because of includes).

  61. final case class TypeIdNotFound(typeId: String) extends TypeNotFound with Product with Serializable

  62. sealed trait TypeNotFound extends AnyRef

  63. sealed trait TypeReference extends AnyRef

  64. class TypeReferenceResolver extends AnyRef

  65. case class TypedefDecl(name: String, newType: Boolean, ref: TypeReference, annotations: Annotations) extends TypeDeclaration with Product with Serializable

  66. case class TypedefRef(name: String, tpe: TypeReference) extends TypeReference with Product with Serializable

  67. case class TypedefRenderType(text: String, ref: RenderType) extends RenderType with Product with Serializable

  68. case class TypesafeIdRenderType(className: String, ref: RenderType) extends RefRenderType with EnhancedRenderType with Product with Serializable

  69. case class UnionDecl(name: String, annotations: Annotations) extends TypeDeclaration with Product with Serializable

  70. case class UnionRef(name: String) extends TypeReference with Product with Serializable

Value Members

  1. object BinaryRef extends TypeReference with Product with Serializable

  2. object BinaryRenderType extends RefRenderType with Product with Serializable

  3. object BoolRef extends PrimitiveReference with Product with Serializable

  4. object ByteRef extends TypeReference with Product with Serializable

  5. object CodegenUtil extends AnyRef

  6. object DoubleRef extends PrimitiveReference with Product with Serializable

  7. object EnhancedTypeFailure extends TypeNotFound with Product with Serializable

  8. object EnhancedTypes extends AnyRef

    From package.

  9. object I16Ref extends PrimitiveReference with Product with Serializable

  10. object I32Ref extends PrimitiveReference with Product with Serializable

  11. object I64Ref extends PrimitiveReference with Product with Serializable

  12. object RenderType extends AnyRef

  13. object ScalaProgram extends Serializable

  14. object Scope extends AnyRef

    Utilities for dealing with scopes in Thrift.

  15. object StringRef extends PrimitiveReference with Product with Serializable

  16. object StringRenderType extends RefRenderType with Product with Serializable

  17. object TType extends AnyRef

  18. object TypeDeclaration extends AnyRef