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 Objecttrait Matchableclass Any
- Self type
-
SmithyCodecs.type
Members list
Value members
Concrete fields
Comma - treated as whitespace in Smithy
Decimal number (with optional decimal point)
Identifier: [a-zA-Z_][a-zA-Z0-9_]*
Integer number (possibly negative)
Namespace: identifier(.identifier)*
Newline (LF or CRLF)
Node boolean value
Node null value
Node number value
Node shape ID value
Node string value
Quoted string with escape sequences
ShapeId: [namespace#]name[$$member]
Simple shape keyword - unified type thanks to Alternator
Single space or tab
Zero or more whitespace characters
One or more whitespace characters
Basic whitespace character (space, tab, newline, comma)