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
final
case class
DisableConfig
(
symbols:
List
[
org.langmeta.Symbol
]
)
extends
Product
with
Serializable
case class
ExplicitResultTypesConfig
(
memberKind:
List
[
MemberKind
] =
Nil
,
memberVisibility:
List
[
MemberVisibility
] =
Nil
,
skipSimpleDefinitions:
Boolean
=
true
,
unsafeShortenNames:
Boolean
=
false
)
extends
Product
with
Serializable
case class
FilterMatcher
(
includeFilters:
Regex
,
excludeFilters:
Regex
)
extends
Product
with
Serializable
class
LazySemanticdbIndex
extends
Function
[
RuleKind
,
Option
[
SemanticdbIndex
]]
case class
LintConfig
(
reporter:
ScalafixReporter
=
ScalafixReporter.default
,
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
sealed
trait
MemberKind
extends
AnyRef
sealed
trait
MemberVisibility
extends
AnyRef
type
MetaParser
=
Parse
[_ <:
Tree
]
case class
PrintStreamReporter
(
outStream:
PrintStream
,
minSeverity:
Severity
,
filter:
FilterMatcher
,
includeLoggerName:
Boolean
)
extends
ScalafixReporter
with
Product
with
Serializable
A ScalafixReporter that emits messages to a PrintStream.
sealed
trait
RuleKind
extends
AnyRef
case class
ScalafixConfig
(
parser:
Parse
[_ <:
Tree
] =
Parse.parseSource
,
debug:
DebugConfig
=
DebugConfig()
,
groupImportsByPrefix:
Boolean
=
true
,
fatalWarnings:
Boolean
=
true
,
reporter:
ScalafixReporter
=
ScalafixReporter.default
,
patches:
ConfigRulePatches
=
ConfigRulePatches.default
,
dialect:
Dialect
=
Scala211
,
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
Class2Hocon
object
ConfStrLst
Definition Classes
ScalafixMetaconfigReaders
object
ConfigRulePatches
extends
Serializable
object
DisableConfig
extends
Serializable
object
DisableConfigDecoder
object
ExplicitResultTypesConfig
extends
Serializable
object
FilterMatcher
extends
Serializable
implicit
val
FilterMatcherReader
:
ConfDecoder
[
FilterMatcher
]
Definition Classes
ScalafixMetaconfigReaders
object
LazySemanticdbIndex
object
LintConfig
extends
Serializable
object
LogContext
extends
Serializable
object
MemberKind
object
MemberVisibility
object
MetaconfigParser
object
MetaconfigPendingUpstream
implicit
lazy val
PrintStreamReader
:
ConfDecoder
[
PrintStream
]
Definition Classes
ScalafixMetaconfigReaders
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
object
UriRule
Definition Classes
ScalafixMetaconfigReaders
object
UriRuleString
Definition Classes
ScalafixMetaconfigReaders
def
baseRuleDecoders
(
index:
LazySemanticdbIndex
)
:
ConfDecoder
[
Rule
]
Definition Classes
ScalafixMetaconfigReaders
def
baseSyntacticRuleDecoder
:
ConfDecoder
[
Rule
]
Definition Classes
ScalafixMetaconfigReaders
def
castReader
[
From
,
To
]
(
ConfDecoder:
ConfDecoder
[
From
]
)
(
implicit
ev:
ClassTag
[
To
]
)
:
ConfDecoder
[
To
]
Definition Classes
ScalafixMetaconfigReaders
def
classloadRule
(
index:
LazySemanticdbIndex
)
: (
Class
[_]) ⇒
Seq
[
SemanticdbIndex
]
Definition Classes
ScalafixMetaconfigReaders
def
classloadRuleDecoder
(
index:
LazySemanticdbIndex
)
:
ConfDecoder
[
Rule
]
Definition Classes
ScalafixMetaconfigReaders
def
configFromInput
(
input:
scala.meta.Input
,
index:
LazySemanticdbIndex
,
extraRules:
List
[
String
]
)
(
implicit
decoder:
ConfDecoder
[
Rule
]
)
:
Configured
[(
Rule
,
ScalafixConfig
)]
Definition Classes
ScalafixMetaconfigReaders
def
defaultRuleDecoder
(
getSemanticdbIndex:
LazySemanticdbIndex
)
:
ConfDecoder
[
Rule
]
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
[
Rule
]
)
:
ConfDecoder
[
Rule
]
Definition Classes
ScalafixMetaconfigReaders
def
ruleConfDecoderSyntactic
(
singleRuleDecoder:
ConfDecoder
[
Rule
]
)
:
ConfDecoder
[
Rule
]
Definition Classes
ScalafixMetaconfigReaders
def
scalafixConfigConfDecoder
(
ruleDecoder:
ConfDecoder
[
Rule
]
,
extraRules:
List
[
String
] =
Nil
)
:
ConfDecoder
[(
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
[
scala.meta.semanticdb.Symbol
]
Definition Classes
ScalafixMetaconfigReaders
implicit
lazy val
termRefReader
:
ConfDecoder
[
Ref
]
Definition Classes
ScalafixMetaconfigReaders
Inherited from
ScalafixMetaconfigReaders
Inherited from
AnyRef
Inherited from
Any
Ungrouped