com.twitter.scrooge.frontend

TypeResolver

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

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(c: RHS, fieldType: FieldType): RHS

  7. def apply(t: FieldType): FieldType

  8. def apply(t: FunctionType): FunctionType

  9. def apply(f: Field): Field

  10. def apply(f: Function): Function

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

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

  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef
  17. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  19. def getResolver(includePath: String, pos: Positional = ...): TypeResolver

    Attributes
    protected
  20. val includeMap: Map[String, ResolvedDocument]

  21. final def isInstanceOf[T0]: Boolean

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

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

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

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

  26. def resolveFieldType(id: Identifier): FieldType

  27. def resolveService(sid: SimpleID): Service

  28. def resolveServiceParent(parent: ServiceParent): Service

  29. val serviceMap: Map[String, Service]

  30. val structsMap: Map[String, StructType]

  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 withConst(const: ConstDefinition): TypeResolver

    Returns a new TypeResolver with the given constant added.

  37. def withInclude(inc: Include): TypeResolver

    Returns a new TypeResolver with the given include mapping added.

  38. def withService(service: Service): TypeResolver

    Returns a new TypeResolver with the given service added.

  39. def withStructsFrom(doc: Document, scopePrefix: Option[SimpleID]): TypeResolver

  40. def withType(name: String, fieldType: FieldType): TypeResolver

    Returns a new TypeResolver with the given type mapping added.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped