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

    Permalink
  7. val allowAsPatternBinding: Boolean

    Permalink
  8. val allowAtForExtractorVarargs: Boolean

    Permalink
  9. val allowByNameRepeatedParameters: Boolean

    Permalink
  10. val allowCaseClassWithoutParameterList: Boolean

    Permalink
  11. val allowColonForExtractorVarargs: Boolean

    Permalink
  12. val allowCommaSeparatedExtend: Boolean

    Permalink
  13. val allowDerives: Boolean

    Permalink
  14. val allowEndMarker: Boolean

    Permalink
  15. val allowEnums: Boolean

    Permalink
  16. val allowExportClause: Boolean

    Permalink
  17. val allowExtensionMethods: Boolean

    Permalink
  18. val allowGivenUsing: Boolean

    Permalink
  19. val allowImplicitByNameParameters: Boolean

    Permalink
  20. val allowImplicitFunctionTypes: Boolean

    Permalink
  21. val allowInfixMods: Boolean

    Permalink
  22. val allowInlineIdents: Boolean

    Permalink
  23. val allowInlineMods: Boolean

    Permalink
  24. val allowInterpolationDolarQuoteEscape: Boolean

    Permalink
  25. val allowLazyValAbstractValues: Boolean

    Permalink
  26. val allowLiteralTypes: Boolean

    Permalink
  27. val allowLiteralUnitType: Boolean

    Permalink
  28. val allowMatchAsOperator: Boolean

    Permalink
  29. val allowMethodTypes: 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 allowQuestionMarkPlaceholder: Boolean

    Permalink
  38. val allowSignificantIndentation: Boolean

    Permalink
  39. val allowSpliceAndQuote: Boolean

    Permalink
  40. val allowSpliceUnderscores: Boolean

    Permalink
  41. val allowSuperTrait: Boolean

    Permalink
  42. val allowSymbolLiterals: Boolean

    Permalink
  43. val allowTermUnquotes: Boolean

    Permalink
  44. val allowToplevelStatements: Boolean

    Permalink
  45. val allowToplevelTerms: Boolean

    Permalink
  46. val allowTrailingCommas: Boolean

    Permalink
  47. val allowTraitParameters: Boolean

    Permalink
  48. val allowTryWithAnyExpr: Boolean

    Permalink
  49. val allowTypeInBlock: Boolean

    Permalink
  50. val allowTypeLambdas: Boolean

    Permalink
  51. val allowTypeMatch: Boolean

    Permalink
  52. val allowTypeParamUnderscore: Boolean

    Permalink
  53. def allowUnquotes: Boolean

    Permalink
  54. val allowUpperCasePatternVarBinding: Boolean

    Permalink
  55. val allowViewBounds: Boolean

    Permalink
  56. val allowWithTypes: Boolean

    Permalink
  57. val allowXmlLiterals: Boolean

    Permalink
  58. final def asInstanceOf[T0]: T0

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. 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
  62. 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
  63. 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
  64. 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
  65. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
  79. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  82. def withAllowAndTypes(newValue: Boolean): Dialect

    Permalink
  83. def withAllowAsPatternBinding(newValue: Boolean): Dialect

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
  132. 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 allowWhiteboxMacro: Boolean

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 4.4.1) Replaced with allowSpliceAndQuote

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

  3. def productArity: Int

    Permalink
    Definition Classes
    Dialect → Product
    Annotations
    @deprecated
    Deprecated

    (Since version 4.3.11) Dialect should not be a Product

  4. def productElement(n: Int): Any

    Permalink
    Definition Classes
    Dialect → Product
    Annotations
    @deprecated
    Deprecated

    (Since version 4.3.11) Dialect should not be a Product

  5. def productPrefix: String

    Permalink
    Definition Classes
    Dialect → Product
    Annotations
    @deprecated
    Deprecated

    (Since version 4.3.11) Dialect should not be a Product

  6. def withAllowImplicitFunctionTypes(newValue: Boolean): Dialect

    Permalink
    Annotations
    @deprecated
    Deprecated

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

  7. def withAllowSuperTrait(newValue: Boolean): Dialect

    Permalink
    Annotations
    @deprecated
    Deprecated

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

  8. def withAllowWhiteboxMacro(newValue: Boolean): Dialect

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 4.4.1) Replaced by withAllowSplicesAndQuotes

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