SmithyCodecs

zio.http.gen.smithy.SmithyCodecs
object SmithyCodecs

Smithy IDL primitive codecs using RichTextCodec.

These provide the building blocks for parsing Smithy IDL. The primitives demonstrate the enhanced | operator with Alternator support that unifies same-type alternatives without nested Either types.

Attributes

Source
SmithyCodecs.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete fields

Comma - treated as whitespace in Smithy

Comma - treated as whitespace in Smithy

Attributes

Source
SmithyCodecs.scala

Decimal number (with optional decimal point)

Decimal number (with optional decimal point)

Attributes

Source
SmithyCodecs.scala

Identifier: [a-zA-Z_][a-zA-Z0-9_]*

Identifier: [a-zA-Z_][a-zA-Z0-9_]*

Attributes

Source
SmithyCodecs.scala

Integer number (possibly negative)

Integer number (possibly negative)

Attributes

Source
SmithyCodecs.scala

Namespace: identifier(.identifier)*

Namespace: identifier(.identifier)*

Attributes

Source
SmithyCodecs.scala

Newline (LF or CRLF)

Newline (LF or CRLF)

Attributes

Source
SmithyCodecs.scala

Node boolean value

Node boolean value

Attributes

Source
SmithyCodecs.scala

Node null value

Node null value

Attributes

Source
SmithyCodecs.scala

Node number value

Node number value

Attributes

Source
SmithyCodecs.scala

Node shape ID value

Node shape ID value

Attributes

Source
SmithyCodecs.scala

Node string value

Node string value

Attributes

Source
SmithyCodecs.scala

Quoted string with escape sequences

Quoted string with escape sequences

Attributes

Source
SmithyCodecs.scala

ShapeId: [namespace#]name[$$member]

ShapeId: [namespace#]name[$$member]

Attributes

Source
SmithyCodecs.scala

Simple shape keyword - unified type thanks to Alternator

Simple shape keyword - unified type thanks to Alternator

Attributes

Source
SmithyCodecs.scala

Single space or tab

Single space or tab

Attributes

Source
SmithyCodecs.scala

Zero or more whitespace characters

Zero or more whitespace characters

Attributes

Source
SmithyCodecs.scala

One or more whitespace characters

One or more whitespace characters

Attributes

Source
SmithyCodecs.scala

Basic whitespace character (space, tab, newline, comma)

Basic whitespace character (space, tab, newline, comma)

Attributes

Source
SmithyCodecs.scala