Packages

object NamingVar extends NamingVar

A default NamingVar rule

A variable name should match a regular expression [a-z_$][A-Za-z0-9_$]*.

Note

Some library that is using a macro generates a variable whose name contains $. It is difficult to exclude such variables from targets of WartRemover. Therefore, we permit $ to be a part of a variable name.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NamingVar
  2. NamingVar
  3. WartTraverser
  4. AnyRef
  5. 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 apply(u: WartUniverse): Traverser
    Definition Classes
    NamingVar → WartTraverser
  5. def asAnnotationMacro(c: Context)(annottees: scala.reflect.macros.blackbox.Context.Expr[Any]*): scala.reflect.macros.blackbox.Context.Expr[Any]
    Definition Classes
    WartTraverser
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def asMacro(c: Context)(expr: scala.reflect.macros.blackbox.Context.Expr[Any]): scala.reflect.macros.blackbox.Context.Expr[Any]
    Definition Classes
    WartTraverser
  8. lazy val className: String
    Definition Classes
    WartTraverser
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  10. def compose(o: WartTraverser): WartTraverser
    Definition Classes
    WartTraverser
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def error(u: WartUniverse)(pos: scala.reflect.api.Universe.Position, message: String): Unit
    Definition Classes
    WartTraverser
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hasTypeAscription(u: WartUniverse)(tree: scala.reflect.api.Universe.ValOrDefDef): Boolean
    Definition Classes
    WartTraverser
  17. def hasWartAnnotation(u: WartUniverse)(tree: scala.reflect.api.Universe.Tree): Boolean
    Definition Classes
    WartTraverser
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def isAnonymousFunctionName(u: WartUniverse)(t: scala.reflect.api.Universe.TypeName): Boolean
    Definition Classes
    WartTraverser
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def isPrimitive(u: WartUniverse)(t: scala.reflect.api.Universe.Type): Boolean
    Definition Classes
    WartTraverser
  22. def isPrivate(u: WartUniverse)(t: scala.reflect.api.Universe.ValOrDefDef): Boolean
    Definition Classes
    WartTraverser
  23. def isPublic(u: WartUniverse)(t: scala.reflect.api.Universe.ValOrDefDef): Boolean
    Definition Classes
    WartTraverser
  24. def isSynthetic(u: WartUniverse)(t: scala.reflect.api.Universe.Tree): Boolean
    Definition Classes
    WartTraverser
  25. def isSyntheticPartialFunction(u: WartUniverse)(tree: scala.reflect.api.Universe.Tree): Boolean
    Definition Classes
    WartTraverser
  26. def isWartAnnotation(u: WartUniverse)(a: scala.reflect.api.Universe.Annotation): Boolean
    Definition Classes
    WartTraverser
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  35. def warning(u: WartUniverse)(pos: scala.reflect.api.Universe.Position, message: String): Unit
    Definition Classes
    WartTraverser
  36. lazy val wartName: String
    Definition Classes
    WartTraverser
  37. def wasInferred(u: WartUniverse)(t: scala.reflect.api.Universe.TypeTree): Boolean
    Definition Classes
    WartTraverser

Inherited from NamingVar

Inherited from WartTraverser

Inherited from AnyRef

Inherited from Any

Ungrouped