Packages

object Helpers

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Helpers
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. def accessorName(neighborInfoForNode: NeighborInfoForNode): String
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def camelCase(snakeCase: String): String
  7. def camelCaseCaps(snakeCase: String): String
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  9. def completeTypeHierarchy(node: AbstractNodeType): Seq[AbstractNodeType]
  10. def defaultValueCheckImpl[A](memberName: String, default: Default[A]): String
  11. def defaultValueImpl[A](default: Default[A]): String
  12. def deriveCommonRootType(neighborNodeInfos: Set[AbstractNodeType]): Option[AbstractNodeType]
  13. def docAnnotationMaybe(customStepDoc: Option[String]): String
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def escapeIfKeyword(value: String): String
  17. def escapeJava(src: String): String

    escape things like quotes, backslashes, end of comment ('* /' without the space) etc.

  18. def findSharedRoot(nodeTypes: Set[AbstractNodeType]): Option[AbstractNodeType]

    from the given node types, find one that is part of the complete type hierarchy of *all* other node types

  19. def fullScalaType(neighborNode: AbstractNodeType, cardinality: Cardinality): String
  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  21. def getCompleteType(cardinality: Cardinality, valueType: String): String
  22. def getCompleteType(containedNode: ContainedNode): String
  23. def getCompleteType[A](property: Property[_], nullable: Boolean = true): String
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def isNodeBaseTrait(baseTraits: Seq[NodeBaseType], nodeName: String): Boolean
  27. def lowestCommonAncestor(nodes: Set[AbstractNodeType]): Option[AbstractNodeType]

    In theory there can be multiple candidates - we're just returning one of those for now.

    In theory there can be multiple candidates - we're just returning one of those for now. We want the results to be stable between different codegen runs, so we simply return the first in alphabetical order...

  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  31. def propertyAccessors(properties: Seq[Property[_]], nullable: Boolean = true): String
  32. def propertyDefaultCases(properties: Seq[Property[_]]): String
  33. def propertyDefaultValueImpl(propertyDefaultsPath: String, properties: Seq[Property[_]]): String
  34. val propertyErrorRegisterImpl: String
  35. def propertyKeyDef(name: String, baseType: String, cardinality: Cardinality): String
  36. def quote(string: String): String
  37. def quoted(strings: Iterable[String]): Iterable[String]
  38. val quotes: Char
  39. val scalaReservedKeywords: Set[String]

    obtained from repl via

    obtained from repl via

    :power
    nme.keywords
  40. def singularize(str: String): String
  41. def snakeCase(camelCase: String): String

    Converts from camelCase to snake_case e.g.: camelCase => camel_case

    Converts from camelCase to snake_case e.g.: camelCase => camel_case

    copy pasted from https://gist.github.com/sidharthkuruvila/3154845#gistcomment-2622928

  42. def stringToOption(s: String): Option[String]
  43. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  44. def toString(): String
    Definition Classes
    AnyRef → Any
  45. def typeFor(containedNode: ContainedNode): String
  46. def typeFor[A](property: Property[A], nullable: Boolean = false): String
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  49. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

Inherited from AnyRef

Inherited from Any

Ungrouped