NOTE:
This project is no longer being maintained: it was developed for my masters thesis, which was completed in early 1997. I still, however, welcome any questions or comments that people may have.

[Home] [ToC] [Up] [Prev] [Next]


iHTML Language Services

HTML Parse Trees

The language markup services provide access to and manipulation of a language module's internal representation of HTML parse trees.


Types

IHMarkup
Synopsis
The language-side representation of an HTML parse tree.
Definition
void* (This is an opaque type that is defined by the language's internal implementation.)
See Also
HTMLNode

This type represents the language-side context on an HTML parse tree. One IHMarkup object may be associated with a singe HTMLNode or a whole tree of nodes; the system keeps track of references on these objects, as trees owned by different IHMarkup objects are put together.


Functions

IHMarkup_Deref
Synopsis
void IHMarkup_Deref(IHMarkup markup)
Arguments
(IHMarkup) markup
A language-side markup object.
Return
nothing.
See Also
IHMarkup

Remove a reference to the given language-side markup object. If this is the last reference, the object should be deallocated.

IHMarkup_HeadNode
Synopsis
HTMLNode IHMarkup_HeadNode(IHMarkup markup)
Arguments
(IHMarkup) markup
A language-side markup object.
Return
(HTMLNode) A browser-side markup node.
See Also
IHMarkup, HTMLNode

This function returns the first node of the browser-side HTML parse tree that is owned by the language-side IHMarkup object.

IHMarkup_Ref
Synopsis
void IHMarkup_Ref(IHMarkup markup)
Arguments
(IHMarkup) markup
A language-side markup object.
Return
nothing.
See Also
IHMarkup

Add a reference to the given language-side markup object.

IHMarkup_SetHead
Synopsis
void IHMarkup_SetHead(IHMarkup markup, HTMLNode node)
Arguments
(IHMarkup) markup
A language-side markup object.
(HTMLNode) node
A browser-side parse tree node.
Return
nothing.
See Also
IHMarkup, HTMLNode

This function sets the first node of the language-side IHMarkup object to be the given node.

IHMarkup_TailNode
Synopsis
HTMLNode IHMarkup_TailNode(IHMarkup markup)
Arguments
(IHMarkup) markup
A language-side markup object.
Return
(HTMLNode) A browser-side markup node.
See Also
IHMarkup, HTMLNode

This function returns the last node of the browser-side HTML parse tree that is owned by the language-side IHMarkup object.


[Home] [ToC] [Up] [Prev] [Next]

_________.oo_Q_Q_oo.____________________________________________
Dianne Kyra Hackborn <hackbod@angryredplanet.com>
Last modified: Tue Oct 8 04:46:05 PDT 1996

This web page and all material contained herein is Copyright (c) 1997 Dianne Hackborn, unless otherwise noted. All rights reserved.