Type

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val documentation: String
Link copied to clipboard
abstract val location: Location
Link copied to clipboard
abstract val name: String
Link copied to clipboard
Link copied to clipboard
abstract val nestedTypes: List<Type>
Link copied to clipboard
abstract val options: Options
Link copied to clipboard
abstract val syntax: Syntax
Link copied to clipboard
abstract val type: ProtoType

Functions

Link copied to clipboard
abstract fun linkMembers(linker: Linker)
Link copied to clipboard
abstract fun linkOptions(linker: Linker, syntaxRules: SyntaxRules, validate: Boolean)
Link copied to clipboard
abstract fun retainAll(schema: Schema, markSet: MarkSet): Type?
Link copied to clipboard
abstract fun retainLinked(linkedTypes: Set<ProtoType>, linkedFields: Set<Field>): Type?

Returns a copy of this containing only the types in linkedTypes and extensions in linkedFields, or null if that set is empty. This will return an EnclosingType if it is itself not linked, but its nested types are linked.

Link copied to clipboard

Returns all types and subtypes which are linked to the type.

Link copied to clipboard
abstract fun validate(linker: Linker, syntaxRules: SyntaxRules)