class CrystalLib::Parser
- CrystalLib::Parser
- Reference
- Object
Defined in:
crystal_lib/parser.crConstructors
Class Method Summary
Instance Method Summary
- #block_pointer_type(type)
- #block_pointer_types
- #build_function_type(type, result_type = type.result_type)
- #constant_array_type(type, size)
- #constant_array_types
- #error_type(name)
- #error_types
- #function_type(inputs, output)
- #function_types
- #generate_comments(cursor)
- #incomplete_array_type(type)
- #incomplete_array_types
- #macro_definition_value(cursor)
- #name(cursor)
- #named_nodes
- #named_types
- #nodes : Array(CrystalLib::ASTNode)
- #parse
- #pointer_type(type)
- #pointer_types
- #primitive_type(kind)
- #primitive_types
- #type(type)
- #visit(cursor)
- #visit_enum_constant_declaration(cursor)
- #visit_enum_declaration(cursor)
- #visit_function_declaration(cursor)
- #visit_macro_definition(cursor)
- #visit_param_declaration(cursor)
- #visit_struct_or_union_declaration(cursor, kind)
- #visit_typedef_declaration(cursor)
- #visit_var_declaration(cursor)
Constructor Detail
def self.new(source : String, flags = [] of String, options : CrystalLib::Parser::Option = Option::None)
#