SmithyModel

zio.blocks.smithy.SmithyModel
See theSmithyModel companion class
object SmithyModel

Attributes

Companion
class
Source
SmithyModel.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def parse(input: String): Either[SmithyError, SmithyModel]

Parses a Smithy IDL string into a SmithyModel.

Parses a Smithy IDL string into a SmithyModel.

Value parameters

input

the complete Smithy IDL text to parse

Attributes

Returns

Right(SmithyModel) on success, or Left(SmithyError) describing the parse failure with location information

Source
SmithyModel.scala