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

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TypeResolver
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(c: RHS, fieldType: FieldType): RHS
  5. def apply(t: FieldType): FieldType
  6. def apply(t: FunctionType): FunctionType
  7. def apply(f: Field): Field
  8. def apply(f: Function): Function
  9. 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.

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

  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  13. val constMap: Map[String, ConstDefinition]
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def getResolver(includePath: String, pos: Positional = new Positional {
    pos = NoPosition
    }
    )
    : TypeResolver
    Attributes
    protected
  18. val includeMap: Map[String, ResolvedDocument]
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def productElementNames: Iterator[String]
    Definition Classes
    Product
  24. def resolveConst(id: Identifier): (FieldType, RHS)
    Attributes
    protected
  25. def resolveFieldType(id: Identifier, scopePrefix: Option[Identifier] = None): FieldType
  26. def resolveServiceParent(parent: ServiceParent): Service
    Attributes
    protected
  27. val serviceMap: Map[String, Service]
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. val typeMap: Map[String, FieldType]
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  33. 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
  34. 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
  35. 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 Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped