DescribedType

class DescribedType<T>(val type: ParserNodeDeclaration<T>, val expectations: List<Expectation<T, *>>)

A node type declaration (providing a way to make the actual type) with its descriptor (which declares what the type expects).

Constructors

Link copied to clipboard
constructor(type: ParserNodeDeclaration<T>, expectations: List<Expectation<T, *>>)

Properties

Link copied to clipboard

The descriptor: currently, just a list of the expectations that make up this type

Link copied to clipboard

The type described