scalafix
.
internal
config
package
config
Linear Supertypes
ScalafixMetaconfigReaders
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
config
ScalafixMetaconfigReaders
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Type Members
case class
ConfigRulePatches
(
replaceSymbols:
List
[
ReplaceSymbol
] =
Nil
,
addGlobalImports:
List
[
AddGlobalImport
] =
Nil
,
removeGlobalImports:
List
[
RemoveGlobalImport
] =
Nil
)
extends
Product
with
Serializable
case class
DebugConfig
(
printSymbols:
Boolean
=
false
)
extends
Product
with
Serializable
case class
FilterMatcher
(
includeFilters:
Regex
,
excludeFilters:
Regex
)
extends
Product
with
Serializable
case class
LintConfig
(
explain:
Boolean
=
false
,
ignore:
FilterMatcher
=
FilterMatcher.matchNothing
,
info:
FilterMatcher
=
FilterMatcher.matchNothing
,
warning:
FilterMatcher
=
FilterMatcher.matchNothing
,
error:
FilterMatcher
=
FilterMatcher.matchNothing
)
extends
Product
with
Serializable
case class
LogContext
(
line:
Line
,
file:
File
,
enclosing:
Enclosing
)
extends
Product
with
Serializable
type
MetaParser
=
Parse
[_ <:
Tree
]
case class
ParserConfig
(
trailingCommas:
Boolean
=
true
,
inlineKeyword:
Boolean
=
false
)
extends
Product
with
Serializable
case class
PrintStreamReporter
(
out:
PrintStream
)
extends
ScalafixReporter
with
Product
with
Serializable
A ScalafixReporter that emits messages to a PrintStream.
sealed
trait
RuleKind
extends
AnyRef
case class
ScalafixConfig
(
parser:
ParserConfig
=
ParserConfig()
,
debug:
DebugConfig
=
DebugConfig()
,
groupImportsByPrefix:
Boolean
=
true
,
fatalWarnings:
Boolean
=
true
,
reporter:
ScalafixReporter
=
ScalafixReporter.default
,
patches:
ConfigRulePatches
=
ConfigRulePatches.default
,
dialect:
Dialect
=
ScalafixConfig.DefaultDialect
,
lint:
LintConfig
=
LintConfig.default
)
extends
Product
with
Serializable
trait
ScalafixMetaconfigReaders
extends
AnyRef
trait
ScalafixReporter
extends
AnyRef
Value Members
implicit
lazy val
AddGlobalImportReader
:
ConfDecoder
[
AddGlobalImport
]
Definition Classes
ScalafixMetaconfigReaders
object
ConfStrLst
Definition Classes
ScalafixMetaconfigReaders
object
ConfigRulePatches
extends
Serializable
implicit
lazy val
CustomMessagePattern
:
ConfDecoder
[
v0.CustomMessage
[
Pattern
]]
Definition Classes
ScalafixMetaconfigReaders
object
DebugConfig
extends
Serializable
implicit
def
EitherConfDecoder
[
A
,
B
]
(
implicit
A:
ConfDecoder
[
A
]
,
B:
ConfDecoder
[
B
]
)
:
ConfDecoder
[
Either
[
A
,
B
]]
Definition Classes
ScalafixMetaconfigReaders
object
FilterMatcher
extends
Serializable
implicit
val
FilterMatcherReader
:
ConfDecoder
[
FilterMatcher
]
Definition Classes
ScalafixMetaconfigReaders
object
LintConfig
extends
Serializable
object
LogContext
extends
Serializable
object
MetaconfigOps
object
ParserConfig
extends
Serializable
implicit
lazy val
PatternDecoder
:
ConfDecoder
[
Pattern
]
Definition Classes
ScalafixMetaconfigReaders
implicit
lazy val
PrintStreamReader
:
ConfDecoder
[
PrintStream
]
Definition Classes
ScalafixMetaconfigReaders
object
PrintStreamReporter
extends
Serializable
object
ReaderUtil
implicit
val
RegexReader
:
ConfDecoder
[
Regex
]
Definition Classes
ScalafixMetaconfigReaders
implicit
lazy val
RemoveGlobalImportReader
:
ConfDecoder
[
RemoveGlobalImport
]
Definition Classes
ScalafixMetaconfigReaders
implicit
lazy val
ReplaceSymbolReader
:
ConfDecoder
[
ReplaceSymbol
]
Definition Classes
ScalafixMetaconfigReaders
object
RuleKind
object
ScalafixConfig
extends
Serializable
object
ScalafixMetaconfigReaders
extends
ScalafixMetaconfigReaders
object
ScalafixReporter
lazy val
SlashSeparated
:
Regex
Definition Classes
ScalafixMetaconfigReaders
object
UriRule
Definition Classes
ScalafixMetaconfigReaders
object
UriRuleString
Definition Classes
ScalafixMetaconfigReaders
def
castReader
[
From
,
To
]
(
ConfDecoder:
ConfDecoder
[
From
]
)
(
implicit
ev:
ClassTag
[
To
]
)
:
ConfDecoder
[
To
]
Definition Classes
ScalafixMetaconfigReaders
implicit
lazy val
dialectReader
:
ConfDecoder
[
Dialect
]
Definition Classes
ScalafixMetaconfigReaders
implicit
lazy val
importeeReader
:
ConfDecoder
[
Importee
]
Definition Classes
ScalafixMetaconfigReaders
implicit
lazy val
importerReader
:
ConfDecoder
[
Importer
]
Definition Classes
ScalafixMetaconfigReaders
implicit
val
metaconfigConfDecoder
:
ConfDecoder
[
Conf
]
Definition Classes
ScalafixMetaconfigReaders
def
parseReader
[
T
]
(
implicit
parse:
Parse
[
T
]
)
:
ConfDecoder
[
T
]
Definition Classes
ScalafixMetaconfigReaders
implicit
lazy val
parseReader
:
ConfDecoder
[
MetaParser
]
Definition Classes
ScalafixMetaconfigReaders
def
parseReplaceSymbol
(
from:
String
,
to:
String
)
:
Configured
[(
Global
,
Global
)]
Definition Classes
ScalafixMetaconfigReaders
implicit
lazy val
refReader
:
ConfDecoder
[
Ref
]
Definition Classes
ScalafixMetaconfigReaders
def
ruleConfDecoder
(
singleRuleDecoder:
ConfDecoder
[
v0.Rule
]
)
:
ConfDecoder
[
v0.Rule
]
Definition Classes
ScalafixMetaconfigReaders
def
ruleConfDecoderSyntactic
(
singleRuleDecoder:
ConfDecoder
[
v0.Rule
]
)
:
ConfDecoder
[
v0.Rule
]
Definition Classes
ScalafixMetaconfigReaders
def
scalafixConfigConfDecoder
(
ruleDecoder:
ConfDecoder
[
v0.Rule
]
,
extraRules:
List
[
String
] =
Nil
)
:
ConfDecoder
[(
v0.Rule
,
ScalafixConfig
)]
Definition Classes
ScalafixMetaconfigReaders
def
scalafixConfigEmptyRuleReader
:
ConfDecoder
[(
Conf
,
ScalafixConfig
)]
Definition Classes
ScalafixMetaconfigReaders
implicit
lazy val
symbolGlobalReader
:
ConfDecoder
[
Global
]
Definition Classes
ScalafixMetaconfigReaders
implicit
lazy val
symbolReader
:
ConfDecoder
[
Symbol
]
Definition Classes
ScalafixMetaconfigReaders
implicit
lazy val
termRefReader
:
ConfDecoder
[
Ref
]
Definition Classes
ScalafixMetaconfigReaders
Inherited from
ScalafixMetaconfigReaders
Inherited from
AnyRef
Inherited from
Any
Ungrouped