Class/Object

scala.meta

Dialect

Related Docs: object Dialect | package meta

Permalink

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, 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)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    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)

    Permalink
    Implicit information
    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

    Permalink
    Definition Classes
    AnyRef → Any
  6. val allowAllTypedPatterns: Boolean

    Permalink
  7. val allowAndTypes: Boolean

    Permalink
  8. val allowAsForImportRename: Boolean

    Permalink
  9. val allowAtForExtractorVarargs: Boolean

    Permalink
  10. val allowByNameRepeatedParameters: Boolean

    Permalink
  11. val allowCaseClassWithoutParameterList: Boolean

    Permalink
  12. val allowColonForExtractorVarargs: Boolean

    Permalink
  13. val allowCommaSeparatedExtend: Boolean

    Permalink
  14. val allowDependentFunctionTypes: Boolean

    Permalink
  15. val allowDerives: Boolean

    Permalink
  16. val allowEndMarker: Boolean

    Permalink
  17. val allowEnums: Boolean

    Permalink
  18. val allowExportClause: Boolean

    Permalink
  19. val allowExtensionMethods: Boolean

    Permalink
  20. val allowGivenUsing: Boolean

    Permalink
  21. val allowImplicitByNameParameters: Boolean

    Permalink
  22. val allowImplicitFunctionTypes: Boolean

    Permalink
  23. val allowInfixMods: Boolean

    Permalink
  24. val allowInlineIdents: Boolean

    Permalink
  25. val allowInlineMods: Boolean

    Permalink
  26. val allowInterpolationDolarQuoteEscape: Boolean

    Permalink
  27. val allowLazyValAbstractValues: Boolean

    Permalink
  28. val allowLiteralTypes: Boolean

    Permalink
  29. val allowMatchAsOperator: Boolean

    Permalink
  30. val allowMultilinePrograms: Boolean

    Permalink
  31. val allowNumericLiteralUnderscoreSeparators: Boolean

    Permalink
  32. val allowOpaqueTypes: Boolean

    Permalink
  33. val allowOpenClass: Boolean

    Permalink
  34. val allowOrTypes: Boolean

    Permalink
  35. val allowPatUnquotes: Boolean

    Permalink
  36. val allowPolymorphicFunctions: Boolean

    Permalink
  37. val allowPostfixStarVarargSplices: Boolean

    Permalink
  38. val allowQuestionMarkPlaceholder: Boolean

    Permalink
  39. val allowSignificantIndentation: Boolean

    Permalink
  40. val allowSpliceAndQuote: Boolean

    Permalink
  41. val allowSpliceUnderscores: Boolean

    Permalink
  42. val allowStarWildcardImport: Boolean

    Permalink
  43. val allowSuperTrait: Boolean

    Permalink
  44. val allowSymbolLiterals: Boolean

    Permalink
  45. val allowTermUnquotes: Boolean

    Permalink
  46. val allowToplevelStatements: Boolean

    Permalink
  47. val allowToplevelTerms: Boolean

    Permalink
  48. val allowTrailingCommas: Boolean

    Permalink
  49. val allowTraitParameters: Boolean

    Permalink
  50. val allowTryWithAnyExpr: Boolean

    Permalink
  51. val allowTypeInBlock: Boolean

    Permalink
  52. val allowTypeLambdas: Boolean

    Permalink
  53. val allowTypeMatch: Boolean

    Permalink
  54. val allowTypeParamUnderscore: Boolean

    Permalink
  55. def allowUnquotes: Boolean

    Permalink
  56. val allowUpperCasePatternVarBinding: Boolean

    Permalink
  57. val allowViewBounds: Boolean

    Permalink
  58. val allowXmlLiterals: Boolean

    Permalink
  59. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  60. def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    Dialect → Equals
  61. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. def ensuring(cond: (Dialect) ⇒ Boolean, msg: ⇒ Any): Dialect

    Permalink
    Implicit information
    This member is added by an implicit conversion from Dialect to Ensuring[Dialect] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  63. def ensuring(cond: (Dialect) ⇒ Boolean): Dialect

    Permalink
    Implicit information
    This member is added by an implicit conversion from Dialect to Ensuring[Dialect] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  64. def ensuring(cond: Boolean, msg: ⇒ Any): Dialect

    Permalink
    Implicit information
    This member is added by an implicit conversion from Dialect to Ensuring[Dialect] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  65. def ensuring(cond: Boolean): Dialect

    Permalink
    Implicit information
    This member is added by an implicit conversion from Dialect to Ensuring[Dialect] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  66. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  67. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    Dialect → Equals → AnyRef → Any
  68. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  69. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Dialect to StringFormat[Dialect] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  70. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  71. def hashCode(): Int

    Permalink
    Definition Classes
    Dialect → AnyRef → Any
  72. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  73. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  74. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  75. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  76. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  77. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  78. def toString(): String

    Permalink
    Definition Classes
    Dialect → AnyRef → Any
  79. val toplevelSeparator: String

    Permalink
  80. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  81. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  82. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  83. def withAllowAllTypedPatterns(newValue: Boolean): Dialect

    Permalink
  84. def withAllowAndTypes(newValue: Boolean): Dialect

    Permalink
  85. def withAllowAsForImportRename(newValue: Boolean): Dialect

    Permalink
  86. def withAllowAtForExtractorVarargs(newValue: Boolean): Dialect

    Permalink
  87. def withAllowByNameRepeatedParameters(newValue: Boolean): Dialect

    Permalink
  88. def withAllowCaseClassWithoutParameterList(newValue: Boolean): Dialect

    Permalink
  89. def withAllowColonForExtractorVarargs(newValue: Boolean): Dialect

    Permalink
  90. def withAllowCommaSeparatedExtend(newValue: Boolean): Dialect

    Permalink
  91. def withAllowDependentFunctionTypes(newValue: Boolean): Dialect

    Permalink
  92. def withAllowDerives(newValue: Boolean): Dialect

    Permalink
  93. def withAllowEndMarker(newValue: Boolean): Dialect

    Permalink
  94. def withAllowEnums(newValue: Boolean): Dialect

    Permalink
  95. def withAllowExportClause(newValue: Boolean): Dialect

    Permalink
  96. def withAllowExtensionMethods(newValue: Boolean): Dialect

    Permalink
  97. def withAllowGivenUsing(newValue: Boolean): Dialect

    Permalink
  98. def withAllowImplicitByNameParameters(newValue: Boolean): Dialect

    Permalink
  99. def withAllowInfixMods(newValue: Boolean): Dialect

    Permalink
  100. def withAllowInlineIdents(newValue: Boolean): Dialect

    Permalink
  101. def withAllowInlineMods(newValue: Boolean): Dialect

    Permalink
  102. def withAllowInterpolationDolarQuoteEscape(newValue: Boolean): Dialect

    Permalink
  103. def withAllowLazyValAbstractValues(newValue: Boolean): Dialect

    Permalink
  104. def withAllowLiteralTypes(newValue: Boolean): Dialect

    Permalink
  105. def withAllowMatchAsOperator(newValue: Boolean): Dialect

    Permalink
  106. def withAllowMultilinePrograms(newValue: Boolean): Dialect

    Permalink
  107. def withAllowNumericLiteralUnderscoreSeparators(newValue: Boolean): Dialect

    Permalink
  108. def withAllowOpaqueTypes(newValue: Boolean): Dialect

    Permalink
  109. def withAllowOpenClass(newValue: Boolean): Dialect

    Permalink
  110. def withAllowOrTypes(newValue: Boolean): Dialect

    Permalink
  111. def withAllowPatUnquotes(newValue: Boolean): Dialect

    Permalink
  112. def withAllowPolymorphicFunctions(newValue: Boolean): Dialect

    Permalink
  113. def withAllowPostfixStarVarargSplices(newValue: Boolean): Dialect

    Permalink
  114. def withAllowQuestionMarkPlaceholder(newValue: Boolean): Dialect

    Permalink
  115. def withAllowSignificantIndentation(newValue: Boolean): Dialect

    Permalink
  116. def withAllowSpliceAndQuote(newValue: Boolean): Dialect

    Permalink
  117. def withAllowSpliceUnderscores(newValue: Boolean): Dialect

    Permalink
  118. def withAllowStarWildcardImport(newValue: Boolean): Dialect

    Permalink
  119. def withAllowSymbolLiterals(newValue: Boolean): Dialect

    Permalink
  120. def withAllowTermUnquotes(newValue: Boolean): Dialect

    Permalink
  121. def withAllowToplevelStatements(newValue: Boolean): Dialect

    Permalink
  122. def withAllowToplevelTerms(newValue: Boolean): Dialect

    Permalink
  123. def withAllowTrailingCommas(newValue: Boolean): Dialect

    Permalink
  124. def withAllowTraitParameters(newValue: Boolean): Dialect

    Permalink
  125. def withAllowTryWithAnyExpr(newValue: Boolean): Dialect

    Permalink
  126. def withAllowTypeInBlock(newValue: Boolean): Dialect

    Permalink
  127. def withAllowTypeLambdas(newValue: Boolean): Dialect

    Permalink
  128. def withAllowTypeMatch(newValue: Boolean): Dialect

    Permalink
  129. def withAllowTypeParamUnderscore(newValue: Boolean): Dialect

    Permalink
  130. def withAllowUpperCasePatternVarBinding(newValue: Boolean): Dialect

    Permalink
  131. def withAllowViewBounds(newValue: Boolean): Dialect

    Permalink
  132. def withAllowXmlLiterals(newValue: Boolean): Dialect

    Permalink
  133. def withToplevelSeparator(newValue: String): Dialect

    Permalink
  134. def [B](y: B): (Dialect, B)

    Permalink
    Implicit information
    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 allowAsPatternBinding: Boolean

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 4.4.4) as in patterns is no longer supported in any dialect

  2. val allowLiteralUnitType: Boolean

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 4.4.9) Literal unit types are longer supported in any dialect

  3. val allowMethodTypes: Boolean

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 4.4.3) Method type syntax is no longer supported in any dialect

  4. val allowWhiteboxMacro: Boolean

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 4.4.1) Replaced with allowSpliceAndQuote

  5. val allowWithTypes: Boolean

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 4.4.6) With types are supported in every dialect currently and this option is unused

  6. def copy(allowAndTypes: Boolean = this.allowAndTypes, allowAtForExtractorVarargs: Boolean = this.allowAtForExtractorVarargs, allowCaseClassWithoutParameterList: Boolean = ..., 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

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 4.3.11) Use withX method instead

  7. def productArity: Int

    Permalink
    Definition Classes
    Dialect → Product
    Annotations
    @deprecated
    Deprecated

    (Since version 4.3.11) Dialect should not be a Product

  8. def productElement(n: Int): Any

    Permalink
    Definition Classes
    Dialect → Product
    Annotations
    @deprecated
    Deprecated

    (Since version 4.3.11) Dialect should not be a Product

  9. def productPrefix: String

    Permalink
    Definition Classes
    Dialect → Product
    Annotations
    @deprecated
    Deprecated

    (Since version 4.3.11) Dialect should not be a Product

  10. def withAllowAsPatternBinding(newValue: Boolean): Dialect

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 4.4.4) as in patterns is no longer supported in any dialect

  11. def withAllowImplicitFunctionTypes(newValue: Boolean): Dialect

    Permalink
    Annotations
    @deprecated
    Deprecated

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

  12. def withAllowLiteralUnitType(newValue: Boolean): Dialect

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 4.4.9) Literal unit types are longer supported in any dialect

  13. def withAllowMethodTypes(newValue: Boolean): Dialect

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 4.4.3) Method type syntax is no longer supported in any dialect

  14. def withAllowSuperTrait(newValue: Boolean): Dialect

    Permalink
    Annotations
    @deprecated
    Deprecated

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

  15. def withAllowWhiteboxMacro(newValue: Boolean): Dialect

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 4.4.1) Replaced by withAllowSplicesAndQuotes

  16. def withAllowWithTypes(newValue: Boolean): Dialect

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 4.4.6) With types are supported in every dialect currently and this option is unused

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