class Bindgen::Graph::Dumper

Overview

Dumps a graph for diagnostic purposes. See .dump.

Included Modules

Defined in:

bindgen/graph/dumper.cr

Constant Summary

INDENTION = " "

Single-depth indention

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from module Bindgen::Graph::Visitor

visit_alias(alias_name) visit_alias, visit_children(container : Container) visit_children, visit_class(klass) visit_class, visit_constant(constant) visit_constant, visit_enum(enumeration) visit_enum, visit_library(library) visit_library, visit_method(method) visit_method, visit_namespace(ns) visit_namespace, visit_node(node : Node) visit_node, visit_node?(node : Node) visit_node?, visit_platform_specific(specific) visit_platform_specific, visit_struct(structure) visit_struct

Constructor Detail

def self.new(io : IO) #

[View source]

Class Method Detail

def self.dump(io : IO, node : Node) #

Dumps node, and all of its children, into io.


[View source]

Instance Method Detail

def visit_alias(alias_name) #
Description copied from module Bindgen::Graph::Visitor

Visits a Graph::Alias.


[View source]
def visit_class(klass) #
Description copied from module Bindgen::Graph::Visitor

Visits a Graph::Class. The default implementation calls #visit_children to visit all child nodes.


[View source]
def visit_constant(constant) #
Description copied from module Bindgen::Graph::Visitor

Visits a Graph::Constant.


[View source]
def visit_enum(enumeration) #
Description copied from module Bindgen::Graph::Visitor

Visits a Graph::Enum.


[View source]
def visit_library(library) #
Description copied from module Bindgen::Graph::Visitor

Visits a Graph::Library. The default implementation calls #visit_children to visit all child nodes.


[View source]
def visit_method(method) #
Description copied from module Bindgen::Graph::Visitor

Visits a Graph::Method.


[View source]
def visit_namespace(ns) #
Description copied from module Bindgen::Graph::Visitor

Visits a Graph::Namespace. The default implementation calls #visit_children to visit all child nodes.


[View source]
def visit_platform_specific(specific) #
Description copied from module Bindgen::Graph::Visitor

Visits a Graph::PlatformSpecific.


[View source]
def visit_struct(structure) #
Description copied from module Bindgen::Graph::Visitor

Visits a Graph::Struct.


[View source]