com.twitter.scrooge

TypeResolver

case class TypeResolver(typeMap: Map[String, FieldType] = ..., constMap: Map[String, ConstDefinition] = ..., serviceMap: Map[String, Service] = ..., includeMap: Map[String, ResolvedDocument] = ...) extends Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TypeResolver
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TypeResolver(typeMap: Map[String, FieldType] = ..., constMap: Map[String, ConstDefinition] = ..., serviceMap: Map[String, Service] = ..., includeMap: Map[String, ResolvedDocument] = ...)

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. def apply(id: Identifier): FieldType

  7. def apply(parent: ServiceParent): ServiceParent

  8. def apply(c: RHS, fieldType: FieldType): RHS

  9. def apply(t: FieldType): FieldType

  10. def apply(t: FunctionType): FunctionType

  11. def apply(f: Field): Field

  12. def apply(f: Function): Function

  13. def apply(definition: Definition, forcePrefix: Option[SimpleID]): ResolvedDefinition

    Resolves types in the given definition according to the current typeMap, and then returns an updated TypeResolver with the new definition bound, plus the resolved definition.

  14. def apply(doc: Document, forcePrefix: Option[SimpleID] = None): ResolvedDocument

    Resolves all types in the given document.

  15. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  16. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. val constMap: Map[String, ConstDefinition]

  18. lazy val constResolver: EntityResolver[ConstDefinition]

  19. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. lazy val fieldTypeResolver: EntityResolver[FieldType]

  21. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  22. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  23. val includeMap: Map[String, ResolvedDocument]

  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  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. val serviceMap: Map[String, Service]

  29. lazy val serviceResolver: EntityResolver[Service]

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

    Definition Classes
    AnyRef
  31. val typeMap: Map[String, FieldType]

  32. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  35. def withMapping(service: Service): TypeResolver

    Returns a new TypeResolver with the given service added.

  36. def withMapping(const: ConstDefinition): TypeResolver

    Returns a new TypeResolver with the given constant added.

  37. def withMapping(name: String, fieldType: FieldType): TypeResolver

    Returns a new TypeResolver with the given type mapping added.

  38. def withMapping(inc: Include): TypeResolver

    Returns a new TypeResolver with the given include mapping added.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped