class Autobind::Parser

Defined in:

autobind/parser.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(header_name : String, args = [] of String, process : Process = Process::FILE, remove_enum_prefix : Bool | String = false, remove_enum_suffix : Bool | String = false, name : String = "LibC", module_name : Nil | String = nil) #

[View source]

Class Method Detail

def self.parse(header_name, args = [] of String, process : Process = Process::FILE) #

[View source]

Instance Method Detail

def check #

[View source]
def libc_output #

[View source]
def module_name? : String | Nil #

[View source]
def name : String #

[View source]
def output : String #

[View source]
def parse #

[View source]
def visit_define(cursor, translation_unit) #

[View source]
def visit_enum(cursor, spelling = cursor.spelling) #

[View source]
def visit_function(cursor) #

[View source]
def visit_struct(cursor, spelling = cursor.spelling) #

[View source]
def visit_typedef(cursor) #

[View source]
def visit_union(cursor) #

[View source]
def visit_var(cursor) #

[View source]