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

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

    Permalink
  8. val allowAtForExtractorVarargs: Boolean

    Permalink
  9. val allowBinaryLiterals: 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 allowErasedDefs: Boolean

    Permalink
  20. val allowExportClause: Boolean

    Permalink
  21. val allowExtensionMethods: Boolean

    Permalink
  22. val allowFewerBraces: Boolean

    Permalink
  23. val allowGivenImports: Boolean

    Permalink
  24. val allowGivenUsing: Boolean

    Permalink
  25. val allowImplicitByNameParameters: Boolean

    Permalink
  26. val allowInfixMods: Boolean

    Permalink
  27. val allowInfixOperatorAfterNL: Boolean

    Permalink
  28. val allowInlineIdents: Boolean

    Permalink
  29. val allowInlineMods: Boolean

    Permalink
  30. val allowInterpolationDolarQuoteEscape: Boolean

    Permalink
  31. val allowLazyValAbstractValues: Boolean

    Permalink
  32. val allowLiteralTypes: Boolean

    Permalink
  33. val allowMatchAsOperator: Boolean

    Permalink
  34. def allowMultilinePrograms: Boolean

    Permalink
  35. val allowNumericLiteralUnderscoreSeparators: Boolean

    Permalink
  36. val allowOpaqueTypes: Boolean

    Permalink
  37. val allowOpenClass: Boolean

    Permalink
  38. val allowParamClauseInterleaving: Boolean

    Permalink
  39. def allowPatUnquotes: Boolean

    Permalink
  40. val allowPlusMinusUnderscoreAsIdent: Boolean

    Permalink
  41. val allowPolymorphicFunctions: Boolean

    Permalink
  42. val allowPostfixStarVarargSplices: Boolean

    Permalink
  43. val allowProcedureSyntax: Boolean

    Permalink
  44. val allowQuestionMarkAsTypeWildcard: Boolean

    Permalink
  45. val allowQuotedTypeVariables: Boolean

    Permalink
  46. val allowSignificantIndentation: Boolean

    Permalink
  47. val allowSpliceAndQuote: Boolean

    Permalink
  48. val allowSpliceUnderscores: Boolean

    Permalink
  49. val allowStarAsTypePlaceholder: Boolean

    Permalink
  50. val allowStarWildcardImport: Boolean

    Permalink
  51. val allowSymbolLiterals: Boolean

    Permalink
  52. def allowTermUnquotes: Boolean

    Permalink
  53. val allowToplevelStatements: Boolean

    Permalink
  54. val allowToplevelTerms: Boolean

    Permalink
  55. val allowTrailingCommas: Boolean

    Permalink
  56. val allowTraitParameters: Boolean

    Permalink
  57. val allowTryWithAnyExpr: Boolean

    Permalink
  58. val allowTypeInBlock: Boolean

    Permalink
  59. val allowTypeLambdas: Boolean

    Permalink
  60. val allowTypeMatch: Boolean

    Permalink
  61. val allowTypeParamUnderscore: Boolean

    Permalink
  62. val allowUnderscoreAsTypePlaceholder: Boolean

    Permalink
  63. def allowUnquotes: Boolean

    Permalink
  64. val allowUpperCasePatternVarBinding: Boolean

    Permalink
  65. val allowViewBounds: Boolean

    Permalink
  66. val allowXmlLiterals: Boolean

    Permalink
  67. final def asInstanceOf[T0]: T0

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  70. 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
  71. 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
  72. 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
  73. 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
  74. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  75. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  76. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  80. def isEquivalentTo(that: Dialect): Boolean

    Permalink
  81. final def isInstanceOf[T0]: Boolean

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

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

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

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

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

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

    Permalink
    Definition Classes
    Dialect → AnyRef → Any
  88. val useInfixTypePrecedence: Boolean

    Permalink
  89. final def wait(): Unit

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
  148. def withAllowUnderscoreAsTypePlaceholder(newValue: Boolean): Dialect

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

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

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

    Permalink
  152. def withUseInfixTypePrecedence(newValue: Boolean): Dialect

    Permalink
  153. 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 allowAndTypes: Boolean

    Permalink
    Annotations
    @deprecated
    Deprecated

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

  2. val allowOrTypes: Boolean

    Permalink
    Annotations
    @deprecated
    Deprecated

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

  3. def allowPlusMinusUnderscoreAsPlaceholder: Boolean

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version >4.5.13) use allowUnderscoreAsTypePlaceholder

  4. def allowQuestionMarkPlaceholder: Boolean

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version >4.5.13) use allowQuestionMarkAsTypeWildcard

  5. 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 = this.allowViewBounds, allowXmlLiterals: Boolean = this.allowXmlLiterals, toplevelSeparator: String = ""): Dialect

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 4.3.11) Use withX method instead

  6. def productArity: Int

    Permalink
    Definition Classes
    Dialect → Product
    Annotations
    @deprecated
    Deprecated

    (Since version 4.3.11) Dialect should not be a Product

  7. def productElement(n: Int): Any

    Permalink
    Definition Classes
    Dialect → Product
    Annotations
    @deprecated
    Deprecated

    (Since version 4.3.11) Dialect should not be a Product

  8. def productPrefix: String

    Permalink
    Definition Classes
    Dialect → Product
    Annotations
    @deprecated
    Deprecated

    (Since version 4.3.11) Dialect should not be a Product

  9. val toplevelSeparator: String

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version >4.4.35) toplevelSeparator has never been used

  10. def withAllowAndTypes(newValue: Boolean): Dialect

    Permalink
    Annotations
    @deprecated
    Deprecated

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

  11. def withAllowOrTypes(newValue: Boolean): Dialect

    Permalink
    Annotations
    @deprecated
    Deprecated

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

  12. def withAllowPlusMinusUnderscoreAsPlaceholder(newValue: Boolean): Dialect

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version >4.5.13) use withAllowUnderscoreAsTypePlaceholder

  13. def withAllowQuestionMarkPlaceholder(newValue: Boolean): Dialect

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version >4.5.13) use withAllowQuestionMarkAsTypeWildcard

  14. def withToplevelSeparator(newValue: String): Dialect

    Permalink
    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