glib.markup_parse_context
Module for [MarkupParseContext] class
class MarkupParseContext
Types 1
A parse context is used to parse a stream of bytes that you expect to contain marked-up text.
See glib.markup_parse_context.MarkupParseContext.new_, #GMarkupParser, and so on for more details.
Methods
bool endParse()Signals to the #GMarkupParseContext that all data has been fed into the parse context with [glib.markup_parse_context.MarkupParseContext.parse].string[] getElementStack() nothrowRetrieves the element stack from the internal state of the parser.void getPosition(out int lineNumber, out int charNumber) nothrowRetrieves the current line number and the number of the character on that line. Intended for use in error messages; there are no strict semantics for what constitutes the "current" line number othe...bool parse(string text)Feed some data to the #GMarkupParseContext.void push(glib.types.MarkupParser parser, void * userData = null) nothrowTemporarily redirects markup data to a sub-parser.