class CrystalLib::Parser

Defined in:

crystal_lib/parser.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(source : String, flags = [] of String, options : CrystalLib::Parser::Option = Option::None) #

[View source]

Class Method Detail

def self.parse(source, flags = [] of String, options = Option::None) #

[View source]

Instance Method Detail

def block_pointer_type(type) #

[View source]
def block_pointer_types #

[View source]
def build_function_type(type, result_type = type.result_type) #

[View source]
def constant_array_type(type, size) #

[View source]
def constant_array_types #

[View source]
def error_type(name) #

[View source]
def error_types #

[View source]
def function_type(inputs, output) #

[View source]
def function_types #

[View source]
def generate_comments(cursor) #

[View source]
def incomplete_array_type(type) #

[View source]
def incomplete_array_types #

[View source]
def macro_definition_value(cursor) #

[View source]
def name(cursor) #

[View source]
def named_nodes #

[View source]
def named_types #

[View source]
def nodes : Array(CrystalLib::ASTNode) #

[View source]
def parse #

[View source]
def pointer_type(type) #

[View source]
def pointer_types #

[View source]
def primitive_type(kind) #

[View source]
def primitive_types #

[View source]
def type(type) #

[View source]
def visit(cursor) #

[View source]
def visit_enum_constant_declaration(cursor) #

[View source]
def visit_enum_declaration(cursor) #

[View source]
def visit_function_declaration(cursor) #

[View source]
def visit_macro_definition(cursor) #

[View source]
def visit_param_declaration(cursor) #

[View source]
def visit_struct_or_union_declaration(cursor, kind) #

[View source]
def visit_typedef_declaration(cursor) #

[View source]
def visit_var_declaration(cursor) #

[View source]