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
- Alphabetic
- By Inheritance
- TypeResolver
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(c: RHS, fieldType: FieldType): RHS
- def apply(t: FieldType): FieldType
- def apply(t: FunctionType): FunctionType
- def apply(f: Field): Field
- def apply(f: Function): Function
- 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.
- 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val constMap: Map[String, ConstDefinition]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getResolver(includePath: String, pos: Positional = new Positional {
pos = NoPosition
}): TypeResolver- Attributes
- protected
- val includeMap: Map[String, ResolvedDocument]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def resolveConst(id: Identifier): (FieldType, RHS)
- Attributes
- protected
- def resolveFieldType(id: Identifier, scopePrefix: Option[Identifier] = None): FieldType
- def resolveServiceParent(parent: ServiceParent): Service
- Attributes
- protected
- val serviceMap: Map[String, Service]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val typeMap: Map[String, FieldType]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- 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
- def withConstsFrom(doc: Document, scopePrefix: Option[Identifier]): TypeResolver
Returns a new TypeResolver with the top level consts of
docadded to the type map lazily.Returns a new TypeResolver with the top level consts of
docadded to the type map lazily.- Attributes
- protected
- def withTypesFrom(doc: Document, scopePrefix: Option[Identifier]): TypeResolver
Returns a new TypeResolver with the top level types of
docadded to the type map lazily.Returns a new TypeResolver with the top level types of
docadded to the type map lazily.- Attributes
- protected