Core API reference

Overview

This reference describes the Yellicode core API. The Core API contains some utility classes and other infrastructure that makes it easier to create code generation templates, model tranforms and Yellicode extensions.

Interfaces

LoggerDefines the interface for types that implement logging.
ModelTransformThe base interface for all model transformations.
TextWriterRepresents a writer that can write a sequential series of characters.

Classes

CodeWriterUtilityContains helper methods that can be used by custom code writers and templates.
CodeWriterThe abstract base class for all code writers. This writer implements the TextWriter interface by decorating the TextWriter provided in the constructor.
ConsoleLoggerA Logger implementation that logs to the default Console.
ModelTransformPipelinePerforms a sequence of model transforms, where the output of each transform is the input of the next transform.
NameUtilityProvides helper functions for converting the casing of names.

Enumerations

LogLevelEnumerates the possible Yellicode logging levels.