class GLib::MarkupParseContext
- GLib::MarkupParseContext
- Reference
- Object
Overview
A parse context is used to parse a stream of bytes that you expect to contain marked-up text.
See g_markup_parse_context_new(), #GMarkupParser, and so on for more details.
Defined in:
lib/gi-crystal/src/auto/g_lib-2.0/markup_parse_context.crConstructors
- .new(parser : GLib::MarkupParser, flags : GLib::MarkupParseFlags, user_data : Pointer(Void) | Nil, user_data_dnotify : GLib::DestroyNotify) : self
- .new(pointer : Pointer(Void), transfer : GICrystal::Transfer)
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
- #element : String
- #end_parse : Bool
- #finalize
- #free : Nil
- #parse(text : String, text_len : Int64) : Bool
- #pop : Pointer(Void) | Nil
- #position : Nil
- #push(parser : GLib::MarkupParser, user_data : Pointer(Void) | Nil) : Nil
- #ref : GLib::MarkupParseContext
- #to_unsafe : Pointer(Void)
- #unref : Nil
- #user_data : Pointer(Void) | Nil
Constructor Detail
def self.new(parser : GLib::MarkupParser, flags : GLib::MarkupParseFlags, user_data : Pointer(Void) | Nil, user_data_dnotify : GLib::DestroyNotify) : self
#
Class Method Detail
Returns the type id (GType) registered in GLib type system.