Package software.amazon.smithy.codegen.core
Defines abstractions for implementing Smithy model code generation.
-
Interface Summary Interface Description ReservedWords Determines what is reserved and escapes reserved words.SymbolContainer A holder forSymbol
objects.SymbolDependencyContainer A container forSymbolDependency
objects.SymbolProvider ProvidesSymbol
objects for shapes.SymbolReference.Option Top-level interface for allSymbolReference
options. -
Class Summary Class Description MappedReservedWords A reserved words implementation that maps known words to other words.MappedReservedWords.Builder Builder to create a newMappedReservedWords
instance.ReservedWordsBuilder Builds aReservedWords
implementation from explicit mappings and from line-delimited files that contain reserved words.ReservedWordSymbolProvider Decorates aSymbolProvider
by passing values through context specificReservedWords
implementations.ReservedWordSymbolProvider.Builder Builder to build aReservedWordSymbolProvider
.ReservedWordSymbolProvider.Escaper Uses to manually escapeSymbol
s and member names.Symbol A "symbol" is created by aSymbolProvider
, and represents the qualified name of a type in a target programming language.Symbol.Builder Builds a Symbol.SymbolDependency Represents a dependency that is introduced by aSymbol
.SymbolDependency.Builder Builds a SymbolDependency.SymbolReference Represents a reference from a Symbol to another Symbol.SymbolReference.Builder Builds a SymbolReference.TopologicalIndex Creates a reverse-topological ordering of shapes. -
Enum Summary Enum Description SymbolReference.ContextOption Options used to control the context of when the symbol reference is needed. -
Exception Summary Exception Description CodegenException Thrown when an error occurs during code generation.