DeclarationMapper

io.github.scalats.core.DeclarationMapper
See theDeclarationMapper companion object

The implementations must be class with a no-arg constructor.

See:

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type

Members list

Value members

Abstract methods

def apply(parent: Resolved, settings: Settings, typeMapper: Resolved, fieldMapper: FieldMapper, declaration: Declaration, context: Context, out: PrintStream): Option[Unit]

Value parameters

context

the optional context (useful for conditional while composing)

declaration

the transpiled declaration to be emitted

fieldMapper

the field mapper

out

the printer to output the code

parent

the parent declaration mapper

settings

the current settings

typeMapper

the resolved type mapper

Attributes

Returns

Some print operation, or None if declaration is not handled

Concrete methods

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function7 -> Any

Inherited methods

def curried: Resolved => Settings => Resolved => FieldMapper => Declaration => Context => PrintStream => Option[Unit]

Attributes

Inherited from:
Function7

Attributes

Inherited from:
Function7