Packages

final class Dialect extends Product with Serializable

A dialect is used to configure what Scala syntax is allowed during tokenization and parsing.

Linear Supertypes
java.io.Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Dialect
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Dialect(allowAndTypes: Boolean, allowAtForExtractorVarargs: Boolean, allowCaseClassWithoutParameterList: Boolean, allowColonForExtractorVarargs: Boolean, allowEnums: Boolean, allowImplicitByNameParameters: Boolean, allowImplicitFunctionTypes: Boolean, allowInlineIdents: Boolean, allowInlineMods: Boolean, allowLiteralTypes: Boolean, allowMethodTypes: Boolean, allowMultilinePrograms: Boolean, allowOrTypes: Boolean, allowPatUnquotes: Boolean, allowSpliceUnderscores: Boolean, allowTermUnquotes: Boolean, allowToplevelTerms: Boolean, allowTrailingCommas: Boolean, allowTraitParameters: Boolean, allowTypeLambdas: Boolean, allowViewBounds: Boolean, allowWithTypes: Boolean, allowXmlLiterals: Boolean, toplevelSeparator: String)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Dialect toany2stringadd[Dialect] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Dialect, B)
    Implicit
    This member is added by an implicit conversion from Dialect toArrowAssoc[Dialect] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. val allowAndTypes: Boolean
  7. val allowAsPatternBinding: Boolean
  8. val allowAtForExtractorVarargs: Boolean
  9. val allowByNameRepeatedParameters: Boolean
  10. val allowCaseClassWithoutParameterList: Boolean
  11. val allowColonForExtractorVarargs: Boolean
  12. val allowCommaSeparatedExtend: Boolean
  13. val allowDerives: Boolean
  14. val allowEndMarker: Boolean
  15. val allowEnums: Boolean
  16. val allowExportClause: Boolean
  17. val allowExtensionMethods: Boolean
  18. val allowGivenUsing: Boolean
  19. val allowImplicitByNameParameters: Boolean
  20. val allowImplicitFunctionTypes: Boolean
  21. val allowInfixMods: Boolean
  22. val allowInlineIdents: Boolean
  23. val allowInlineMods: Boolean
  24. val allowInterpolationDolarQuoteEscape: Boolean
  25. val allowLazyValAbstractValues: Boolean
  26. val allowLiteralTypes: Boolean
  27. val allowLiteralUnitType: Boolean
  28. val allowMatchAsOperator: Boolean
  29. val allowMethodTypes: Boolean
  30. val allowMultilinePrograms: Boolean
  31. val allowNumericLiteralUnderscoreSeparators: Boolean
  32. val allowOpaqueTypes: Boolean
  33. val allowOpenClass: Boolean
  34. val allowOrTypes: Boolean
  35. val allowPatUnquotes: Boolean
  36. val allowPolymorphicFunctions: Boolean
  37. val allowQuestionMarkPlaceholder: Boolean
  38. val allowSignificantIndentation: Boolean
  39. val allowSpliceAndQuote: Boolean
  40. val allowSpliceUnderscores: Boolean
  41. val allowSuperTrait: Boolean
  42. val allowSymbolLiterals: Boolean
  43. val allowTermUnquotes: Boolean
  44. val allowToplevelStatements: Boolean
  45. val allowToplevelTerms: Boolean
  46. val allowTrailingCommas: Boolean
  47. val allowTraitParameters: Boolean
  48. val allowTryWithAnyExpr: Boolean
  49. val allowTypeInBlock: Boolean
  50. val allowTypeLambdas: Boolean
  51. val allowTypeMatch: Boolean
  52. val allowTypeParamUnderscore: Boolean
  53. def allowUnquotes: Boolean
  54. val allowUpperCasePatternVarBinding: Boolean
  55. val allowViewBounds: Boolean
  56. val allowWithTypes: Boolean
  57. val allowXmlLiterals: Boolean
  58. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  59. def canEqual(that: Any): Boolean
    Definition Classes
    Dialect → Equals
  60. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  61. def ensuring(cond: (Dialect) => Boolean, msg: => Any): Dialect
    Implicit
    This member is added by an implicit conversion from Dialect toEnsuring[Dialect] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  62. def ensuring(cond: (Dialect) => Boolean): Dialect
    Implicit
    This member is added by an implicit conversion from Dialect toEnsuring[Dialect] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  63. def ensuring(cond: Boolean, msg: => Any): Dialect
    Implicit
    This member is added by an implicit conversion from Dialect toEnsuring[Dialect] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  64. def ensuring(cond: Boolean): Dialect
    Implicit
    This member is added by an implicit conversion from Dialect toEnsuring[Dialect] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  65. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  66. def equals(other: Any): Boolean
    Definition Classes
    Dialect → Equals → AnyRef → Any
  67. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  68. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Dialect toStringFormat[Dialect] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  69. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  70. def hashCode(): Int
    Definition Classes
    Dialect → AnyRef → Any
  71. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  72. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  73. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  74. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  75. def productElementName(n: Int): String
    Definition Classes
    Product
  76. def productElementNames: Iterator[String]
    Definition Classes
    Product
  77. def productIterator: Iterator[Any]
    Definition Classes
    Product
  78. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  79. def toString(): String
    Definition Classes
    Dialect → AnyRef → Any
  80. val toplevelSeparator: String
  81. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  82. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  83. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  84. def withAllowAndTypes(newValue: Boolean): Dialect
  85. def withAllowAsPatternBinding(newValue: Boolean): Dialect
  86. def withAllowAtForExtractorVarargs(newValue: Boolean): Dialect
  87. def withAllowByNameRepeatedParameters(newValue: Boolean): Dialect
  88. def withAllowCaseClassWithoutParameterList(newValue: Boolean): Dialect
  89. def withAllowColonForExtractorVarargs(newValue: Boolean): Dialect
  90. def withAllowCommaSeparatedExtend(newValue: Boolean): Dialect
  91. def withAllowDerives(newValue: Boolean): Dialect
  92. def withAllowEndMarker(newValue: Boolean): Dialect
  93. def withAllowEnums(newValue: Boolean): Dialect
  94. def withAllowExportClause(newValue: Boolean): Dialect
  95. def withAllowExtensionMethods(newValue: Boolean): Dialect
  96. def withAllowGivenUsing(newValue: Boolean): Dialect
  97. def withAllowImplicitByNameParameters(newValue: Boolean): Dialect
  98. def withAllowInfixMods(newValue: Boolean): Dialect
  99. def withAllowInlineIdents(newValue: Boolean): Dialect
  100. def withAllowInlineMods(newValue: Boolean): Dialect
  101. def withAllowInterpolationDolarQuoteEscape(newValue: Boolean): Dialect
  102. def withAllowLazyValAbstractValues(newValue: Boolean): Dialect
  103. def withAllowLiteralTypes(newValue: Boolean): Dialect
  104. def withAllowLiteralUnitType(newValue: Boolean): Dialect
  105. def withAllowMatchAsOperator(newValue: Boolean): Dialect
  106. def withAllowMethodTypes(newValue: Boolean): Dialect
  107. def withAllowMultilinePrograms(newValue: Boolean): Dialect
  108. def withAllowNumericLiteralUnderscoreSeparators(newValue: Boolean): Dialect
  109. def withAllowOpaqueTypes(newValue: Boolean): Dialect
  110. def withAllowOpenClass(newValue: Boolean): Dialect
  111. def withAllowOrTypes(newValue: Boolean): Dialect
  112. def withAllowPatUnquotes(newValue: Boolean): Dialect
  113. def withAllowPolymorphicFunctions(newValue: Boolean): Dialect
  114. def withAllowQuestionMarkPlaceholder(newValue: Boolean): Dialect
  115. def withAllowSignificantIndentation(newValue: Boolean): Dialect
  116. def withAllowSpliceAndQuote(newValue: Boolean): Dialect
  117. def withAllowSpliceUnderscores(newValue: Boolean): Dialect
  118. def withAllowSymbolLiterals(newValue: Boolean): Dialect
  119. def withAllowTermUnquotes(newValue: Boolean): Dialect
  120. def withAllowToplevelStatements(newValue: Boolean): Dialect
  121. def withAllowToplevelTerms(newValue: Boolean): Dialect
  122. def withAllowTrailingCommas(newValue: Boolean): Dialect
  123. def withAllowTraitParameters(newValue: Boolean): Dialect
  124. def withAllowTryWithAnyExpr(newValue: Boolean): Dialect
  125. def withAllowTypeInBlock(newValue: Boolean): Dialect
  126. def withAllowTypeLambdas(newValue: Boolean): Dialect
  127. def withAllowTypeMatch(newValue: Boolean): Dialect
  128. def withAllowTypeParamUnderscore(newValue: Boolean): Dialect
  129. def withAllowUpperCasePatternVarBinding(newValue: Boolean): Dialect
  130. def withAllowViewBounds(newValue: Boolean): Dialect
  131. def withAllowWithTypes(newValue: Boolean): Dialect
  132. def withAllowXmlLiterals(newValue: Boolean): Dialect
  133. def withToplevelSeparator(newValue: String): Dialect

Deprecated Value Members

  1. val allowWhiteboxMacro: Boolean
    Annotations
    @deprecated
    Deprecated

    (Since version 4.4.1) Replaced with allowSpliceAndQuote

  2. def copy(allowAndTypes: Boolean = this.allowAndTypes, allowAtForExtractorVarargs: Boolean = this.allowAtForExtractorVarargs, allowCaseClassWithoutParameterList: Boolean = this.allowCaseClassWithoutParameterList, allowColonForExtractorVarargs: Boolean = this.allowColonForExtractorVarargs, allowEnums: Boolean = this.allowEnums, allowImplicitByNameParameters: Boolean = this.allowImplicitByNameParameters, allowImplicitFunctionTypes: Boolean = this.allowImplicitFunctionTypes, allowInlineIdents: Boolean = this.allowInlineIdents, allowInlineMods: Boolean = this.allowInlineMods, allowLiteralTypes: Boolean = this.allowLiteralTypes, allowMethodTypes: Boolean = this.allowMethodTypes, allowMultilinePrograms: Boolean = this.allowMultilinePrograms, allowOrTypes: Boolean = this.allowOrTypes, allowPatUnquotes: Boolean = this.allowPatUnquotes, allowSpliceUnderscores: Boolean = this.allowSpliceUnderscores, allowTermUnquotes: Boolean = this.allowTermUnquotes, allowToplevelTerms: Boolean = this.allowToplevelTerms, allowTrailingCommas: Boolean = this.allowTrailingCommas, allowTraitParameters: Boolean = this.allowTraitParameters, allowTypeLambdas: Boolean = this.allowTypeLambdas, allowViewBounds: Boolean = this.allowViewBounds, allowWithTypes: Boolean = this.allowWithTypes, allowXmlLiterals: Boolean = this.allowXmlLiterals, toplevelSeparator: String = this.toplevelSeparator): Dialect
    Annotations
    @deprecated
    Deprecated

    (Since version 4.3.11) Use withX method instead

  3. def productArity: Int
    Definition Classes
    Dialect → Product
    Annotations
    @deprecated
    Deprecated

    (Since version 4.3.11) Dialect should not be a Product

  4. def productElement(n: Int): Any
    Definition Classes
    Dialect → Product
    Annotations
    @deprecated
    Deprecated

    (Since version 4.3.11) Dialect should not be a Product

  5. def productPrefix: String
    Definition Classes
    Dialect → Product
    Annotations
    @deprecated
    Deprecated

    (Since version 4.3.11) Dialect should not be a Product

  6. def withAllowImplicitFunctionTypes(newValue: Boolean): Dialect
    Annotations
    @deprecated
    Deprecated

    (Since version 4.4.1) Implicit functions are not supported in any dialect

  7. def withAllowSuperTrait(newValue: Boolean): Dialect
    Annotations
    @deprecated
    Deprecated

    (Since version 4.4.1) Super traits are not supported in any dialect

  8. def withAllowWhiteboxMacro(newValue: Boolean): Dialect
    Annotations
    @deprecated
    Deprecated

    (Since version 4.4.1) Replaced by withAllowSplicesAndQuotes

  9. def [B](y: B): (Dialect, B)
    Implicit
    This member is added by an implicit conversion from Dialect toArrowAssoc[Dialect] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from java.io.Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromDialect to any2stringadd[Dialect]

Inherited by implicit conversion StringFormat fromDialect to StringFormat[Dialect]

Inherited by implicit conversion Ensuring fromDialect to Ensuring[Dialect]

Inherited by implicit conversion ArrowAssoc fromDialect to ArrowAssoc[Dialect]

Ungrouped