toggle menu
rulebook
0.5-SNAPSHOT
jvm
switch theme
search in API
rulebook-ktlint
/
com.hendraanggrian.rulebook.ktlint
/
RulebookRule
Rulebook
Rule
sealed
class
RulebookRule
:
Rule
Inheritors
BlockCommentSpacingRule
BlockTagPunctuationRule
BlockTagsInitialSpacingRule
ConstructorPositionRule
EmptyBlockWrappingRule
ExceptionThrowingRule
FileInitialWrappingRule
FileSizeLimitationRule
FunctionExpressionRule
GenericsNamingRule
IfStatementNestingRule
KotlinApiConsistencyRule
ObjectsComparisonRule
PropertyIdiomaticNamingRule
QualifierRedundancyRule
SourceAcronymCapitalizationRule
SourceWordMeaningRule
StaticClassPositionRule
StringInterpolationRule
SwitchCasesWrappingRule
TodoCommentListingRule
Members
Types
Companion
Link copied to clipboard
object
Companion
Properties
about
Link copied to clipboard
open
val
about
:
Rule.About
rule
Id
Link copied to clipboard
open
val
ruleId
:
RuleId
uses
Editor
Config
Properties
Link copied to clipboard
open
override
val
usesEditorConfigProperties
:
Set
<
EditorConfigProperty
<
*
>
>
visitor
Modifiers
Link copied to clipboard
open
override
val
visitorModifiers
:
Set
<
Rule.VisitorModifier
>
Functions
after
Last
Node
Link copied to clipboard
open
fun
afterLastNode
(
)
after
Visit
Child
Nodes
Link copied to clipboard
open
fun
afterVisitChildNodes
(
node
:
ASTNode
,
autoCorrect
:
Boolean
,
emit
:
(
offset
:
Int
,
errorMessage
:
String
,
canBeAutoCorrected
:
Boolean
)
->
Unit
)
before
First
Node
Link copied to clipboard
open
fun
beforeFirstNode
(
editorConfig
:
EditorConfig
)
before
Visit
Child
Nodes
Link copied to clipboard
open
fun
beforeVisitChildNodes
(
node
:
ASTNode
,
autoCorrect
:
Boolean
,
emit
:
(
offset
:
Int
,
errorMessage
:
String
,
canBeAutoCorrected
:
Boolean
)
->
Unit
)
is
Used
For
Traversal
Of
AST
Link copied to clipboard
fun
isUsedForTraversalOfAST
(
)
:
Boolean
should
Continue
Traversal
Of
AST
Link copied to clipboard
fun
shouldContinueTraversalOfAST
(
)
:
Boolean
start
Traversal
Of
AST
Link copied to clipboard
fun
startTraversalOfAST
(
)
stop
Traversal
Of
AST
Link copied to clipboard
fun
stopTraversalOfAST
(
)