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

    Permalink
  12. val allowCaseClassWithoutParameterList: Boolean

    Permalink
  13. val allowColonForExtractorVarargs: Boolean

    Permalink
  14. val allowCommaSeparatedExtend: Boolean

    Permalink
  15. val allowDependentFunctionTypes: Boolean

    Permalink
  16. val allowDerives: Boolean

    Permalink
  17. val allowDoWhile: Boolean

    Permalink
  18. val allowEmptyInfixArgs: Boolean

    Permalink
  19. val allowEndMarker: Boolean

    Permalink
  20. val allowEnums: Boolean

    Permalink
  21. val allowErasedDefs: Boolean

    Permalink
  22. val allowExportClause: Boolean

    Permalink
  23. val allowExtensionMethods: Boolean

    Permalink
  24. val allowFewerBraces: Boolean

    Permalink
  25. val allowGivenImports: Boolean

    Permalink
  26. val allowGivenUsing: Boolean

    Permalink
  27. val allowImplicitByNameParameters: Boolean

    Permalink
  28. val allowImprovedTypeClassesSyntax: Boolean

    Permalink
  29. val allowInfixMods: Boolean

    Permalink
  30. val allowInfixOperatorAfterNL: Boolean

    Permalink
  31. val allowInlineIdents: Boolean

    Permalink
  32. val allowInlineMods: Boolean

    Permalink
  33. val allowInterpolationDolarQuoteEscape: Boolean

    Permalink
  34. val allowLazyValAbstractValues: Boolean

    Permalink
  35. val allowLiteralTypes: Boolean

    Permalink
  36. val allowMatchAsOperator: Boolean

    Permalink
  37. def allowMultilinePrograms: Boolean

    Permalink
  38. val allowNumericLiteralUnderscoreSeparators: Boolean

    Permalink
  39. val allowOpaqueTypes: Boolean

    Permalink
  40. val allowOpenClass: Boolean

    Permalink
  41. val allowParamClauseInterleaving: Boolean

    Permalink
  42. val allowParameterTypeConversions: Boolean

    Permalink
  43. def allowPatUnquotes: Boolean

    Permalink
  44. val allowPlusMinusUnderscoreAsIdent: Boolean

    Permalink
  45. val allowPolymorphicFunctions: Boolean

    Permalink
  46. val allowPostfixStarVarargSplices: Boolean

    Permalink
  47. val allowProcedureSyntax: Boolean

    Permalink
  48. val allowPureFunctions: Boolean

    Permalink
  49. val allowQuestionMarkAsTypeWildcard: Boolean

    Permalink
  50. val allowQuietSyntax: Boolean

    Permalink
  51. val allowQuotedTypeVariables: Boolean

    Permalink
  52. val allowSignificantIndentation: Boolean

    Permalink
  53. val allowSpliceAndQuote: Boolean

    Permalink
  54. val allowSpliceUnderscores: Boolean

    Permalink
  55. val allowStarAsTypePlaceholder: Boolean

    Permalink
  56. val allowStarWildcardImport: Boolean

    Permalink
  57. val allowSymbolLiterals: Boolean

    Permalink
  58. def allowTermUnquotes: Boolean

    Permalink
  59. val allowToplevelStatements: Boolean

    Permalink
  60. val allowToplevelTerms: Boolean

    Permalink
  61. val allowTrackedParameters: Boolean

    Permalink
  62. val allowTrailingCommas: Boolean

    Permalink
  63. val allowTraitParameters: Boolean

    Permalink
  64. val allowTryWithAnyExpr: Boolean

    Permalink
  65. val allowTypeInBlock: Boolean

    Permalink
  66. val allowTypeLambdas: Boolean

    Permalink
  67. val allowTypeMatch: Boolean

    Permalink
  68. val allowTypeParamUnderscore: Boolean

    Permalink
  69. val allowUnderscoreAsTypePlaceholder: Boolean

    Permalink
  70. def allowUnquotes: Boolean

    Permalink
  71. val allowUpperCasePatternVarBinding: Boolean

    Permalink
  72. val allowXmlLiterals: Boolean

    Permalink
  73. final def asInstanceOf[T0]: T0

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  76. 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
  77. 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
  78. 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
  79. 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
  80. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
  87. final def isInstanceOf[T0]: Boolean

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

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

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

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

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

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

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

    Permalink
  95. final def wait(): Unit

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
  153. def withAllowTrackedParameters(newValue: Boolean): Dialect

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

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

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

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

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

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

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

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

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

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

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

    Permalink
  165. 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. val allowViewBounds: Boolean

    Permalink
    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

    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. val toplevelSeparator: String

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version >4.4.35) toplevelSeparator has never been used

  11. def withAllowAndTypes(newValue: Boolean): Dialect

    Permalink
    Annotations
    @deprecated
    Deprecated

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

  12. def withAllowOrTypes(newValue: Boolean): Dialect

    Permalink
    Annotations
    @deprecated
    Deprecated

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

  13. def withAllowPlusMinusUnderscoreAsPlaceholder(newValue: Boolean): Dialect

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version >4.5.13) use withAllowUnderscoreAsTypePlaceholder

  14. def withAllowQuestionMarkPlaceholder(newValue: Boolean): Dialect

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version >4.5.13) use withAllowQuestionMarkAsTypeWildcard

  15. def withAllowViewBounds(newValue: Boolean): Dialect

    Permalink
    Annotations
    @deprecated
    Deprecated

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

  16. 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