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 allowDoWhile: Boolean

    Permalink
  17. val allowEndMarker: Boolean

    Permalink
  18. val allowEnums: Boolean

    Permalink
  19. val allowExportClause: Boolean

    Permalink
  20. val allowExtensionMethods: Boolean

    Permalink
  21. val allowGivenUsing: Boolean

    Permalink
  22. val allowImplicitByNameParameters: Boolean

    Permalink
  23. val allowImplicitFunctionTypes: Boolean

    Permalink
  24. val allowInfixMods: Boolean

    Permalink
  25. val allowInlineIdents: Boolean

    Permalink
  26. val allowInlineMods: Boolean

    Permalink
  27. val allowInterpolationDolarQuoteEscape: Boolean

    Permalink
  28. val allowLazyValAbstractValues: Boolean

    Permalink
  29. val allowLiteralTypes: Boolean

    Permalink
  30. val allowMatchAsOperator: Boolean

    Permalink
  31. val allowMultilinePrograms: Boolean

    Permalink
  32. val allowNumericLiteralUnderscoreSeparators: Boolean

    Permalink
  33. val allowOpaqueTypes: Boolean

    Permalink
  34. val allowOpenClass: Boolean

    Permalink
  35. val allowOrTypes: Boolean

    Permalink
  36. val allowPatUnquotes: Boolean

    Permalink
  37. val allowPlusMinusUnderscoreAsIdent: Boolean

    Permalink
  38. val allowPlusMinusUnderscoreAsPlaceholder: Boolean

    Permalink
  39. val allowPolymorphicFunctions: Boolean

    Permalink
  40. val allowPostfixStarVarargSplices: Boolean

    Permalink
  41. val allowProcedureSyntax: Boolean

    Permalink
  42. val allowQuestionMarkPlaceholder: Boolean

    Permalink
  43. val allowSignificantIndentation: Boolean

    Permalink
  44. val allowSpliceAndQuote: Boolean

    Permalink
  45. val allowSpliceUnderscores: Boolean

    Permalink
  46. val allowStarWildcardImport: Boolean

    Permalink
  47. val allowSuperTrait: Boolean

    Permalink
  48. val allowSymbolLiterals: Boolean

    Permalink
  49. val allowTermUnquotes: Boolean

    Permalink
  50. val allowToplevelStatements: Boolean

    Permalink
  51. val allowToplevelTerms: Boolean

    Permalink
  52. val allowTrailingCommas: Boolean

    Permalink
  53. val allowTraitParameters: Boolean

    Permalink
  54. val allowTryWithAnyExpr: Boolean

    Permalink
  55. val allowTypeInBlock: Boolean

    Permalink
  56. val allowTypeLambdas: Boolean

    Permalink
  57. val allowTypeMatch: Boolean

    Permalink
  58. val allowTypeParamUnderscore: Boolean

    Permalink
  59. def allowUnquotes: Boolean

    Permalink
  60. val allowUpperCasePatternVarBinding: Boolean

    Permalink
  61. val allowViewBounds: Boolean

    Permalink
  62. val allowXmlLiterals: Boolean

    Permalink
  63. final def asInstanceOf[T0]: T0

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  66. 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
  67. 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
  68. 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
  69. 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
  70. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  73. 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()
  74. final def getClass(): Class[_]

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

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

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

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

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

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

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

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

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

    Permalink
  84. final def wait(): Unit

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
  142. 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