case class ScalametaGenerator(moduleName: Name, emitInterfaces: Boolean = false, stats: List[Stat] = List.empty) extends Generator[Object] with Product with Serializable
Generate code using Scalameta.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ScalametaGenerator
- Serializable
- Serializable
- Product
- Equals
- Generator
- Function1
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ScalametaGenerator(moduleName: Name, emitInterfaces: Boolean = false, stats: List[Stat] = List.empty)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
andThen[A](g: (Result[Object]) ⇒ A): (Api) ⇒ A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
apply(api: Api): Result[Object]
- Definition Classes
- ScalametaGenerator → Function1
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
compose[A](g: (A) ⇒ Api): (A) ⇒ Result[Object]
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- val emitInterfaces: Boolean
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def generateFieldType(field: Field)(genType: (Type) ⇒ Type): Type
- def generateInterface(interface: Interface): Stat
- def generateObject(obj: Object, interfaces: List[String]): Stat
- def generateOperation(operation: Operation): List[Stat]
- def generateTemplate(traits: List[String], prefix: String = moduleName.value + "."): Template
- def generateType(tree: Type): List[Stat]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val moduleName: Name
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val stats: List[Stat]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def termParam(paramName: String, tpe: Type): Param
-
def
toString(): String
- Definition Classes
- Function1 → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()