class GLib::MarkupParseContext

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.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(parser : GLib::MarkupParser, flags : GLib::MarkupParseFlags, user_data : Pointer(Void)?, user_data_dnotify : GLib::DestroyNotify) : self #

def self.new(pointer : Pointer(Void), transfer : GICrystal::Transfer) #

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def element : String #

def end_parse : Bool #

def finalize #

def free : Nil #

def parse(text : String, text_len : Int64) : Bool #

def pop : Pointer(Void)? #

def position : Nil #

def push(parser : GLib::MarkupParser, user_data : Pointer(Void)?) : Nil #


def to_unsafe : Pointer(Void) #

def unref : Nil #

def user_data : Pointer(Void)? #