Packages

object LFUtil extends Serializable

Linear Supertypes
Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LFUtil
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed trait CodeGenDeclKind extends AnyRef
  2. type FilePlan = \/[String, (Option[String], File, Iterable[scala.reflect.api.JavaUniverse.Tree])]
  3. final case class TupleNesting[A](run: NonEmptyList[\/[A, TupleNesting[A]]]) extends Product with Serializable
  4. final case class WriteParams(templateIds: Map[Identifier, DefTemplateWithRecord], definitions: Vector[FWT], interfaces: Map[Identifier, typesig.DefInterface.FWT]) extends Product with Serializable

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. val autoGenerationHeader: String
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  7. val domainApiAlias: scala.reflect.api.JavaUniverse.Ident
  8. val domainApiImport: scala.reflect.api.JavaUniverse.Tree
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def escapeIfReservedName(name: Name): Name
  12. def escapeReservedName(name: Name): \/[Name, name.type]

    Either mangle a reserved name, or return it unchanged.

    Either mangle a reserved name, or return it unchanged. Reserved names are defined by the Scala interface section of the LF specification.

    Note: not idempotent! Escaped reserved names are still reserved, and will be escaped again by a second call. See said spec for details.

  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. val higherKindsImport: scala.reflect.api.JavaUniverse.Tree
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. val nothingType: scala.reflect.api.JavaUniverse.Select
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  21. def packageNameToRefTree(packageName: String): scala.reflect.api.JavaUniverse.RefTree
  22. val primitiveObject: scala.reflect.api.JavaUniverse.Tree
  23. def qualifiedNameToDirsAndName(qualifiedName: QualifiedName): (Array[String], String)
  24. def qualifiedNameToRefTree(ss: Array[String]): scala.reflect.api.JavaUniverse.RefTree
  25. val reservedNames: Set[String]
  26. val rpcEventAlias: scala.reflect.api.JavaUniverse.Ident
  27. val rpcEventImport: scala.reflect.api.JavaUniverse.Tree
  28. val rpcValueAlias: scala.reflect.api.JavaUniverse.Ident
  29. val rpcValueImport: scala.reflect.api.JavaUniverse.Tree
  30. def simplyDelegates(typeVars: ImmArraySeq[Name]): (Type) => Option[Identifier]

    Does the type "simply delegate" (i.e.

    Does the type "simply delegate" (i.e. just pass along typeVars verbatim) to another type constructor? If so, yield that type constructor as a string.

  31. val stdMapCompanion: scala.reflect.api.JavaUniverse.Select
  32. val stdMapType: scala.reflect.api.JavaUniverse.Select
  33. val stdSeqCompanion: scala.reflect.api.JavaUniverse.Select
  34. val stdVectorType: scala.reflect.api.JavaUniverse.Select
  35. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  36. def toCovariantTypeDef(s: String): scala.reflect.api.JavaUniverse.TypeDef
  37. def toIdent(s: String): scala.reflect.api.JavaUniverse.Ident
  38. def toNotReservedName(name: String): String
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. def toTypeDef(s: String): scala.reflect.api.JavaUniverse.TypeDef
  41. def tupleNesting[A](flat: NonEmptyList[A], root: Int, subtrees: Int): TupleNesting[A]

    Group flat into the shallowest permissible tree, given that a maximum of root branches are permitted directly at the root and subtrees branches are permitted from each internal node other than root.

    Group flat into the shallowest permissible tree, given that a maximum of root branches are permitted directly at the root and subtrees branches are permitted from each internal node other than root.

    This is used for generating applicative-style code for which multiple arities of liftAn are supported and it is more efficient/specializable to use higher arities when possible. For example, scalaz.Apply supports up to apply12 and tuple5, so root=12, subtrees=5 would be appropriate to generate calls to its functions.

    See LFUtilSpec#tupleNestingSamples for some example inputs and output.

  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. case object Contract extends CodeGenDeclKind with Product with Serializable
  46. case object EventDecoder extends CodeGenDeclKind with Product with Serializable
  47. case object Template extends CodeGenDeclKind with Product with Serializable
  48. case object UserDefinedType extends CodeGenDeclKind with Product with Serializable
  49. object WriteParams extends Serializable

Deprecated Value Members

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

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped