Plasma GitLab Archive
Projects Blog Knowledge


[UP]
Wd_types
 Wd_types.application_type
 Wd_types.dialog_decl_type
 Wd_types.dialog_type
 Wd_types.session_manager_type
 Wd_types.session_type
 Wd_types.syntax_tree_type
 Wd_types.template_type
 Wd_types.universe_type
   
WDialog API for Objective Caml: Wd_types.syntax_tree_type

Class type Wd_types.syntax_tree_type


class type syntax_tree_type = object .. end
This class represents the XML syntax tree
Inherits
  • Pxp_document.extension The syntax tree is an extension of the PXP model for XML trees
  • Wd_types.template_type The syntax tree is always a template definition. This has formal reasons.

method scan_application : application_type -> unit
Scanner methods

The side-effect of the scanners is to put the result into the passed argument.

method scan_dialog : application_type -> dialog_decl_type -> unit
method scan_enumeration : enum_decl -> unit
method scan_literal : unit -> dialog_type poly_var_value
(But this one is functional)
method escaped_data : string
Returns the string contained in the data node after HTML-escaping has been applied. This string is cached.
method to_html : ?context:syntax_tree_type dict ->
?vars:trans_vars ->
dialog_type -> Netchannels.out_obj_channel -> unit
This method writes the current node and all its children to the passed output channel. This method is for HTML context, i.e. character data are to be HTML-escaped, and all elements have to be interpreted.
method to_text : ?context:syntax_tree_type dict ->
?vars:trans_vars ->
dialog_type -> Netchannels.out_obj_channel -> unit
This method writes the current node and all its children to the passed output channel. This method is for attribute context, i.e. character data remain as they are without escaping them, and only the elements are interpreted that are defined for attribute context.
This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml