com.twitter.scrooge.frontend

TypeResolver

case class TypeResolver(typeMap: Map[String, FieldType] = ..., constMap: Map[String, ConstDefinition] = ..., serviceMap: Map[String, Service] = ..., includeMap: Map[String, ResolvedDocument] = ..., allowStructRHS: Boolean = false) 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] = ..., allowStructRHS: Boolean = false)

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. val allowStructRHS: Boolean

  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, scopePrefix: 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, scopePrefix: Option[SimpleID] = None): ResolvedDocument

    Resolves all types in the given document.

    Resolves all types in the given document.

    scopePrefix

    the scope of the document if the document is an include

  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. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  21. def getResolver(qid: QualifiedID): TypeResolver

  22. val includeMap: Map[String, ResolvedDocument]

  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  27. def resolveConst(id: Identifier): (FieldType, RHS)

  28. def resolveFieldType(id: Identifier): FieldType

  29. def resolveService(id: Identifier): Service

  30. val serviceMap: Map[String, Service]

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

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

  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( ... )
  36. def withMapping(service: Service): TypeResolver

    Returns a new TypeResolver with the given service added.

  37. def withMapping(const: ConstDefinition): TypeResolver

    Returns a new TypeResolver with the given constant added.

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

    Returns a new TypeResolver with the given type mapping added.

  39. 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