final class Dialect extends Product with Serializable
A dialect is used to configure what Scala syntax is allowed during tokenization and parsing.
- Alphabetic
- By Inheritance
- Dialect
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- 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)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Dialect, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val allowAllTypedPatterns: Boolean
- val allowAndTypes: Boolean
- val allowAsForImportRename: Boolean
- val allowAtForExtractorVarargs: Boolean
- val allowByNameRepeatedParameters: Boolean
- val allowCaseClassWithoutParameterList: Boolean
- val allowColonForExtractorVarargs: Boolean
- val allowCommaSeparatedExtend: Boolean
- val allowDependentFunctionTypes: Boolean
- val allowDerives: Boolean
- val allowDoWhile: Boolean
- val allowEndMarker: Boolean
- val allowEnums: Boolean
- val allowExportClause: Boolean
- val allowExtensionMethods: Boolean
- val allowGivenImports: Boolean
- val allowGivenUsing: Boolean
- val allowImplicitByNameParameters: Boolean
- val allowImplicitFunctionTypes: Boolean
- val allowInfixMods: Boolean
- val allowInlineIdents: Boolean
- val allowInlineMods: Boolean
- val allowInterpolationDolarQuoteEscape: Boolean
- val allowLazyValAbstractValues: Boolean
- val allowLiteralTypes: Boolean
- val allowMatchAsOperator: Boolean
- val allowMultilinePrograms: Boolean
- val allowNumericLiteralUnderscoreSeparators: Boolean
- val allowOpaqueTypes: Boolean
- val allowOpenClass: Boolean
- val allowOrTypes: Boolean
- val allowPatUnquotes: Boolean
- val allowPlusMinusUnderscoreAsIdent: Boolean
- val allowPlusMinusUnderscoreAsPlaceholder: Boolean
- val allowPolymorphicFunctions: Boolean
- val allowPostfixStarVarargSplices: Boolean
- val allowProcedureSyntax: Boolean
- val allowQuestionMarkPlaceholder: Boolean
- val allowSignificantIndentation: Boolean
- val allowSpliceAndQuote: Boolean
- val allowSpliceUnderscores: Boolean
- val allowStarWildcardImport: Boolean
- val allowSuperTrait: Boolean
- val allowSymbolLiterals: Boolean
- val allowTermUnquotes: Boolean
- val allowToplevelStatements: Boolean
- val allowToplevelTerms: Boolean
- val allowTrailingCommas: Boolean
- val allowTraitParameters: Boolean
- val allowTryWithAnyExpr: Boolean
- val allowTypeInBlock: Boolean
- val allowTypeLambdas: Boolean
- val allowTypeMatch: Boolean
- val allowTypeParamUnderscore: Boolean
- def allowUnquotes: Boolean
- val allowUpperCasePatternVarBinding: Boolean
- val allowViewBounds: Boolean
- val allowXmlLiterals: Boolean
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
canEqual(that: Any): Boolean
- Definition Classes
- Dialect → Equals
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def ensuring(cond: (Dialect) ⇒ Boolean, msg: ⇒ Any): Dialect
- def ensuring(cond: (Dialect) ⇒ Boolean): Dialect
- def ensuring(cond: Boolean, msg: ⇒ Any): Dialect
- def ensuring(cond: Boolean): Dialect
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(other: Any): Boolean
- Definition Classes
- Dialect → Equals → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- Dialect → AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
productIterator: Iterator[Any]
- Definition Classes
- Product
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Dialect → AnyRef → Any
- val toplevelSeparator: String
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withAllowAllTypedPatterns(newValue: Boolean): Dialect
- def withAllowAndTypes(newValue: Boolean): Dialect
- def withAllowAsForImportRename(newValue: Boolean): Dialect
- def withAllowAtForExtractorVarargs(newValue: Boolean): Dialect
- def withAllowByNameRepeatedParameters(newValue: Boolean): Dialect
- def withAllowCaseClassWithoutParameterList(newValue: Boolean): Dialect
- def withAllowColonForExtractorVarargs(newValue: Boolean): Dialect
- def withAllowCommaSeparatedExtend(newValue: Boolean): Dialect
- def withAllowDependentFunctionTypes(newValue: Boolean): Dialect
- def withAllowDerives(newValue: Boolean): Dialect
- def withAllowDoWhile(newValue: Boolean): Dialect
- def withAllowEndMarker(newValue: Boolean): Dialect
- def withAllowEnums(newValue: Boolean): Dialect
- def withAllowExportClause(newValue: Boolean): Dialect
- def withAllowExtensionMethods(newValue: Boolean): Dialect
- def withAllowGivenImports(newValue: Boolean): Dialect
- def withAllowGivenUsing(newValue: Boolean): Dialect
- def withAllowImplicitByNameParameters(newValue: Boolean): Dialect
- def withAllowInfixMods(newValue: Boolean): Dialect
- def withAllowInlineIdents(newValue: Boolean): Dialect
- def withAllowInlineMods(newValue: Boolean): Dialect
- def withAllowInterpolationDolarQuoteEscape(newValue: Boolean): Dialect
- def withAllowLazyValAbstractValues(newValue: Boolean): Dialect
- def withAllowLiteralTypes(newValue: Boolean): Dialect
- def withAllowMatchAsOperator(newValue: Boolean): Dialect
- def withAllowMultilinePrograms(newValue: Boolean): Dialect
- def withAllowNumericLiteralUnderscoreSeparators(newValue: Boolean): Dialect
- def withAllowOpaqueTypes(newValue: Boolean): Dialect
- def withAllowOpenClass(newValue: Boolean): Dialect
- def withAllowOrTypes(newValue: Boolean): Dialect
- def withAllowPatUnquotes(newValue: Boolean): Dialect
- def withAllowPlusMinusUnderscoreAsIdent(newValue: Boolean): Dialect
- def withAllowPlusMinusUnderscoreAsPlaceholder(newValue: Boolean): Dialect
- def withAllowPolymorphicFunctions(newValue: Boolean): Dialect
- def withAllowPostfixStarVarargSplices(newValue: Boolean): Dialect
- def withAllowProcedureSyntax(newValue: Boolean): Dialect
- def withAllowQuestionMarkPlaceholder(newValue: Boolean): Dialect
- def withAllowSignificantIndentation(newValue: Boolean): Dialect
- def withAllowSpliceAndQuote(newValue: Boolean): Dialect
- def withAllowSpliceUnderscores(newValue: Boolean): Dialect
- def withAllowStarWildcardImport(newValue: Boolean): Dialect
- def withAllowSymbolLiterals(newValue: Boolean): Dialect
- def withAllowTermUnquotes(newValue: Boolean): Dialect
- def withAllowToplevelStatements(newValue: Boolean): Dialect
- def withAllowToplevelTerms(newValue: Boolean): Dialect
- def withAllowTrailingCommas(newValue: Boolean): Dialect
- def withAllowTraitParameters(newValue: Boolean): Dialect
- def withAllowTryWithAnyExpr(newValue: Boolean): Dialect
- def withAllowTypeInBlock(newValue: Boolean): Dialect
- def withAllowTypeLambdas(newValue: Boolean): Dialect
- def withAllowTypeMatch(newValue: Boolean): Dialect
- def withAllowTypeParamUnderscore(newValue: Boolean): Dialect
- def withAllowUpperCasePatternVarBinding(newValue: Boolean): Dialect
- def withAllowViewBounds(newValue: Boolean): Dialect
- def withAllowXmlLiterals(newValue: Boolean): Dialect
- def withToplevelSeparator(newValue: String): Dialect
- def →[B](y: B): (Dialect, B)
Deprecated Value Members
-
val
allowAsPatternBinding: Boolean
- Annotations
- @deprecated
- Deprecated
(Since version 4.4.4)
as
in patterns is no longer supported in any dialect
-
val
allowLiteralUnitType: Boolean
- Annotations
- @deprecated
- Deprecated
(Since version 4.4.9) Literal unit types are longer supported in any dialect
-
val
allowMethodTypes: Boolean
- Annotations
- @deprecated
- Deprecated
(Since version 4.4.3) Method type syntax is no longer supported in any dialect
-
val
allowWhiteboxMacro: Boolean
- Annotations
- @deprecated
- Deprecated
(Since version 4.4.1) Replaced with allowSpliceAndQuote
-
val
allowWithTypes: Boolean
- Annotations
- @deprecated
- Deprecated
(Since version 4.4.6) With types are supported in every dialect currently and this option is unused
-
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
- Annotations
- @deprecated
- Deprecated
(Since version 4.3.11) Use withX method instead
-
def
productArity: Int
- Definition Classes
- Dialect → Product
- Annotations
- @deprecated
- Deprecated
(Since version 4.3.11) Dialect should not be a Product
-
def
productElement(n: Int): Any
- Definition Classes
- Dialect → Product
- Annotations
- @deprecated
- Deprecated
(Since version 4.3.11) Dialect should not be a Product
-
def
productPrefix: String
- Definition Classes
- Dialect → Product
- Annotations
- @deprecated
- Deprecated
(Since version 4.3.11) Dialect should not be a Product
-
def
withAllowAsPatternBinding(newValue: Boolean): Dialect
- Annotations
- @deprecated
- Deprecated
(Since version 4.4.4)
as
in patterns is no longer supported in any dialect
-
def
withAllowImplicitFunctionTypes(newValue: Boolean): Dialect
- Annotations
- @deprecated
- Deprecated
(Since version 4.4.1) Implicit functions are not supported in any dialect
-
def
withAllowLiteralUnitType(newValue: Boolean): Dialect
- Annotations
- @deprecated
- Deprecated
(Since version 4.4.9) Literal unit types are longer supported in any dialect
-
def
withAllowMethodTypes(newValue: Boolean): Dialect
- Annotations
- @deprecated
- Deprecated
(Since version 4.4.3) Method type syntax is no longer supported in any dialect
-
def
withAllowSuperTrait(newValue: Boolean): Dialect
- Annotations
- @deprecated
- Deprecated
(Since version 4.4.1) Super traits are not supported in any dialect
-
def
withAllowWhiteboxMacro(newValue: Boolean): Dialect
- Annotations
- @deprecated
- Deprecated
(Since version 4.4.1) Replaced by withAllowSplicesAndQuotes
-
def
withAllowWithTypes(newValue: Boolean): Dialect
- Annotations
- @deprecated
- Deprecated
(Since version 4.4.6) With types are supported in every dialect currently and this option is unused