mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Reword visit(node)
methods comment in AST::NodeVisitor
This commit is contained in:
parent
a38cfd1661
commit
2e9ef7fcb2
1 changed files with 3 additions and 1 deletions
|
@ -46,7 +46,9 @@ module Ameba::AST
|
|||
|
||||
{% for name in NODES %}
|
||||
# A visit callback for `Crystal::{{name}}` node.
|
||||
# Returns true meaning that child nodes will be traversed as well.
|
||||
#
|
||||
# Returns `true` if the child nodes should be traversed as well,
|
||||
# `false` otherwise.
|
||||
def visit(node : Crystal::{{name}})
|
||||
return false if skip?(node)
|
||||
|
||||
|
|
Loading…
Reference in a new issue