object Helpers
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Helpers
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
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 accessorName(neighborInfoForNode: NeighborInfoForNode): String
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def camelCase(snakeCase: String): String
- def camelCaseCaps(snakeCase: String): String
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def completeTypeHierarchy(node: AbstractNodeType): Seq[AbstractNodeType]
- def defaultValueCheckImpl[A](memberName: String, default: Default[A]): String
- def defaultValueImpl[A](default: Default[A]): String
- def deriveCommonRootType(neighborNodeInfos: Set[AbstractNodeType]): String
- def docAnnotationMaybe(customStepDoc: Option[String]): String
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def escapeIfKeyword(value: String): String
- def escapeJava(src: String): String
escape things like quotes, backslashes, end of comment ('* /' without the space) etc.
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- 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
- def fullScalaType(neighborNode: AbstractNodeType, cardinality: Cardinality): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getCompleteType(cardinality: Cardinality, valueType: String): String
- def getCompleteType(containedNode: ContainedNode): String
- def getCompleteType[A](property: Property[_]): String
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isNodeBaseTrait(baseTraits: Seq[NodeBaseType], nodeName: String): Boolean
- def lowestCommonAncestor(nodes: Set[AbstractNodeType]): Option[AbstractNodeType]
in theory there can be multiple candidates - we're just returning one of those for now
- 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()
- def propertyDefaultCases(properties: Seq[Property[_]]): String
- def propertyDefaultValueImpl(propertyDefaultsPath: String, properties: Seq[Property[_]]): String
- val propertyErrorRegisterImpl: String
- def propertyKeyDef(name: String, baseType: String, cardinality: Cardinality): String
- def quote(string: String): String
- def quoted(strings: Iterable[String]): Iterable[String]
- val quotes: Char
- val scalaReservedKeywords: Set[String]
obtained from repl via
obtained from repl via
:power nme.keywords
- def singularize(str: String): String
- 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
- def stringToOption(s: String): Option[String]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def typeFor(containedNode: ContainedNode): String
- def typeFor[A](property: Property[A]): String
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()