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) | Nil, user_data_dnotify : GLib::DestroyNotify) : self #

[View source]
def self.new(pointer : Pointer(Void), transfer : GICrystal::Transfer) #

[View source]

Class Method Detail

def self.g_type : UInt64 #

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


[View source]

Instance Method Detail

def element : String #

[View source]
def end_parse : Bool #

[View source]
def finalize #

[View source]
def free : Nil #

[View source]
def parse(text : String, text_len : Int64) : Bool #

[View source]
def pop : Pointer(Void) | Nil #

[View source]
def position : Nil #

[View source]
def push(parser : GLib::MarkupParser, user_data : Pointer(Void) | Nil) : Nil #

[View source]

[View source]
def to_unsafe : Pointer(Void) #

[View source]
def unref : Nil #

[View source]
def user_data : Pointer(Void) | Nil #

[View source]