Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
ameba
v0.1.0
Ameba
AST
CallVisitor
CaseVisitor
DefVisitor
IfVisitor
StringInterpolationVisitor
UnlessVisitor
Util
BaseRule
DotFormatter
Formatter
Reporter
Rule
Rules
ComparisonToBoolean
DebuggerStatement
LineLength
LiteralInCondition
LiteralInInterpolation
PredicateName
TrailingBlankLines
TrailingWhitespace
UnlessElse
Source
Error
Built with Crystal 1.9.2
2023-10-08 09:19:58 UTC
class
Ameba::AST::IfVisitor
Ameba::AST::IfVisitor
Crystal::Visitor
Reference
Object
Defined in:
ameba/ast/traverse.cr
Constructors
.new
(rule : Ameba::Rule, source : Ameba::Source)
Instance Method Summary
#visit
(node : Crystal::If)
#visit
(node : Crystal::ASTNode)
Constructor Detail
def self.
new
(rule :
Ameba::Rule
, source :
Ameba::Source
)
#
[
View source
]
Instance Method Detail
def
visit
(node : Crystal::If)
#
[
View source
]
def
visit
(node : Crystal::ASTNode)
#
[
View source
]