CpgParserContext

CpgParserContext

Synopsis

#define             CPG_PARSER_CONTEXT_CONST            (obj)
enum                CpgParserContextDeleteType;
struct              CpgParserContext;
struct              CpgParserContextClass;
CpgParserContext *  cpg_parser_context_new              (CpgNetwork *network);
CpgEmbeddedContext * cpg_parser_context_get_embedded    (CpgParserContext *context);
void                cpg_parser_context_set_embedded     (CpgParserContext *context,
                                                         CpgEmbeddedContext *embedded);
GFile *             cpg_parser_context_get_file         (CpgParserContext *context);
void                cpg_parser_context_set_line         (CpgParserContext *context,
                                                         gchar const *line,
                                                         gint lineno);
gchar const           * cpg_parser_context_get_line     (CpgParserContext *context,
                                                         gint *lineno);
gchar const           * cpg_parser_context_get_line_at  (CpgParserContext *context,
                                                         gint lineno);
void                cpg_parser_context_set_column       (CpgParserContext *context,
                                                         gint start,
                                                         gint end);
void                cpg_parser_context_get_column       (CpgParserContext *context,
                                                         gint *start,
                                                         gint *end);
void                cpg_parser_context_get_error_location
                                                        (CpgParserContext *context,
                                                         gint *lstart,
                                                         gint *lend,
                                                         gint *cstart,
                                                         gint *cend);
gchar *             cpg_parser_context_get_error_lines  (CpgParserContext *context);
void                cpg_parser_context_get_last_selector_item_line
                                                        (CpgParserContext *context,
                                                         gint *line_start,
                                                         gint *line_end);
void                cpg_parser_context_get_last_selector_item_column
                                                        (CpgParserContext *context,
                                                         gint *start,
                                                         gint *end);
void                cpg_parser_context_set_token        (CpgParserContext *context,
                                                         gchar const *token);
gchar const           * cpg_parser_context_get_token    (CpgParserContext *context);
gboolean            cpg_parser_context_parse            (CpgParserContext *context,
                                                         gboolean push_network,
                                                         GError **error);
void                cpg_parser_context_begin_selector_item
                                                        (CpgParserContext *context);
void                cpg_parser_context_add_property     (CpgParserContext *context,
                                                         CpgEmbeddedString *name,
                                                         CpgEmbeddedString *count_name,
                                                         CpgEmbeddedString *unexpanded_name,
                                                         CpgEmbeddedString *expression,
                                                         CpgPropertyFlags add_flags,
                                                         CpgPropertyFlags remove_flags,
                                                         GSList *attributes,
                                                         gboolean assign_optional,
                                                         CpgEmbeddedString *constraint);
void                cpg_parser_context_add_action       (CpgParserContext *context,
                                                         CpgEmbeddedString *target,
                                                         CpgEmbeddedString *expression,
                                                         GSList *attributes);
void                cpg_parser_context_add_function     (CpgParserContext *context,
                                                         CpgEmbeddedString *name,
                                                         CpgEmbeddedString *expression,
                                                         GSList *arguments,
                                                         GSList *attributes);
void                cpg_parser_context_add_polynomial   (CpgParserContext *context,
                                                         CpgEmbeddedString *name,
                                                         GSList *pieces,
                                                         GSList *attributes);
void                cpg_parser_context_add_interface    (CpgParserContext *context,
                                                         CpgEmbeddedString *name,
                                                         CpgEmbeddedString *child_name,
                                                         CpgEmbeddedString *property_name,
                                                         gboolean is_optional,
                                                         GSList *attributes);
void                cpg_parser_context_import           (CpgParserContext *context,
                                                         CpgEmbeddedString *id,
                                                         CpgEmbeddedString *path,
                                                         GSList *attributes);
void                cpg_parser_context_set_error        (CpgParserContext *context,
                                                         gchar const *message);
GError *            cpg_parser_context_get_error        (CpgParserContext *context);
void                cpg_parser_context_push_selection   (CpgParserContext *context,
                                                         CpgSelector *selector,
                                                         CpgSelectorType type,
                                                         GSList *templates,
                                                         GSList *attributes);
void                cpg_parser_context_push_objects     (CpgParserContext *context,
                                                         GSList *objects,
                                                         GSList *attributes);
void                cpg_parser_context_push_object      (CpgParserContext *context,
                                                         CpgEmbeddedString *id,
                                                         GSList *templates,
                                                         GSList *attributes);
void                cpg_parser_context_push_state       (CpgParserContext *context,
                                                         CpgEmbeddedString *id,
                                                         GSList *templates,
                                                         GSList *attributes);
void                cpg_parser_context_push_group       (CpgParserContext *context,
                                                         CpgEmbeddedString *id,
                                                         GSList *templates,
                                                         GSList *attributes);
void                cpg_parser_context_push_link        (CpgParserContext *context,
                                                         CpgEmbeddedString *id,
                                                         GSList *templates,
                                                         GSList *attributes,
                                                         GSList *fromto);
void                cpg_parser_context_push_network     (CpgParserContext *context,
                                                         GSList *attributes);
void                cpg_parser_context_push_templates   (CpgParserContext *context,
                                                         GSList *attributes);
void                cpg_parser_context_push_integrator  (CpgParserContext *context,
                                                         GSList *attributes);
void                cpg_parser_context_push_input_file  (CpgParserContext *context,
                                                         CpgEmbeddedString *id,
                                                         CpgEmbeddedString *path,
                                                         GSList *attributes);
void                cpg_parser_context_set_input_file_setting
                                                        (CpgParserContext *context,
                                                         CpgEmbeddedString *name,
                                                         CpgEmbeddedString *value);
void                cpg_parser_context_set_proxy        (CpgParserContext *context,
                                                         GSList *objects);
GSList *            cpg_parser_context_pop              (CpgParserContext *context);
GSList const          * cpg_parser_context_current_selections
                                                        (CpgParserContext *context);
GSList const          * cpg_parser_context_previous_selections
                                                        (CpgParserContext *context);
void                cpg_parser_context_push_selector_identifier
                                                        (CpgParserContext *context,
                                                         CpgEmbeddedString *identifier);
void                cpg_parser_context_push_selector_regex
                                                        (CpgParserContext *context,
                                                         CpgEmbeddedString *regex);
void                cpg_parser_context_push_selector_pseudo
                                                        (CpgParserContext *context,
                                                         CpgSelectorPseudoType type,
                                                         GSList *arguments);
CpgSelector *       cpg_parser_context_pop_selector     (CpgParserContext *context);
CpgSelector *       cpg_parser_context_peek_selector    (CpgParserContext *context);
void                cpg_parser_context_push_selector    (CpgParserContext *context);
gssize              cpg_parser_context_read             (CpgParserContext *context,
                                                         gchar *buffer,
                                                         gsize max_size);
gpointer            cpg_parser_context_get_scanner      (CpgParserContext *context);
void                cpg_parser_context_define           (CpgParserContext *context,
                                                         CpgEmbeddedString *name,
                                                         CpgEmbeddedString *value,
                                                         gboolean optional,
                                                         CpgEmbeddedString *count_name,
                                                         CpgEmbeddedString *unexpanded_name);
void                cpg_parser_context_remove           (CpgParserContext *context,
                                                         GSList *selectors);
void                cpg_parser_context_set_integrator   (CpgParserContext *context,
                                                         CpgEmbeddedString *value);
void                cpg_parser_context_push_input_from_path
                                                        (CpgParserContext *context,
                                                         CpgEmbeddedString *filename,
                                                         GSList *attributes);
void                cpg_parser_context_push_input_from_string
                                                        (CpgParserContext *context,
                                                         gchar const *s,
                                                         GSList *attributes);
void                cpg_parser_context_push_input       (CpgParserContext *context,
                                                         GFile *file,
                                                         GInputStream *stream,
                                                         GSList *attributes);
void                cpg_parser_context_include          (CpgParserContext *context,
                                                         CpgEmbeddedString *filename,
                                                         GSList *attributes);
void                cpg_parser_context_pop_input        (CpgParserContext *context);
gint                cpg_parser_context_steal_start_token
                                                        (CpgParserContext *context);
gint                cpg_parser_context_get_start_token  (CpgParserContext *context);
void                cpg_parser_context_set_start_token  (CpgParserContext *context,
                                                         gint token);
void                cpg_parser_context_push_annotation  (CpgParserContext *context,
                                                         CpgEmbeddedString *annotation);
void                cpg_parser_context_push_scope       (CpgParserContext *context,
                                                         GSList *attributes);
void                cpg_parser_context_push_define      (CpgParserContext *context,
                                                         GSList *attributes);
void                cpg_parser_context_push_layout      (CpgParserContext *context,
                                                         GSList *attributes);
void                cpg_parser_context_pop_layout       (CpgParserContext *context);
void                cpg_parser_context_add_layout       (CpgParserContext *context,
                                                         CpgLayoutRelation relation,
                                                         CpgSelector *left,
                                                         CpgSelector *right);
void                cpg_parser_context_add_layout_position
                                                        (CpgParserContext *context,
                                                         CpgSelector *selector,
                                                         CpgEmbeddedString *x,
                                                         CpgEmbeddedString *y,
                                                         CpgSelector *of,
                                                         gboolean cartesian);
void                cpg_parser_context_add_integrator_property
                                                        (CpgParserContext *context,
                                                         CpgEmbeddedString *name,
                                                         CpgEmbeddedString *value);
CpgEmbeddedString * cpg_parser_context_push_string      (CpgParserContext *context);
CpgEmbeddedString * cpg_parser_context_peek_string      (CpgParserContext *context);
CpgEmbeddedString * cpg_parser_context_pop_string       (CpgParserContext *context);
gboolean            cpg_parser_context_pop_equation_depth
                                                        (CpgParserContext *context);
void                cpg_parser_context_push_equation_depth
                                                        (CpgParserContext *context);
gint                cpg_parser_context_peek_equation_depth
                                                        (CpgParserContext *context);
void                cpg_parser_context_push_equation    (CpgParserContext *context);
void                cpg_parser_context_delete_selector  (CpgParserContext *context,
                                                         CpgSelector *selector);
void                cpg_parser_context_debug_selector   (CpgParserContext *context,
                                                         CpgSelector *selector);
void                cpg_parser_context_debug_string     (CpgParserContext *context,
                                                         CpgEmbeddedString *s);
void                cpg_parser_context_debug_context    (CpgParserContext *context);
void                cpg_parser_context_apply_template   (CpgParserContext *context,
                                                         CpgSelector *templates,
                                                         CpgSelector *targets);
void                cpg_parser_context_unapply_template (CpgParserContext *context,
                                                         CpgSelector *templates,
                                                         CpgSelector *targets);
void                cpg_parser_context_set_event_handler
                                                        (CpgParserContext *context,
                                                         CpgParserCodeEvent event,
                                                         GSList *attributes);
void                cpg_parser_context_unset_event_handler
                                                        (CpgParserContext *context);
void                cpg_parser_context_remove_record    (CpgParserContext *context,
                                                         gint len,
                                                         gint offset);
gboolean            cpg_parser_context_get_first_eof    (CpgParserContext *context);
void                cpg_parser_context_set_first_eof    (CpgParserContext *context,
                                                         gboolean firsteof);
                    CpgParserContextClassPrivate;
                    CpgParserContextPrivate;

Object Hierarchy

  GEnum
   +----CpgParserContextDeleteType
  GObject
   +----CpgParserContext

Properties

  "network"                  CpgNetwork*           : Read / Write / Construct Only

Signals

  "context-popped"                                 : Run Last
  "context-pushed"                                 : Run Last
  "file-used"                                      : Run Last
  "selector-item-pushed"                           : Run Last

Description

Details

CPG_PARSER_CONTEXT_CONST()

#define CPG_PARSER_CONTEXT_CONST(obj)		(G_TYPE_CHECK_INSTANCE_CAST ((obj), CPG_TYPE_PARSER_CONTEXT, CpgParserContext const))


enum CpgParserContextDeleteType

typedef enum
{
	CPG_PARSER_CONTEXT_SELECTOR_TYPE_OBJECT,
	CPG_PARSER_CONTEXT_SELECTOR_TYPE_STATE,
	CPG_PARSER_CONTEXT_SELECTOR_TYPE_LINK,
	CPG_PARSER_CONTEXT_SELECTOR_TYPE_PROPERTY,
	CPG_PARSER_CONTEXT_SELECTOR_TYPE_ACTION,
	CPG_PARSER_CONTEXT_SELECTOR_TYPE_FUNCTION
} CpgParserContextDeleteType;


struct CpgParserContext

struct CpgParserContext;


struct CpgParserContextClass

struct CpgParserContextClass {
};


cpg_parser_context_new ()

CpgParserContext *  cpg_parser_context_new              (CpgNetwork *network);


cpg_parser_context_get_embedded ()

CpgEmbeddedContext * cpg_parser_context_get_embedded    (CpgParserContext *context);

Get the embedded context.

context :

A CpgParserContext

Returns :

A CpgEmbeddedContext. [transfer none]

cpg_parser_context_set_embedded ()

void                cpg_parser_context_set_embedded     (CpgParserContext *context,
                                                         CpgEmbeddedContext *embedded);


cpg_parser_context_get_file ()

GFile *             cpg_parser_context_get_file         (CpgParserContext *context);

Get the current parsed file. If the current parsing stage is from memory or a stream only, the result will be NULL.

context :

A CpgParserContext

Returns :

A GFile. [transfer full][allow-none]

cpg_parser_context_set_line ()

void                cpg_parser_context_set_line         (CpgParserContext *context,
                                                         gchar const *line,
                                                         gint lineno);


cpg_parser_context_get_line ()

gchar const           * cpg_parser_context_get_line     (CpgParserContext *context,
                                                         gint *lineno);


cpg_parser_context_get_line_at ()

gchar const           * cpg_parser_context_get_line_at  (CpgParserContext *context,
                                                         gint lineno);


cpg_parser_context_set_column ()

void                cpg_parser_context_set_column       (CpgParserContext *context,
                                                         gint start,
                                                         gint end);


cpg_parser_context_get_column ()

void                cpg_parser_context_get_column       (CpgParserContext *context,
                                                         gint *start,
                                                         gint *end);


cpg_parser_context_get_error_location ()

void                cpg_parser_context_get_error_location
                                                        (CpgParserContext *context,
                                                         gint *lstart,
                                                         gint *lend,
                                                         gint *cstart,
                                                         gint *cend);


cpg_parser_context_get_error_lines ()

gchar *             cpg_parser_context_get_error_lines  (CpgParserContext *context);

Get the lines of text on which the error occurred.

context :

A CpgParserContext

Returns :

The lines on which the error occurred. [transfer full]

cpg_parser_context_get_last_selector_item_line ()

void                cpg_parser_context_get_last_selector_item_line
                                                        (CpgParserContext *context,
                                                         gint *line_start,
                                                         gint *line_end);


cpg_parser_context_get_last_selector_item_column ()

void                cpg_parser_context_get_last_selector_item_column
                                                        (CpgParserContext *context,
                                                         gint *start,
                                                         gint *end);


cpg_parser_context_set_token ()

void                cpg_parser_context_set_token        (CpgParserContext *context,
                                                         gchar const *token);


cpg_parser_context_get_token ()

gchar const           * cpg_parser_context_get_token    (CpgParserContext *context);


cpg_parser_context_parse ()

gboolean            cpg_parser_context_parse            (CpgParserContext *context,
                                                         gboolean push_network,
                                                         GError **error);


cpg_parser_context_begin_selector_item ()

void                cpg_parser_context_begin_selector_item
                                                        (CpgParserContext *context);


cpg_parser_context_add_property ()

void                cpg_parser_context_add_property     (CpgParserContext *context,
                                                         CpgEmbeddedString *name,
                                                         CpgEmbeddedString *count_name,
                                                         CpgEmbeddedString *unexpanded_name,
                                                         CpgEmbeddedString *expression,
                                                         CpgPropertyFlags add_flags,
                                                         CpgPropertyFlags remove_flags,
                                                         GSList *attributes,
                                                         gboolean assign_optional,
                                                         CpgEmbeddedString *constraint);


cpg_parser_context_add_action ()

void                cpg_parser_context_add_action       (CpgParserContext *context,
                                                         CpgEmbeddedString *target,
                                                         CpgEmbeddedString *expression,
                                                         GSList *attributes);


cpg_parser_context_add_function ()

void                cpg_parser_context_add_function     (CpgParserContext *context,
                                                         CpgEmbeddedString *name,
                                                         CpgEmbeddedString *expression,
                                                         GSList *arguments,
                                                         GSList *attributes);


cpg_parser_context_add_polynomial ()

void                cpg_parser_context_add_polynomial   (CpgParserContext *context,
                                                         CpgEmbeddedString *name,
                                                         GSList *pieces,
                                                         GSList *attributes);


cpg_parser_context_add_interface ()

void                cpg_parser_context_add_interface    (CpgParserContext *context,
                                                         CpgEmbeddedString *name,
                                                         CpgEmbeddedString *child_name,
                                                         CpgEmbeddedString *property_name,
                                                         gboolean is_optional,
                                                         GSList *attributes);


cpg_parser_context_import ()

void                cpg_parser_context_import           (CpgParserContext *context,
                                                         CpgEmbeddedString *id,
                                                         CpgEmbeddedString *path,
                                                         GSList *attributes);


cpg_parser_context_set_error ()

void                cpg_parser_context_set_error        (CpgParserContext *context,
                                                         gchar const *message);


cpg_parser_context_get_error ()

GError *            cpg_parser_context_get_error        (CpgParserContext *context);

Get the parse error.

context :

A CpgParserContext

Returns :

A GError. [transfer none]

cpg_parser_context_push_selection ()

void                cpg_parser_context_push_selection   (CpgParserContext *context,
                                                         CpgSelector *selector,
                                                         CpgSelectorType type,
                                                         GSList *templates,
                                                         GSList *attributes);


cpg_parser_context_push_objects ()

void                cpg_parser_context_push_objects     (CpgParserContext *context,
                                                         GSList *objects,
                                                         GSList *attributes);


cpg_parser_context_push_object ()

void                cpg_parser_context_push_object      (CpgParserContext *context,
                                                         CpgEmbeddedString *id,
                                                         GSList *templates,
                                                         GSList *attributes);


cpg_parser_context_push_state ()

void                cpg_parser_context_push_state       (CpgParserContext *context,
                                                         CpgEmbeddedString *id,
                                                         GSList *templates,
                                                         GSList *attributes);


cpg_parser_context_push_group ()

void                cpg_parser_context_push_group       (CpgParserContext *context,
                                                         CpgEmbeddedString *id,
                                                         GSList *templates,
                                                         GSList *attributes);


cpg_parser_context_push_link ()

void                cpg_parser_context_push_link        (CpgParserContext *context,
                                                         CpgEmbeddedString *id,
                                                         GSList *templates,
                                                         GSList *attributes,
                                                         GSList *fromto);


cpg_parser_context_push_network ()

void                cpg_parser_context_push_network     (CpgParserContext *context,
                                                         GSList *attributes);


cpg_parser_context_push_templates ()

void                cpg_parser_context_push_templates   (CpgParserContext *context,
                                                         GSList *attributes);


cpg_parser_context_push_integrator ()

void                cpg_parser_context_push_integrator  (CpgParserContext *context,
                                                         GSList *attributes);


cpg_parser_context_push_input_file ()

void                cpg_parser_context_push_input_file  (CpgParserContext *context,
                                                         CpgEmbeddedString *id,
                                                         CpgEmbeddedString *path,
                                                         GSList *attributes);


cpg_parser_context_set_input_file_setting ()

void                cpg_parser_context_set_input_file_setting
                                                        (CpgParserContext *context,
                                                         CpgEmbeddedString *name,
                                                         CpgEmbeddedString *value);


cpg_parser_context_set_proxy ()

void                cpg_parser_context_set_proxy        (CpgParserContext *context,
                                                         GSList *objects);


cpg_parser_context_pop ()

GSList *            cpg_parser_context_pop              (CpgParserContext *context);

Description.

context :

A CpgParserContext

Returns :

A GSList. [transfer container][element-type CpgObject]

cpg_parser_context_current_selections ()

GSList const          * cpg_parser_context_current_selections
                                                        (CpgParserContext *context);

Description.

context :

A CpgParserContext

Returns :

A GSList. [element-type CpgSelection][transfer none]

cpg_parser_context_previous_selections ()

GSList const          * cpg_parser_context_previous_selections
                                                        (CpgParserContext *context);

Description.

context :

A CpgParserContext

Returns :

A GSList. [element-type CpgSelection][transfer none]

cpg_parser_context_push_selector_identifier ()

void                cpg_parser_context_push_selector_identifier
                                                        (CpgParserContext *context,
                                                         CpgEmbeddedString *identifier);


cpg_parser_context_push_selector_regex ()

void                cpg_parser_context_push_selector_regex
                                                        (CpgParserContext *context,
                                                         CpgEmbeddedString *regex);


cpg_parser_context_push_selector_pseudo ()

void                cpg_parser_context_push_selector_pseudo
                                                        (CpgParserContext *context,
                                                         CpgSelectorPseudoType type,
                                                         GSList *arguments);


cpg_parser_context_pop_selector ()

CpgSelector *       cpg_parser_context_pop_selector     (CpgParserContext *context);

Description.

context :

A CpgParserContext

Returns :

A CpgSelector. [transfer full]

cpg_parser_context_peek_selector ()

CpgSelector *       cpg_parser_context_peek_selector    (CpgParserContext *context);

Description.

context :

A CpgParserContext

Returns :

A CpgSelector. [transfer none]

cpg_parser_context_push_selector ()

void                cpg_parser_context_push_selector    (CpgParserContext *context);


cpg_parser_context_read ()

gssize              cpg_parser_context_read             (CpgParserContext *context,
                                                         gchar *buffer,
                                                         gsize max_size);


cpg_parser_context_get_scanner ()

gpointer            cpg_parser_context_get_scanner      (CpgParserContext *context);

Description.

context :

A CpgParserContext

Returns :

Description. [transfer none]

cpg_parser_context_define ()

void                cpg_parser_context_define           (CpgParserContext *context,
                                                         CpgEmbeddedString *name,
                                                         CpgEmbeddedString *value,
                                                         gboolean optional,
                                                         CpgEmbeddedString *count_name,
                                                         CpgEmbeddedString *unexpanded_name);


cpg_parser_context_remove ()

void                cpg_parser_context_remove           (CpgParserContext *context,
                                                         GSList *selectors);


cpg_parser_context_set_integrator ()

void                cpg_parser_context_set_integrator   (CpgParserContext *context,
                                                         CpgEmbeddedString *value);


cpg_parser_context_push_input_from_path ()

void                cpg_parser_context_push_input_from_path
                                                        (CpgParserContext *context,
                                                         CpgEmbeddedString *filename,
                                                         GSList *attributes);


cpg_parser_context_push_input_from_string ()

void                cpg_parser_context_push_input_from_string
                                                        (CpgParserContext *context,
                                                         gchar const *s,
                                                         GSList *attributes);


cpg_parser_context_push_input ()

void                cpg_parser_context_push_input       (CpgParserContext *context,
                                                         GFile *file,
                                                         GInputStream *stream,
                                                         GSList *attributes);


cpg_parser_context_include ()

void                cpg_parser_context_include          (CpgParserContext *context,
                                                         CpgEmbeddedString *filename,
                                                         GSList *attributes);


cpg_parser_context_pop_input ()

void                cpg_parser_context_pop_input        (CpgParserContext *context);


cpg_parser_context_steal_start_token ()

gint                cpg_parser_context_steal_start_token
                                                        (CpgParserContext *context);


cpg_parser_context_get_start_token ()

gint                cpg_parser_context_get_start_token  (CpgParserContext *context);


cpg_parser_context_set_start_token ()

void                cpg_parser_context_set_start_token  (CpgParserContext *context,
                                                         gint token);


cpg_parser_context_push_annotation ()

void                cpg_parser_context_push_annotation  (CpgParserContext *context,
                                                         CpgEmbeddedString *annotation);


cpg_parser_context_push_scope ()

void                cpg_parser_context_push_scope       (CpgParserContext *context,
                                                         GSList *attributes);


cpg_parser_context_push_define ()

void                cpg_parser_context_push_define      (CpgParserContext *context,
                                                         GSList *attributes);


cpg_parser_context_push_layout ()

void                cpg_parser_context_push_layout      (CpgParserContext *context,
                                                         GSList *attributes);


cpg_parser_context_pop_layout ()

void                cpg_parser_context_pop_layout       (CpgParserContext *context);


cpg_parser_context_add_layout ()

void                cpg_parser_context_add_layout       (CpgParserContext *context,
                                                         CpgLayoutRelation relation,
                                                         CpgSelector *left,
                                                         CpgSelector *right);


cpg_parser_context_add_layout_position ()

void                cpg_parser_context_add_layout_position
                                                        (CpgParserContext *context,
                                                         CpgSelector *selector,
                                                         CpgEmbeddedString *x,
                                                         CpgEmbeddedString *y,
                                                         CpgSelector *of,
                                                         gboolean cartesian);


cpg_parser_context_add_integrator_property ()

void                cpg_parser_context_add_integrator_property
                                                        (CpgParserContext *context,
                                                         CpgEmbeddedString *name,
                                                         CpgEmbeddedString *value);


cpg_parser_context_push_string ()

CpgEmbeddedString * cpg_parser_context_push_string      (CpgParserContext *context);

Description.

context :

A CpgParserContext

Returns :

A CpgEmbeddedString. [transfer none]

cpg_parser_context_peek_string ()

CpgEmbeddedString * cpg_parser_context_peek_string      (CpgParserContext *context);

Description.

context :

A CpgParserContext

Returns :

A CpgEmbeddedString. [transfer none]

cpg_parser_context_pop_string ()

CpgEmbeddedString * cpg_parser_context_pop_string       (CpgParserContext *context);

Description.

context :

A CpgParserContext

Returns :

A CpgEmbeddedString. [transfer full]

cpg_parser_context_pop_equation_depth ()

gboolean            cpg_parser_context_pop_equation_depth
                                                        (CpgParserContext *context);


cpg_parser_context_push_equation_depth ()

void                cpg_parser_context_push_equation_depth
                                                        (CpgParserContext *context);


cpg_parser_context_peek_equation_depth ()

gint                cpg_parser_context_peek_equation_depth
                                                        (CpgParserContext *context);


cpg_parser_context_push_equation ()

void                cpg_parser_context_push_equation    (CpgParserContext *context);


cpg_parser_context_delete_selector ()

void                cpg_parser_context_delete_selector  (CpgParserContext *context,
                                                         CpgSelector *selector);


cpg_parser_context_debug_selector ()

void                cpg_parser_context_debug_selector   (CpgParserContext *context,
                                                         CpgSelector *selector);


cpg_parser_context_debug_string ()

void                cpg_parser_context_debug_string     (CpgParserContext *context,
                                                         CpgEmbeddedString *s);


cpg_parser_context_debug_context ()

void                cpg_parser_context_debug_context    (CpgParserContext *context);


cpg_parser_context_apply_template ()

void                cpg_parser_context_apply_template   (CpgParserContext *context,
                                                         CpgSelector *templates,
                                                         CpgSelector *targets);


cpg_parser_context_unapply_template ()

void                cpg_parser_context_unapply_template (CpgParserContext *context,
                                                         CpgSelector *templates,
                                                         CpgSelector *targets);


cpg_parser_context_set_event_handler ()

void                cpg_parser_context_set_event_handler
                                                        (CpgParserContext *context,
                                                         CpgParserCodeEvent event,
                                                         GSList *attributes);


cpg_parser_context_unset_event_handler ()

void                cpg_parser_context_unset_event_handler
                                                        (CpgParserContext *context);


cpg_parser_context_remove_record ()

void                cpg_parser_context_remove_record    (CpgParserContext *context,
                                                         gint len,
                                                         gint offset);


cpg_parser_context_get_first_eof ()

gboolean            cpg_parser_context_get_first_eof    (CpgParserContext *context);


cpg_parser_context_set_first_eof ()

void                cpg_parser_context_set_first_eof    (CpgParserContext *context,
                                                         gboolean firsteof);


CpgParserContextClassPrivate

typedef struct _CpgParserContextClassPrivate CpgParserContextClassPrivate;


CpgParserContextPrivate

typedef struct _CpgParserContextPrivate CpgParserContextPrivate;

Property Details

The "network" property

  "network"                  CpgNetwork*           : Read / Write / Construct Only

Network.

Signal Details

The "context-popped" signal

void                user_function                      (CpgParserContext *cpgparsercontext,
                                                        gpointer          user_data)             : Run Last

cpgparsercontext :

the object which received the signal.

user_data :

user data set when the signal handler was connected.

The "context-pushed" signal

void                user_function                      (CpgParserContext *cpgparsercontext,
                                                        gpointer          user_data)             : Run Last

cpgparsercontext :

the object which received the signal.

user_data :

user data set when the signal handler was connected.

The "file-used" signal

void                user_function                      (CpgParserContext *cpgparsercontext,
                                                        GFile            *arg1,
                                                        gchar            *arg2,
                                                        gpointer          user_data)             : Run Last

cpgparsercontext :

the object which received the signal.

user_data :

user data set when the signal handler was connected.

The "selector-item-pushed" signal

void                user_function                      (CpgParserContext *cpgparsercontext,
                                                        CpgSelector      *arg1,
                                                        gpointer          user_data)             : Run Last

cpgparsercontext :

the object which received the signal.

user_data :

user data set when the signal handler was connected.