com.twitter.scrooge.frontend

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(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[Identifier]): 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[Identifier] = 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)

    Attributes
    protected
  26. def resolveFieldType(id: Identifier): FieldType

  27. def resolveServiceParent(parent: ServiceParent): Service

    Attributes
    protected
  28. val serviceMap: Map[String, Service]

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

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

  31. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def withConst(const: ConstDefinition): TypeResolver

    Returns a new TypeResolver with the given constant added.

    Returns a new TypeResolver with the given constant added.

    Attributes
    protected
  35. def withConstsFrom(doc: Document, scopePrefix: Option[Identifier]): TypeResolver

    Returns a new TypeResolver with the top level consts of doc added to the type map lazily.

    Returns a new TypeResolver with the top level consts of doc added to the type map lazily.

    Attributes
    protected
  36. def withTypesFrom(doc: Document, scopePrefix: Option[Identifier]): TypeResolver

    Returns a new TypeResolver with the top level types of doc added to the type map lazily.

    Returns a new TypeResolver with the top level types of doc added to the type map lazily.

    Attributes
    protected

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped