Package

argus

macros

Permalink

package macros

Visibility
  1. Public
  2. All

Type Members

  1. class ASTHelpers[U <: Universe] extends AnyRef

    Permalink

    Common utils for AST munging.

    Common utils for AST munging. Also includes a few helps for constructing type names/paths from json constructs.

  2. class CirceCodecBuilder[U <: Universe] extends CodecBuilder

    Permalink

  3. trait CodecBuilder extends AnyRef

    Permalink

  4. sealed trait JsonEng extends AnyRef

    Permalink
  5. class ModelBuilder[U <: Universe] extends AnyRef

    Permalink

    Helper to build the model class for a given schema.

    Helper to build the model class for a given schema.

    U

    wats dis? We need an explicit type to help the type checker see that our path-dependent type of Universe, is actually the same as the one used in the main macro class. ¯\_(ツ)_/¯. #loltypes

  6. class SchemaMacros extends AnyRef

    Permalink
  7. macro class fromSchemaJson extends Annotation with StaticAnnotation

    Permalink

    Augments the annotated object with cases classes that implement the given Json Schema

    Augments the annotated object with cases classes that implement the given Json Schema

    Annotations
    @compileTimeOnly( ... ) @compileTimeOnly( ... )
  8. macro class fromSchemaResource extends Annotation with StaticAnnotation

    Permalink

    Same as fromSchemaJson, but loads the json schema from the given resource path

    Same as fromSchemaJson, but loads the json schema from the given resource path

    Annotations
    @compileTimeOnly( ... ) @compileTimeOnly( ... )
  9. macro class fromSchemaURL extends Annotation with StaticAnnotation

    Permalink

    Same as fromSchemaJson, but loads the json schema from the given file path.

    Same as fromSchemaJson, but loads the json schema from the given file path.

    Annotations
    @compileTimeOnly( ... ) @compileTimeOnly( ... )

Value Members

  1. object JsonEngs

    Permalink

Ungrouped