Packages

c

app.wordpace.inkwell

DefaultGenerator

abstract class DefaultGenerator[Output] extends Generator[Output]

Linear Supertypes
Generator[Output], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultGenerator
  2. Generator
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DefaultGenerator(config: GeneratorConfiguration)

Abstract Value Members

  1. abstract def produce(units: Set[CompilationUnit]): Output

    Produces the Output value.

    Produces the Output value.

    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  6. val config: GeneratorConfiguration
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def filePath(unit: CompilationUnit): Path

    Create a file path from the given compilation unit.

    Create a file path from the given compilation unit.

    From a design perspective, this shouldn't actually be part of DefaultGenerator but rather FileGenerator. However, Scalafmt requires the file path of the generated "file".

    Attributes
    protected
  10. lazy val formattingUnitEmitter: CompilationUnitEmitter

    This emitter formats all compilation units either with Scalafmt or a code formatter of your choice if you override this.

    This emitter formats all compilation units either with Scalafmt or a code formatter of your choice if you override this. Wraps the configured unit emitter.

    Attributes
    protected
  11. def generate(): Output

    Run the generator and produce an Output value.

    Run the generator and produce an Output value.

    Definition Classes
    DefaultGeneratorGenerator
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Generator[Output]

Inherited from AnyRef

Inherited from Any

Ungrouped