class Crodoc::AST::Visitor

Overview

Visitor to help traverse the Crystal AST

Defined in:

crodoc/ast/visitor.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(source : Crodoc::Source) #

Creates an instance of this visitor.

Example:

visitor = Crodoc::AST::Visitor.new(source)

[View source]

Instance Method Detail

def code #

[View source]
def source : Source #

The source to traverse


[View source]
def visit_any(node) #

[View source]