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
Serializable, java.io.Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Dialect
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Dialect(allowAndTypes: Boolean, allowAtForExtractorVarargs: Boolean, allowCaseClassWithoutParameterList: Boolean, allowColonForExtractorVarargs: Boolean, allowEnums: Boolean, allowImplicitByNameParameters: Boolean, allowInlineIdents: Boolean, allowInlineMods: Boolean, allowLiteralTypes: Boolean, allowMultilinePrograms: Boolean = true, allowOrTypes: Boolean, allowPatUnquotes: Boolean = false, allowSpliceUnderscores: Boolean, allowTermUnquotes: Boolean = false, allowToplevelTerms: Boolean, allowTrailingCommas: Boolean, allowTraitParameters: Boolean, allowTypeLambdas: Boolean, allowViewBounds: 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 to any2stringadd[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 to ArrowAssoc[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 allowAllTypedPatterns: Boolean
  7. val allowAsForImportRename: Boolean
  8. val allowAtForExtractorVarargs: Boolean
  9. val allowBinaryLiterals: Boolean
  10. val allowByNameRepeatedParameters: Boolean
  11. val allowCaptureChecking: Boolean
  12. val allowCaseClassWithoutParameterList: Boolean
  13. val allowColonForExtractorVarargs: Boolean
  14. val allowCommaSeparatedExtend: Boolean
  15. val allowDependentFunctionTypes: Boolean
  16. val allowDerives: Boolean
  17. val allowDoWhile: Boolean
  18. val allowEmptyInfixArgs: Boolean
  19. val allowEndMarker: Boolean
  20. val allowEnums: Boolean
  21. val allowErasedDefs: Boolean
  22. val allowExportClause: Boolean
  23. val allowExtensionMethods: Boolean
  24. val allowFewerBraces: Boolean
  25. val allowGivenImports: Boolean
  26. val allowGivenUsing: Boolean
  27. val allowImplicitByNameParameters: Boolean
  28. val allowImprovedTypeClassesSyntax: Boolean
  29. val allowInfixMods: Boolean
  30. val allowInfixOperatorAfterNL: Boolean
  31. val allowInlineIdents: Boolean
  32. val allowInlineMods: Boolean
  33. val allowInterpolationDolarQuoteEscape: Boolean
  34. val allowLazyValAbstractValues: Boolean
  35. val allowLiteralTypes: Boolean
  36. val allowMatchAsOperator: Boolean
  37. def allowMultilinePrograms: Boolean
  38. val allowNumericLiteralUnderscoreSeparators: Boolean
  39. val allowOpaqueTypes: Boolean
  40. val allowOpenClass: Boolean
  41. val allowParamClauseInterleaving: Boolean
  42. val allowParameterTypeConversions: Boolean
  43. def allowPatUnquotes: Boolean
  44. val allowPlusMinusUnderscoreAsIdent: Boolean
  45. val allowPolymorphicFunctions: Boolean
  46. val allowPostfixStarVarargSplices: Boolean
  47. val allowProcedureSyntax: Boolean
  48. val allowPureFunctions: Boolean
  49. val allowQuestionMarkAsTypeWildcard: Boolean
  50. val allowQuietSyntax: Boolean
  51. val allowQuotedTypeVariables: Boolean
  52. val allowSignificantIndentation: Boolean
  53. val allowSpliceAndQuote: Boolean
  54. val allowSpliceUnderscores: Boolean
  55. val allowStarAsTypePlaceholder: Boolean
  56. val allowStarWildcardImport: Boolean
  57. val allowSymbolLiterals: Boolean
  58. def allowTermUnquotes: Boolean
  59. val allowToplevelStatements: Boolean
  60. val allowToplevelTerms: Boolean
  61. val allowTrackedParameters: Boolean
  62. val allowTrailingCommas: Boolean
  63. val allowTraitParameters: Boolean
  64. val allowTryWithAnyExpr: Boolean
  65. val allowTypeInBlock: Boolean
  66. val allowTypeLambdas: Boolean
  67. val allowTypeMatch: Boolean
  68. val allowTypeParamUnderscore: Boolean
  69. val allowUnderscoreAsTypePlaceholder: Boolean
  70. def allowUnquotes: Boolean
  71. val allowUpperCasePatternVarBinding: Boolean
  72. val allowXmlLiterals: Boolean
  73. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  74. def canEqual(that: Any): Boolean
    Definition Classes
    Dialect → Equals
  75. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  76. def ensuring(cond: (Dialect) ⇒ Boolean, msg: ⇒ Any): Dialect
    Implicit
    This member is added by an implicit conversion from Dialect to Ensuring[Dialect] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  77. def ensuring(cond: (Dialect) ⇒ Boolean): Dialect
    Implicit
    This member is added by an implicit conversion from Dialect to Ensuring[Dialect] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  78. def ensuring(cond: Boolean, msg: ⇒ Any): Dialect
    Implicit
    This member is added by an implicit conversion from Dialect to Ensuring[Dialect] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  79. def ensuring(cond: Boolean): Dialect
    Implicit
    This member is added by an implicit conversion from Dialect to Ensuring[Dialect] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  80. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  81. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  82. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  83. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  84. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  85. def isEquivalentTo(that: Dialect): Boolean
  86. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  87. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  88. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  89. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  90. def productIterator: Iterator[Any]
    Definition Classes
    Product
  91. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  92. def toString(): String
    Definition Classes
    Dialect → AnyRef → Any
  93. val useInfixTypePrecedence: Boolean
  94. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  95. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  96. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  97. def withAllowAllTypedPatterns(newValue: Boolean): Dialect
  98. def withAllowAsForImportRename(newValue: Boolean): Dialect
  99. def withAllowAtForExtractorVarargs(newValue: Boolean): Dialect
  100. def withAllowBinaryLiterals(newValue: Boolean): Dialect
  101. def withAllowByNameRepeatedParameters(newValue: Boolean): Dialect
  102. def withAllowCaptureChecking(newValue: Boolean): Dialect
  103. def withAllowCaseClassWithoutParameterList(newValue: Boolean): Dialect
  104. def withAllowColonForExtractorVarargs(newValue: Boolean): Dialect
  105. def withAllowCommaSeparatedExtend(newValue: Boolean): Dialect
  106. def withAllowDependentFunctionTypes(newValue: Boolean): Dialect
  107. def withAllowDerives(newValue: Boolean): Dialect
  108. def withAllowDoWhile(newValue: Boolean): Dialect
  109. def withAllowEmptyInfixArgs(newValue: Boolean): Dialect
  110. def withAllowEndMarker(newValue: Boolean): Dialect
  111. def withAllowEnums(newValue: Boolean): Dialect
  112. def withAllowErasedDefs(newValue: Boolean): Dialect
  113. def withAllowExportClause(newValue: Boolean): Dialect
  114. def withAllowExtensionMethods(newValue: Boolean): Dialect
  115. def withAllowFewerBraces(newValue: Boolean): Dialect
  116. def withAllowGivenImports(newValue: Boolean): Dialect
  117. def withAllowGivenUsing(newValue: Boolean): Dialect
  118. def withAllowImplicitByNameParameters(newValue: Boolean): Dialect
  119. def withAllowImprovedTypeClassesSyntax(newValue: Boolean): Dialect
  120. def withAllowInfixMods(newValue: Boolean): Dialect
  121. def withAllowInfixOperatorAfterNL(newValue: Boolean): Dialect
  122. def withAllowInlineIdents(newValue: Boolean): Dialect
  123. def withAllowInlineMods(newValue: Boolean): Dialect
  124. def withAllowInterpolationDolarQuoteEscape(newValue: Boolean): Dialect
  125. def withAllowLazyValAbstractValues(newValue: Boolean): Dialect
  126. def withAllowLiteralTypes(newValue: Boolean): Dialect
  127. def withAllowMatchAsOperator(newValue: Boolean): Dialect
  128. def withAllowMultilinePrograms(newValue: Boolean): Dialect
  129. def withAllowNumericLiteralUnderscoreSeparators(newValue: Boolean): Dialect
  130. def withAllowOpaqueTypes(newValue: Boolean): Dialect
  131. def withAllowOpenClass(newValue: Boolean): Dialect
  132. def withAllowParamClauseInterleaving(newValue: Boolean): Dialect
  133. def withAllowParameterTypeConversions(newValue: Boolean): Dialect
  134. def withAllowPatUnquotes(newValue: Boolean): Dialect
  135. def withAllowPlusMinusUnderscoreAsIdent(newValue: Boolean): Dialect
  136. def withAllowPolymorphicFunctions(newValue: Boolean): Dialect
  137. def withAllowPostfixStarVarargSplices(newValue: Boolean): Dialect
  138. def withAllowProcedureSyntax(newValue: Boolean): Dialect
  139. def withAllowPureFunctions(newValue: Boolean): Dialect
  140. def withAllowQuestionMarkAsTypeWildcard(newValue: Boolean): Dialect
  141. def withAllowQuietSyntax(newValue: Boolean): Dialect
  142. def withAllowQuotedTypeVariables(newValue: Boolean): Dialect
  143. def withAllowSignificantIndentation(newValue: Boolean): Dialect
  144. def withAllowSpliceAndQuote(newValue: Boolean): Dialect
  145. def withAllowSpliceUnderscores(newValue: Boolean): Dialect
  146. def withAllowStarAsTypePlaceholder(newValue: Boolean): Dialect
  147. def withAllowStarWildcardImport(newValue: Boolean): Dialect
  148. def withAllowSymbolLiterals(newValue: Boolean): Dialect
  149. def withAllowTermUnquotes(newValue: Boolean): Dialect
  150. def withAllowToplevelStatements(newValue: Boolean): Dialect
  151. def withAllowToplevelTerms(newValue: Boolean): Dialect
  152. def withAllowTrackedParameters(newValue: Boolean): Dialect
  153. def withAllowTrailingCommas(newValue: Boolean): Dialect
  154. def withAllowTraitParameters(newValue: Boolean): Dialect
  155. def withAllowTryWithAnyExpr(newValue: Boolean): Dialect
  156. def withAllowTypeInBlock(newValue: Boolean): Dialect
  157. def withAllowTypeLambdas(newValue: Boolean): Dialect
  158. def withAllowTypeMatch(newValue: Boolean): Dialect
  159. def withAllowTypeParamUnderscore(newValue: Boolean): Dialect
  160. def withAllowUnderscoreAsTypePlaceholder(newValue: Boolean): Dialect
  161. def withAllowUpperCasePatternVarBinding(newValue: Boolean): Dialect
  162. def withAllowXmlLiterals(newValue: Boolean): Dialect
  163. def withUseInfixTypePrecedence(newValue: Boolean): Dialect
  164. def [B](y: B): (Dialect, B)
    Implicit
    This member is added by an implicit conversion from Dialect to ArrowAssoc[Dialect] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. val allowAndTypes: Boolean
    Annotations
    @deprecated
    Deprecated

    (Since version 4.5.1) allowAndTypes unneeded, infix types are supported

  2. val allowOrTypes: Boolean
    Annotations
    @deprecated
    Deprecated

    (Since version 4.5.1) allowOrTypes unneeded, infix types are supported

  3. def allowPlusMinusUnderscoreAsPlaceholder: Boolean
    Annotations
    @deprecated
    Deprecated

    (Since version >4.5.13) use allowUnderscoreAsTypePlaceholder

  4. def allowQuestionMarkPlaceholder: Boolean
    Annotations
    @deprecated
    Deprecated

    (Since version >4.5.13) use allowQuestionMarkAsTypeWildcard

  5. val allowViewBounds: Boolean
    Annotations
    @deprecated
    Deprecated

    (Since version >4.10.2) allowViewBounds unneeded, it was only used for an error

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

    (Since version 4.3.11) Use withX method instead

  7. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Dialect to StringFormat[Dialect] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

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

    (Since version 4.3.11) Dialect should not be a Product

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

    (Since version 4.3.11) Dialect should not be a Product

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

    (Since version 4.3.11) Dialect should not be a Product

  11. val toplevelSeparator: String
    Annotations
    @deprecated
    Deprecated

    (Since version >4.4.35) toplevelSeparator has never been used

  12. def withAllowAndTypes(newValue: Boolean): Dialect
    Annotations
    @deprecated
    Deprecated

    (Since version 4.5.1) allowAndTypes unneeded, infix types are supported

  13. def withAllowOrTypes(newValue: Boolean): Dialect
    Annotations
    @deprecated
    Deprecated

    (Since version 4.5.1) allowOrTypes unneeded, infix types are supported

  14. def withAllowPlusMinusUnderscoreAsPlaceholder(newValue: Boolean): Dialect
    Annotations
    @deprecated
    Deprecated

    (Since version >4.5.13) use withAllowUnderscoreAsTypePlaceholder

  15. def withAllowQuestionMarkPlaceholder(newValue: Boolean): Dialect
    Annotations
    @deprecated
    Deprecated

    (Since version >4.5.13) use withAllowQuestionMarkAsTypeWildcard

  16. def withAllowViewBounds(newValue: Boolean): Dialect
    Annotations
    @deprecated
    Deprecated

    (Since version >4.10.2) allowViewBounds unneeded, it was only used for an error

  17. def withToplevelSeparator(newValue: String): Dialect
    Annotations
    @deprecated
    Deprecated

    (Since version >4.4.35) toplevelSeparator has never been used

Inherited from Serializable

Inherited from java.io.Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Dialect to any2stringadd[Dialect]

Inherited by implicit conversion StringFormat from Dialect to StringFormat[Dialect]

Inherited by implicit conversion Ensuring from Dialect to Ensuring[Dialect]

Inherited by implicit conversion ArrowAssoc from Dialect to ArrowAssoc[Dialect]

Ungrouped