Mapping
com.reactific.riddl.language.AST.Mapping
case class Mapping(loc: At, from: TypeExpression, to: TypeExpression) extends TypeExpression
A type expressions that defines a mapping from a key to a value. The value of a Mapping is the set of mapped key -> value pairs, based on which keys have been provided values.
Value parameters
- from
-
The type expression for the keys of the mapping
- loc
-
The location of the mapping type expression
- to
-
The type expression for the values of the mapping
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TypeExpressiontrait RiddlValuetrait RiddlNodeclass Objecttrait Matchableclass Any
Members list
In this article