package daml_lf
Note: code in this package is a translation to scala2 of code from https://github.com/DACH-NY/transcode
- Alphabetic
- By Inheritance
- daml_lf
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- type CollectResult[A, B] = (Seq[SchemaEntity[A]]) => B
Collect sequence of SchemaEntity instances into usable result.
Collect sequence of SchemaEntity instances into usable result. See Dictionary.collect and SchemaEntity.collect for several examples
- final case class Dictionary[T](templates: Map[Identifier, T], templateKeys: Map[Identifier, T], choiceArguments: Map[(Identifier, ChoiceName), T], choiceResults: Map[(Identifier, ChoiceName), T]) extends Product with Serializable
Dictionary of templates, keys, choice arguments and choice results.
- sealed trait SchemaEntity[P] extends AnyRef
Top-level Ledger Schema entity.
Top-level Ledger Schema entity. This can either be a template/interface or a choice definition.
Value Members
- object Dictionary extends Serializable
- object SchemaEntity
- object SchemaProcessor
SchemaProcessor traverses Daml Schema and produces results by combining com.digitalasset.transcode.schema.SchemaVisitor and Entity Collector (CollectResult).