langxml.c File Reference

#include "frontier.h"
#include "standard.h"
#include "memory.h"
#include "strings.h"
#include "ops.h"
#include "resources.h"
#include "timedate.h"
#include "lang.h"
#include "langinternal.h"
#include "langhtml.h"
#include "langexternal.h"
#include "langsystem7.h"
#include "tableinternal.h"
#include "tablestructure.h"
#include "tableverbs.h"
#include "kernelverbs.h"
#include "kernelverbdefs.h"
#include "oplist.h"
#include "BASE64.H"
#include "langxml.h"
#include "process.h"

Include dependency graph for langxml.c:

Go to the source code of this file.

Data Structures

struct  xmltoken

Defines

#define stringerrorlist   264
#define notimplementederror   1
#define STR_atts   (BIGSTRING ("\x05" "/atts"))
#define STR_i4   (BIGSTRING ("\x02" "i4"))
#define STR_i2   (BIGSTRING ("\x02" "i2"))
#define STR_i1   (BIGSTRING ("\x02" "i1"))
#define STR_float   (BIGSTRING ("\x05" "float"))
#define STR_base64_begin   (BIGSTRING ("\x08" "<base64>"))
#define STR_base64_end   (BIGSTRING ("\x09" "</base64>"))
#define STR_value_begin   (BIGSTRING ("\x07" "<value>"))
#define STR_value_end   (BIGSTRING ("\x08" "</value>"))
#define STR_array_begin   (BIGSTRING ("\x07" "<array>"))
#define STR_array_end   (BIGSTRING ("\x08" "</array>"))
#define STR_data_begin   (BIGSTRING ("\x06" "<data>"))
#define STR_data_end   (BIGSTRING ("\x07" "</data>"))
#define STR_struct_begin   (BIGSTRING ("\x08" "<struct>"))
#define STR_struct_end   (BIGSTRING ("\x09" "</struct>"))
#define STR_member_begin   (BIGSTRING ("\x08" "<member>"))
#define STR_member_end   (BIGSTRING ("\x09" "</member>"))
#define STR_name_begin   (BIGSTRING ("\x06" "<name>"))
#define STR_name_end   (BIGSTRING ("\x07" "</name>"))
#define STR_struct   (BIGSTRING ("\x06" "struct"))
#define STR_member   (BIGSTRING ("\x06" "member"))
#define STR_base64   (BIGSTRING ("\x06" "base64"))
#define STR_array   (BIGSTRING ("\x05" "array"))
#define STR_value   (BIGSTRING ("\x05" "value"))
#define STR_data   (BIGSTRING ("\x04" "data"))
#define STR_name   (BIGSTRING ("\x04" "name"))
#define STR_contents   (BIGSTRING ("\x09" "/contents"))
#define STR_namespace   (BIGSTRING ("\x09" "namespace"))
#define STR_version   (BIGSTRING ("\x07" "version"))
#define STR_prefix   (BIGSTRING ("\x06" "prefix"))
#define STR_pcdata   (BIGSTRING ("\x07" "/pcdata"))
#define STR_cdata   (BIGSTRING ("\x06" "/cdata"))
#define STR_pi   (BIGSTRING ("\x03" "/pi"))
#define STR_doctype   (BIGSTRING ("\x08" "/doctype"))
#define STR_comment   (BIGSTRING ("\x08" "/comment"))
#define STR_xmldecl   (BIGSTRING ("\x04" "?xml"))
#define STR_xmlversion   (BIGSTRING ("\x15" "<?xml version=\"1.0\"?>"))
#define STR_xmlnamespace   (BIGSTRING ("\x0e" "?xml:namespace"))
#define STR_endtag   (BIGSTRING ("\x01" ">"))
#define STR_startCDATA   (BIGSTRING ("\x09" "<![CDATA["))
#define STR_endCDATA   (BIGSTRING ("\x03" "]]>"))
#define STR_startcomment   (BIGSTRING ("\x04" "<!--"))
#define STR_endcomment   (BIGSTRING ("\x03" "-->"))
#define STR_startdoctype   (BIGSTRING ("\x0a" "<!DOCTYPE "))
#define STR_datetimeiso8601   (BIGSTRING ("\x10" "dateTime.iso8601"))
#define STR_cantendwithLT   (BIGSTRING ("\x1d" "can't end the text with a '<'"))
#define STR_didntfindGTafterLT   (BIGSTRING ("\x1d" "didn't find a '>' after a '<'"))
#define STR_tagmustbeofform   (BIGSTRING ("\x1f" "tag must be of the form <?xxx?>"))
#define STR_improperlyformatted   (BIGSTRING ("\x27" "string constant is improperly formatted"))
#define STR_itmustendwithtag   (BIGSTRING ("\x19" "it must end with a </tag>"))
#define STR_itcantendontag   (BIGSTRING ("\x17" "it can't end on a <tag>"))
#define STR_wewereexpecting   (BIGSTRING ("\x17" "we were expecting </^0>"))
#define STR_toomanytags   (BIGSTRING ("\x10" "too many </tag>s"))
#define STR_wewereexpectingtag   (BIGSTRING ("\x1d" "we were expecting a </^0> tag"))
#define STR_atcharacteroffset   (BIGSTRING ("\x14" " (At character #^0.)"))
#define STR_tablehasnosubs   (BIGSTRING ("\x1c" " the table has no sub-items."))
#define STR_user_protocols   (BIGSTRING ("\x0e" "user.protocols"))
#define STR_sys_protocols   (BIGSTRING ("\x12" "Frontier.protocols"))
#define STR_unknown_protocol   (BIGSTRING ("\x35" "Can't call \"^0\" because the \"^1\" protocol is unknown."))
#define STR_serverprefix   (BIGSTRING ("\x03" "://"))
#define STR_cant_decompile_empty_table   (BIGSTRING ("\x46" "Can't decompile the table to an XML string because the table is empty."))
#define serialinterval   1000
#define scriptError(n, s, x, pos)   do {langparamerrormessage (n, s, x, pos); goto exit;} while (0)
#define getchar(x)   ((*(*x).data) [(*x).pos])
#define nextchar(x)   ((*(*x).data) [(*x).pos+1])
#define getnextchar(x)   ((*(*x).data) [++(*x).pos])
#define compileall

Typedefs

typedef xmltokenptrxmltoken

Enumerations

enum  tyxmlverbtoken {
  xmladdtablefunc, xmladdvaluefunc, xmlcompilefunc, xmldecompilefunc,
  xmlgetaddressfunc, xmlgetaddresslistfunc, xmlgetattributefunc, xmlgetattributevaluefunc,
  xmlgetvaluefunc, xmlvaltostringfunc, xmlfrontiervaltotaggedtextfunc, xmlstructtofrontiervaluefunc,
  xmlgetpathaddressfunc, xmlconverttodisplaynamefunc, ctxmlverbs
}

Functions

static boolean xmlvaltostring (tyvaluerecord xmlval, short indentlevel, boolean fltranslatestrings, Handle *string)
static boolean xmlfrontiervaltotaggedtext (tyvaluerecord *val, short indentlevel, Handle *xmltext, hdlhashnode)
static boolean xmlstructtofrontiervalue (tyaddress *adrstruct, tyvaluerecord *v)
static boolean xmlgetaddress (hdlhashtable ht, bigstring name)
static boolean handlebeginswith (Handle h, bigstring bs)
static boolean handlecontains (Handle h, bigstring bs)
static boolean replaceallinstring (char chfind, bigstring bsreplace, bigstring bs)
boolean replaceallinhandle (bigstring bsfind, bigstring bsreplace, Handle htext)
static boolean trimtrailingwhitespace (Handle htext)
static boolean breakatfirstwhitespacechar (bigstring bs)
static boolean xmladdtaggedvalue (tyvaluerecord *val, short indentlevel, handlestream *sptr)
static boolean structtofrontiervalvisit (hdlhashnode hn, hdlhashtable htnew)
static boolean arraytofrontiervalvisit (hdlhashnode hn, hdllistrecord hlist)
static boolean langfindnamedparam (hdltreenode hp1)
static boolean callprotocolhandler (hdlhashtable hremotetable, bigstring bsprotocol, hdltreenode hcode, bigstring bsserver, bigstring bsfunction, hdltreenode hparam1, tyvaluerecord *vreturned)
static boolean parseremotefunction (bigstring bs, ptrstring bsprotocol, ptrstring bsserver, short *port)
static boolean findoneprotocolhandler (hdlhashtable hlookin, bigstring bshandlertable, bigstring bsprotocol, hdlhashtable *hremotetable, hdltreenode *hcode)
static boolean findprotocolhandler (bigstring bsprotocol, hdlhashtable *hremotetable, hdltreenode *hcode)
boolean langisremotefunction (hdltreenode htree)
boolean langremotefunctioncall (hdltreenode htree, hdltreenode hparam1, tyvaluerecord *vreturned)
static boolean newxmltoken (xmltoken *token)
static void disposexmltoken (xmltoken *token)
static void assignxmltoken (xmltoken *totoken, xmltoken *fromtoken)
static boolean lookupstringvalue (hdlhashtable ht, const bigstring bs, bigstring value)
static boolean assigntokenstringvalue (hdlhashtable ht, const bigstring bs, xmltoken *value)
static boolean createtokentable (xmladdress *adrtable, xmltoken *token, hdlhashtable *newtable)
static boolean namenomad (xmladdress *nomad, bigstring name)
static long nextserialnum (hdlhashtable ht)
static boolean serialstring (hdlhashtable ht, bigstring serializedname)
static void getnewitemaddress (hdlhashtable ht, bigstring bs, xmladdress *adr)
static boolean assignemptytag (hdlhashtable htable, bigstring bstoken, xmltoken *tagtoken)
static boolean assignstringtag (hdlhashtable htable, bigstring bstoken, xmltoken *tagtoken, xmltoken *elementtoken)
static void langparamerrormessage (short num, const bigstring bs, const bigstring bs1, long pos)
static void push2digitnum (int n, bigstring s)
static void getiso8601datetimestring (unsigned long secs, bigstring bs)
static void setiso8601datetimestring (bigstring bsiso8601, unsigned long *secs)
static boolean findinhandlestream (handlestream *s, bigstring bsfind, boolean flunicase)
static boolean athandlestreamstring (handlestream *s, bigstring bs)
static boolean getnexttoken (handlestream *source, hdlhashtable namespaces, xmltoken *adrtoken)
boolean xmlcompile (Handle htext, xmladdress *xmladr)
boolean xmlgetname (bigstring bsname)
static boolean xmladdstring (bigstring bs, Handle h, short indentlevel, handlestream *xmltext)
boolean gethashnodetable (hdlhashnode hn, hdlhashtable *ht)
static boolean decompilespecialtable (hdlhashtable ht, Handle *hnamevalpairs, bigstring bsspecial, Handle *hspecial, boolean flwantleadingspace)
static boolean decompilevisit (hdlhashtable adrtable, bigstring nametable, short indentlevel, handlestream *xmltext)
static boolean xmldecompile (hdlhashtable hxmltable, Handle *htext)
boolean isxmlmatch (hdlhashnode hn, bigstring name)
static void xmlmakenewaddress (hdlhashtable ht, bigstring name)
static boolean xmlgetaddresslist (hdlhashtable ht, bigstring name, boolean justone, hdllistrecord *hlist)
boolean xmlgetattribute (hdlhashtable ht, bigstring name, hdlhashtable *adratts)
static boolean xmlgetpathaddress (tyaddress *xtable, Handle h, tyaddress *adrresult, boolean *flvalid)
static boolean xmlconverttodisplayname (Handle h)
static boolean xmlcompileverb (hdltreenode hp1, tyvaluerecord *v)
static boolean xmldecompileverb (hdltreenode hp1, tyvaluerecord *v)
static boolean xmladdtableverb (hdltreenode hp1, tyvaluerecord *v)
static boolean xmladdvalueverb (hdltreenode hp1, tyvaluerecord *v)
static boolean xmlgetvalueverb (hdltreenode hp1, tyvaluerecord *v)
static boolean xmlgetaddressverb (hdltreenode hp1, tyvaluerecord *v)
static boolean xmlgetaddresslistverb (hdltreenode hp1, tyvaluerecord *v)
static boolean xmlgetattributeverb (hdltreenode hp1, tyvaluerecord *v)
static boolean xmlgetattributevalueverb (hdltreenode hp1, tyvaluerecord *v)
static boolean xmlvaltostringverb (hdltreenode hp1, tyvaluerecord *v)
static boolean xmlfrontiervaltotaggedtextverb (hdltreenode hp1, tyvaluerecord *v)
static boolean xmlstructtofrontiervalueverb (hdltreenode hp1, tyvaluerecord *v)
static boolean xmlfunctionvalue (short token, hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror)
boolean xmlinitverbs (void)


Define Documentation

#define compileall
 

Definition at line 1918 of file langxml.c.

#define getchar  )     ((*(*x).data) [(*x).pos])
 

Referenced by getnexttoken().

#define getnextchar  )     ((*(*x).data) [++(*x).pos])
 

#define nextchar  )     ((*(*x).data) [(*x).pos+1])
 

Referenced by getnexttoken().

#define notimplementederror   1
 

Definition at line 52 of file langxml.c.

#define scriptError n,
s,
x,
pos   )     do {langparamerrormessage (n, s, x, pos); goto exit;} while (0)
 

Definition at line 1541 of file langxml.c.

Referenced by getnexttoken(), and xmlcompile().

#define serialinterval   1000
 

Definition at line 1305 of file langxml.c.

Referenced by nextserialnum().

#define STR_array   (BIGSTRING ("\x05" "array"))
 

Definition at line 78 of file langxml.c.

Referenced by xmlstructtofrontiervalue().

#define STR_array_begin   (BIGSTRING ("\x07" "<array>"))
 

Definition at line 64 of file langxml.c.

Referenced by xmlfrontiervaltotaggedtext().

#define STR_array_end   (BIGSTRING ("\x08" "</array>"))
 

Definition at line 65 of file langxml.c.

Referenced by xmlfrontiervaltotaggedtext().

#define STR_atcharacteroffset   (BIGSTRING ("\x14" " (At character #^0.)"))
 

Definition at line 113 of file langxml.c.

Referenced by langparamerrormessage().

#define STR_atts   (BIGSTRING ("\x05" "/atts"))
 

Definition at line 54 of file langxml.c.

Referenced by createtokentable(), decompilevisit(), and xmlgetattribute().

#define STR_base64   (BIGSTRING ("\x06" "base64"))
 

Definition at line 77 of file langxml.c.

Referenced by xmlstructtofrontiervalue().

#define STR_base64_begin   (BIGSTRING ("\x08" "<base64>"))
 

Definition at line 60 of file langxml.c.

Referenced by xmlvaltostring().

#define STR_base64_end   (BIGSTRING ("\x09" "</base64>"))
 

Definition at line 61 of file langxml.c.

Referenced by xmlvaltostring().

#define STR_cant_decompile_empty_table   (BIGSTRING ("\x46" "Can't decompile the table to an XML string because the table is empty."))
 

Definition at line 120 of file langxml.c.

Referenced by xmldecompile().

#define STR_cantendwithLT   (BIGSTRING ("\x1d" "can't end the text with a '<'"))
 

Definition at line 104 of file langxml.c.

Referenced by getnexttoken().

#define STR_cdata   (BIGSTRING ("\x06" "/cdata"))
 

Definition at line 88 of file langxml.c.

Referenced by assignstringtag(), decompilevisit(), and xmlcompile().

#define STR_comment   (BIGSTRING ("\x08" "/comment"))
 

Definition at line 91 of file langxml.c.

Referenced by decompilevisit(), and xmlcompile().

#define STR_contents   (BIGSTRING ("\x09" "/contents"))
 

Definition at line 83 of file langxml.c.

Referenced by decompilevisit(), structtofrontiervalvisit(), and xmlgetvalueverb().

#define STR_data   (BIGSTRING ("\x04" "data"))
 

Definition at line 80 of file langxml.c.

Referenced by xmlstructtofrontiervalue().

#define STR_data_begin   (BIGSTRING ("\x06" "<data>"))
 

Definition at line 66 of file langxml.c.

Referenced by xmlfrontiervaltotaggedtext().

#define STR_data_end   (BIGSTRING ("\x07" "</data>"))
 

Definition at line 67 of file langxml.c.

Referenced by xmlfrontiervaltotaggedtext().

#define STR_datetimeiso8601   (BIGSTRING ("\x10" "dateTime.iso8601"))
 

Definition at line 103 of file langxml.c.

Referenced by xmlcompile(), and xmlvaltostring().

#define STR_didntfindGTafterLT   (BIGSTRING ("\x1d" "didn't find a '>' after a '<'"))
 

Definition at line 105 of file langxml.c.

Referenced by getnexttoken().

#define STR_doctype   (BIGSTRING ("\x08" "/doctype"))
 

Definition at line 90 of file langxml.c.

Referenced by decompilevisit(), and xmlcompile().

#define STR_endCDATA   (BIGSTRING ("\x03" "]]>"))
 

Definition at line 98 of file langxml.c.

Referenced by decompilevisit(), and getnexttoken().

#define STR_endcomment   (BIGSTRING ("\x03" "-->"))
 

Definition at line 100 of file langxml.c.

Referenced by decompilevisit(), and getnexttoken().

#define STR_endtag   (BIGSTRING ("\x01" ">"))
 

Definition at line 96 of file langxml.c.

Referenced by decompilevisit(), and getnexttoken().

#define STR_float   (BIGSTRING ("\x05" "float"))
 

Definition at line 58 of file langxml.c.

Referenced by xmlcompile().

#define STR_i1   (BIGSTRING ("\x02" "i1"))
 

Definition at line 57 of file langxml.c.

Referenced by xmlcompile().

#define STR_i2   (BIGSTRING ("\x02" "i2"))
 

Definition at line 56 of file langxml.c.

Referenced by xmlcompile().

#define STR_i4   (BIGSTRING ("\x02" "i4"))
 

Definition at line 55 of file langxml.c.

Referenced by xmlcompile(), and xmlvaltostring().

#define STR_improperlyformatted   (BIGSTRING ("\x27" "string constant is improperly formatted"))
 

Definition at line 107 of file langxml.c.

Referenced by getnexttoken().

#define STR_itcantendontag   (BIGSTRING ("\x17" "it can't end on a <tag>"))
 

Definition at line 109 of file langxml.c.

Referenced by xmlcompile().

#define STR_itmustendwithtag   (BIGSTRING ("\x19" "it must end with a </tag>"))
 

Definition at line 108 of file langxml.c.

Referenced by getnexttoken(), and xmlcompile().

#define STR_member   (BIGSTRING ("\x06" "member"))
 

Definition at line 76 of file langxml.c.

Referenced by structtofrontiervalvisit().

#define STR_member_begin   (BIGSTRING ("\x08" "<member>"))
 

Definition at line 70 of file langxml.c.

Referenced by xmlfrontiervaltotaggedtext().

#define STR_member_end   (BIGSTRING ("\x09" "</member>"))
 

Definition at line 71 of file langxml.c.

Referenced by xmlfrontiervaltotaggedtext().

#define STR_name   (BIGSTRING ("\x04" "name"))
 

Definition at line 81 of file langxml.c.

Referenced by structtofrontiervalvisit().

#define STR_name_begin   (BIGSTRING ("\x06" "<name>"))
 

Definition at line 72 of file langxml.c.

Referenced by xmlfrontiervaltotaggedtext().

#define STR_name_end   (BIGSTRING ("\x07" "</name>"))
 

Definition at line 73 of file langxml.c.

Referenced by xmlfrontiervaltotaggedtext().

#define STR_namespace   (BIGSTRING ("\x09" "namespace"))
 

Definition at line 84 of file langxml.c.

Referenced by decompilevisit(), and getnexttoken().

#define STR_pcdata   (BIGSTRING ("\x07" "/pcdata"))
 

Definition at line 87 of file langxml.c.

Referenced by assignemptytag(), assignstringtag(), decompilevisit(), structtofrontiervalvisit(), xmlcompile(), and xmlgetvalueverb().

#define STR_pi   (BIGSTRING ("\x03" "/pi"))
 

Definition at line 89 of file langxml.c.

Referenced by decompilevisit(), and getnexttoken().

#define STR_prefix   (BIGSTRING ("\x06" "prefix"))
 

Definition at line 86 of file langxml.c.

Referenced by xmlcompile().

#define STR_serverprefix   (BIGSTRING ("\x03" "://"))
 

Definition at line 119 of file langxml.c.

Referenced by parseremotefunction().

#define STR_startCDATA   (BIGSTRING ("\x09" "<![CDATA["))
 

Definition at line 97 of file langxml.c.

Referenced by decompilevisit(), and getnexttoken().

#define STR_startcomment   (BIGSTRING ("\x04" "<!--"))
 

Definition at line 99 of file langxml.c.

Referenced by decompilevisit(), and getnexttoken().

#define STR_startdoctype   (BIGSTRING ("\x0a" "<!DOCTYPE "))
 

Definition at line 101 of file langxml.c.

Referenced by decompilevisit(), and getnexttoken().

#define STR_struct   (BIGSTRING ("\x06" "struct"))
 

Definition at line 75 of file langxml.c.

Referenced by xmlstructtofrontiervalue().

#define STR_struct_begin   (BIGSTRING ("\x08" "<struct>"))
 

Definition at line 68 of file langxml.c.

Referenced by xmlfrontiervaltotaggedtext().

#define STR_struct_end   (BIGSTRING ("\x09" "</struct>"))
 

Definition at line 69 of file langxml.c.

Referenced by xmlfrontiervaltotaggedtext().

#define STR_sys_protocols   (BIGSTRING ("\x12" "Frontier.protocols"))
 

Definition at line 117 of file langxml.c.

Referenced by findprotocolhandler().

#define STR_tablehasnosubs   (BIGSTRING ("\x1c" " the table has no sub-items."))
 

Definition at line 114 of file langxml.c.

#define STR_tagmustbeofform   (BIGSTRING ("\x1f" "tag must be of the form <?xxx?>"))
 

Definition at line 106 of file langxml.c.

Referenced by getnexttoken().

#define STR_toomanytags   (BIGSTRING ("\x10" "too many </tag>s"))
 

Definition at line 111 of file langxml.c.

Referenced by xmlcompile().

#define STR_unknown_protocol   (BIGSTRING ("\x35" "Can't call \"^0\" because the \"^1\" protocol is unknown."))
 

Definition at line 118 of file langxml.c.

Referenced by langremotefunctioncall().

#define STR_user_protocols   (BIGSTRING ("\x0e" "user.protocols"))
 

Definition at line 116 of file langxml.c.

Referenced by findprotocolhandler().

#define STR_value   (BIGSTRING ("\x05" "value"))
 

Definition at line 79 of file langxml.c.

Referenced by arraytofrontiervalvisit(), and structtofrontiervalvisit().

#define STR_value_begin   (BIGSTRING ("\x07" "<value>"))
 

Definition at line 62 of file langxml.c.

Referenced by xmladdtaggedvalue().

#define STR_value_end   (BIGSTRING ("\x08" "</value>"))
 

Definition at line 63 of file langxml.c.

Referenced by xmladdtaggedvalue().

#define STR_version   (BIGSTRING ("\x07" "version"))
 

Definition at line 85 of file langxml.c.

Referenced by opxmltooutline(), and xmlcompile().

#define STR_wewereexpecting   (BIGSTRING ("\x17" "we were expecting </^0>"))
 

Definition at line 110 of file langxml.c.

Referenced by xmlcompile().

#define STR_wewereexpectingtag   (BIGSTRING ("\x1d" "we were expecting a </^0> tag"))
 

Definition at line 112 of file langxml.c.

Referenced by xmlcompile().

#define STR_xmldecl   (BIGSTRING ("\x04" "?xml"))
 

Definition at line 93 of file langxml.c.

Referenced by xmlcompile(), and xmldecompile().

#define STR_xmlnamespace   (BIGSTRING ("\x0e" "?xml:namespace"))
 

Definition at line 95 of file langxml.c.

Referenced by xmlcompile().

#define STR_xmlversion   (BIGSTRING ("\x15" "<?xml version=\"1.0\"?>"))
 

Definition at line 94 of file langxml.c.

Referenced by xmldecompile().

#define stringerrorlist   264
 

Definition at line 51 of file langxml.c.

Referenced by setTextEncodingConversionError().


Typedef Documentation

typedef struct xmltoken * ptrxmltoken
 


Enumeration Type Documentation

enum tyxmlverbtoken
 

Enumerator:
xmladdtablefunc 
xmladdvaluefunc 
xmlcompilefunc 
xmldecompilefunc 
xmlgetaddressfunc 
xmlgetaddresslistfunc 
xmlgetattributefunc 
xmlgetattributevaluefunc 
xmlgetvaluefunc 
xmlvaltostringfunc 
xmlfrontiervaltotaggedtextfunc 
xmlstructtofrontiervaluefunc 
xmlgetpathaddressfunc 
xmlconverttodisplaynamefunc 
ctxmlverbs 

Definition at line 123 of file langxml.c.


Function Documentation

static boolean arraytofrontiervalvisit hdlhashnode  hn,
hdllistrecord  hlist
[static]
 

Definition at line 749 of file langxml.c.

References bigstring, tyaddress::bs, equalstrings(), gethashkey, hashgetnthnode(), hnode, tyaddress::ht, langexternalvaltotable(), langpushlistval(), nil, nthword(), STR_value, stringfindchar(), and xmlstructtofrontiervalue().

Referenced by xmlstructtofrontiervalue().

Here is the call graph for this function:

static boolean assignemptytag hdlhashtable  htable,
bigstring  bstoken,
xmltoken tagtoken
[static]
 

Definition at line 1379 of file langxml.c.

References xmladdress::bs, createtokentable(), getnewitemaddress(), xmladdress::ht, langassignstringvalue(), nil, STR_pcdata, and zerostring.

Referenced by xmlcompile().

Here is the call graph for this function:

static boolean assignstringtag hdlhashtable  htable,
bigstring  bstoken,
xmltoken tagtoken,
xmltoken elementtoken
[static]
 

Definition at line 1410 of file langxml.c.

References assigntokenstringvalue(), xmladdress::bs, createtokentable(), getnewitemaddress(), xmladdress::ht, nil, STR_cdata, and STR_pcdata.

Referenced by xmlcompile().

Here is the call graph for this function:

static boolean assigntokenstringvalue hdlhashtable  ht,
const bigstring  bs,
xmltoken value
[static]
 

Definition at line 1209 of file langxml.c.

References exemptfromtmpstack(), fl, hashtableassign(), nil, setheapvalue(), and stringvaluetype.

Referenced by assignstringtag(), and xmlcompile().

Here is the call graph for this function:

static void assignxmltoken xmltoken totoken,
xmltoken fromtoken
[static]
 

Definition at line 1167 of file langxml.c.

References clearbytes(), disposexmltoken(), and totoken.

Referenced by xmlcompile().

Here is the call graph for this function:

static boolean athandlestreamstring handlestream s,
bigstring  bs
[static]
 

Definition at line 1560 of file langxml.c.

References bigstring, equalidentifiers(), loadfromhandle(), setstringlength, and stringlength.

Referenced by getnexttoken().

Here is the call graph for this function:

static boolean breakatfirstwhitespacechar bigstring  bs  )  [static]
 

Definition at line 290 of file langxml.c.

References i, setstringlength, and stringlength.

Referenced by getnexttoken().

static boolean callprotocolhandler hdlhashtable  hremotetable,
bigstring  bsprotocol,
hdltreenode  hcode,
bigstring  bsserver,
bigstring  bsfunction,
hdltreenode  hparam1,
tyvaluerecord vreturned
[static]
 

Definition at line 901 of file langxml.c.

References error, fl, hcode, langfindnamedparam(), langpushlistval(), langrunscriptcode(), makelistvalue(), makerecordvalue(), nil, opdisposelist(), opnewlist(), setheapvalue(), and setstringvalue().

Referenced by langremotefunctioncall().

Here is the call graph for this function:

static boolean createtokentable xmladdress adrtable,
xmltoken token,
hdlhashtable newtable
[static]
 

Definition at line 1250 of file langxml.c.

References hashtableassign(), langassignnewtablevalue(), nil, and STR_atts.

Referenced by assignemptytag(), assignstringtag(), and xmlcompile().

Here is the call graph for this function:

static boolean decompilespecialtable hdlhashtable  ht,
Handle hnamevalpairs,
bigstring  bsspecial,
Handle hspecial,
boolean  flwantleadingspace
[static]
 

Definition at line 2529 of file langxml.c.

References BIGSTRING, bigstring, coercetostring(), copyvaluerecord(), tyvaluerecord::data, dbpopdatabase(), dbpushdatabase(), disposehandle(), disposevaluerecord(), equalidentifiers(), exemptfromtmpstack(), fl, gethashkey, insertchar(), newtexthandle(), nil, novaluetype, pushhandle(), pushstring(), pushtexthandle(), tyhashnode::sortedlink, tyvaluedata::stringvalue, tablegetdatabase(), and tyvaluerecord::valuetype.

Referenced by decompilevisit().

Here is the call graph for this function:

static boolean decompilevisit hdlhashtable  adrtable,
bigstring  nametable,
short  indentlevel,
handlestream xmltext
[static]
 

Definition at line 2598 of file langxml.c.

References BIGSTRING, bigstring, chspace, coercetostring(), copyvaluerecord(), tyvaluerecord::data, decompilespecialtable(), disposehandle(), disposevaluerecord(), equalidentifiers(), exemptfromtmpstack(), fl, flcomment, gethashkey, gethashnodetable(), hashresolvevalue(), hashtablelookupnode(), idtableprocessor, insertchar(), insertinhandle(), langexternalgettype(), newtexthandle(), nil, parsedialogstring(), pushchar(), pushhandle(), pushstring(), pushtexthandle(), tyhashnode::sortedlink, STR_atts, STR_cdata, STR_comment, STR_contents, STR_doctype, STR_endCDATA, STR_endcomment, STR_endtag, STR_namespace, STR_pcdata, STR_pi, STR_startCDATA, STR_startcomment, STR_startdoctype, stringlength, tyvaluedata::stringvalue, xmladdstring(), xmlgetname(), and xmlvaltostring().

Referenced by xmldecompile().

Here is the call graph for this function:

static void disposexmltoken xmltoken token  )  [static]
 

Definition at line 1155 of file langxml.c.

References clearbytes(), disposehandle(), disposevaluerecord(), and nil.

Referenced by assignxmltoken(), getnexttoken(), and xmlcompile().

Here is the call graph for this function:

static boolean findinhandlestream handlestream s,
bigstring  bsfind,
boolean  flunicase
[static]
 

Definition at line 1544 of file langxml.c.

References textpatternmatch().

Referenced by getnexttoken().

Here is the call graph for this function:

static boolean findoneprotocolhandler hdlhashtable  hlookin,
bigstring  bshandlertable,
bigstring  bsprotocol,
hdlhashtable hremotetable,
hdltreenode hcode
[static]
 

Definition at line 1000 of file langxml.c.

References disablelangerror(), enablelangerror(), fl, hashtablelookup(), hcode, hnode, langfastaddresstotable(), langfollowifaddressvalue(), and langvaltocode().

Referenced by findprotocolhandler().

Here is the call graph for this function:

static boolean findprotocolhandler bigstring  bsprotocol,
hdlhashtable hremotetable,
hdltreenode hcode
[static]
 

Definition at line 1034 of file langxml.c.

References builtinstable, findoneprotocolhandler(), hcode, roottable, STR_sys_protocols, and STR_user_protocols.

Referenced by langremotefunctioncall().

Here is the call graph for this function:

boolean gethashnodetable hdlhashnode  hn,
hdlhashtable ht
 

Definition at line 2511 of file langxml.c.

References bigstring, cantdecompilerror, gethashkey, langexternalvaltotable(), langgetmiscstring(), langparamerror(), nil, and nilstring.

Referenced by decompilevisit(), opxmlfindtableitem(), opxmltooutline(), opxmltooutlinevisit(), and xmldecompile().

Here is the call graph for this function:

static void getiso8601datetimestring unsigned long  secs,
bigstring  bs
[static]
 

Definition at line 1483 of file langxml.c.

References push2digitnum(), pushchar(), secondstodatetime(), and shorttostring().

Referenced by xmlvaltostring().

Here is the call graph for this function:

static void getnewitemaddress hdlhashtable  ht,
bigstring  bs,
xmladdress adr
[static]
 

Definition at line 1364 of file langxml.c.

References pushstring(), and serialstring().

Referenced by assignemptytag(), assignstringtag(), and xmlcompile().

Here is the call graph for this function:

static boolean getnexttoken handlestream source,
hdlhashtable  namespaces,
xmltoken adrtoken
[static]
 

Definition at line 1580 of file langxml.c.

References athandlestreameof(), athandlestreamstring(), badxmltexterror, BIGSTRING, bigstring, breakatfirstwhitespacechar(), bundle, copystring(), disposehandle(), disposexmltoken(), findinhandlestream(), firstword(), fl, getchar, gethandlesize(), gethandlestreamcharacter(), handlebeginswith(), handlecontains(), isemptystring, langassignstringvalue(), langassigntextvalue(), lasthandlestreamcharacter(), loadfromhandletohandle(), lookupstringvalue(), newtexthandle(), nextchar, nexthandlestreamcharacter(), nil, openhandlestream(), popfromhandle(), poptrailingwhitespace(), pullfromhandle(), pullfromhandlestream(), pushchar(), pushtexthandle(), readhandlestreamfield(), readhandlestreamfieldtohandle(), replaceallinhandle(), scriptError, sethandlesize(), skiphandlestreamwhitespace(), STR_cantendwithLT, STR_didntfindGTafterLT, STR_endCDATA, STR_endcomment, STR_endtag, STR_improperlyformatted, STR_itmustendwithtag, STR_namespace, STR_pi, STR_startCDATA, STR_startcomment, STR_startdoctype, STR_tagmustbeofform, stringlength, tablenewtablevalue(), texthandletostring(), textnthword(), and trimtrailingwhitespace().

Referenced by xmlcompile().

Here is the call graph for this function:

static boolean handlebeginswith Handle  h,
bigstring  bs
[static]
 

Definition at line 173 of file langxml.c.

References ct, gethandlesize(), and stringlength.

Referenced by getnexttoken().

Here is the call graph for this function:

static boolean handlecontains Handle  h,
bigstring  bs
[static]
 

Definition at line 201 of file langxml.c.

References gethandlesize(), and textpatternmatch().

Referenced by getnexttoken().

Here is the call graph for this function:

boolean isxmlmatch hdlhashnode  hn,
bigstring  name
 

Definition at line 3004 of file langxml.c.

References bigstring, equalstrings(), gethashkey, and nthword().

Referenced by opxmlfindtableitem(), opxmlgetonevalue(), opxmlheadexists(), xmlgetaddress(), and xmlgetaddresslist().

Here is the call graph for this function:

static boolean langfindnamedparam hdltreenode  hp1  )  [static]
 

Definition at line 887 of file langxml.c.

References fieldop, tytreenode::link, and nil.

Referenced by callprotocolhandler().

boolean langisremotefunction hdltreenode  htree  ) 
 

Definition at line 1053 of file langxml.c.

References bigstring, bracketop, dotop, evaluatereadonlyparam(), htree, tytreenode::param1, parseremotefunction(), and pullstringvalue().

Referenced by langhandlercall().

Here is the call graph for this function:

static void langparamerrormessage short  num,
const bigstring  bs,
const bigstring  bs1,
long  pos
[static]
 

Definition at line 1446 of file langxml.c.

References bigstring, getstringlist(), langerrorlist, langerrormessage(), nil, numbertostring(), parsedialogstring(), pushstring(), and STR_atcharacteroffset.

Here is the call graph for this function:

boolean langremotefunctioncall hdltreenode  htree,
hdltreenode  hparam1,
tyvaluerecord vreturned
 

Definition at line 1086 of file langxml.c.

References bigstring, callprotocolhandler(), copystring(), dotop, findprotocolhandler(), hcode, htree, insertchar(), insertstring(), isemptystring, langerrormessage(), langgetidentifier(), nil, tytreenode::param1, parsedialogstring(), parseremotefunction(), setemptystring, and STR_unknown_protocol.

Referenced by langhandlercall().

Here is the call graph for this function:

static boolean lookupstringvalue hdlhashtable  ht,
const bigstring  bs,
bigstring  value
[static]
 

Definition at line 1177 of file langxml.c.

References assert, hashtablelookup(), hnode, pullstringvalue(), stringvaluetype, and tyvaluerecord::valuetype.

Referenced by getnexttoken(), and xmlcompile().

Here is the call graph for this function:

static boolean namenomad xmladdress nomad,
bigstring  name
[static]
 

Definition at line 1294 of file langxml.c.

References nthword().

Referenced by xmlcompile().

Here is the call graph for this function:

static boolean newxmltoken xmltoken token  )  [static]
 

Definition at line 1147 of file langxml.c.

References clearbytes().

Referenced by xmlcompile().

Here is the call graph for this function:

static long nextserialnum hdlhashtable  ht  )  [static]
 

Definition at line 1307 of file langxml.c.

References bigstring, firstword(), gethashkey, max, nil, serialinterval, tyhashnode::sortedlink, and stringtonumber().

Referenced by serialstring().

Here is the call graph for this function:

static boolean parseremotefunction bigstring  bs,
ptrstring  bsprotocol,
ptrstring  bsserver,
short port
[static]
 

Definition at line 960 of file langxml.c.

References deletestring(), equaltextidentifiers(), firstword(), isemptystring, midstring(), STR_serverprefix, and stringlength.

Referenced by langisremotefunction(), and langremotefunctioncall().

Here is the call graph for this function:

static void push2digitnum int  n,
bigstring  s
[static]
 

Definition at line 1470 of file langxml.c.

References bigstring, insertchar(), numbertostring(), pushstring(), and stringlength.

Referenced by getiso8601datetimestring().

Here is the call graph for this function:

boolean replaceallinhandle bigstring  bsfind,
bigstring  bsreplace,
Handle  htext
 

Definition at line 228 of file langxml.c.

References disposehandle(), fl, newtexthandle(), nil, and textfindreplace().

Referenced by getnexttoken(), opxmldecodetext(), opxmlencodetext(), and xmlvaltostring().

Here is the call graph for this function:

static boolean replaceallinstring char  chfind,
bigstring  bsreplace,
bigstring  bs
[static]
 

Definition at line 207 of file langxml.c.

References replacestring(), scanstring(), and stringlength.

Referenced by xmlgetname().

Here is the call graph for this function:

static boolean serialstring hdlhashtable  ht,
bigstring  serializedname
[static]
 

Definition at line 1339 of file langxml.c.

References BIGSTRING, insertchar(), nextserialnum(), numbertostring(), pushstring(), and stringlength.

Referenced by getnewitemaddress(), and xmlmakenewaddress().

Here is the call graph for this function:

static void setiso8601datetimestring bigstring  bsiso8601,
unsigned long secs
[static]
 

Definition at line 1512 of file langxml.c.

References bigstring, datetimetoseconds(), midstring(), and stringtoshort().

Referenced by xmlcompile().

Here is the call graph for this function:

static boolean structtofrontiervalvisit hdlhashnode  hn,
hdlhashtable  htnew
[static]
 

Definition at line 660 of file langxml.c.

References bigstring, tyaddress::bs, coercetostring(), copystring(), copyvaluerecord(), disposevaluerecord(), equalstrings(), exemptfromtmpstack(), gethashkey, hashgetnthnode(), hashtableassign(), hashtablelookup(), hnode, tyaddress::ht, langexternalvaltotable(), nthword(), pullstringvalue(), STR_contents, STR_member, STR_name, STR_pcdata, STR_value, stringfindchar(), stringvaluetype, xmlgetaddress(), and xmlstructtofrontiervalue().

Referenced by xmlstructtofrontiervalue().

Here is the call graph for this function:

static boolean trimtrailingwhitespace Handle  htext  )  [static]
 

Definition at line 251 of file langxml.c.

References chlinefeed, chreturn, chspace, chtab, gethandlesize(), and sethandlesize().

Referenced by getnexttoken().

Here is the call graph for this function:

static boolean xmladdstring bigstring  bs,
Handle  h,
short  indentlevel,
handlestream xmltext
[static]
 

Definition at line 2485 of file langxml.c.

References BIGSTRING, bigstring, filledstring(), fl, nil, writehandlestreamhandle(), and writehandlestreamstring().

Referenced by decompilevisit(), and xmldecompile().

Here is the call graph for this function:

static boolean xmladdtableverb hdltreenode  hp1,
tyvaluerecord v
[static]
 

Definition at line 3272 of file langxml.c.

References bigstring, flnextparamislast, getstringvalue(), gettablevalue(), langassignnewtablevalue(), setaddressvalue(), v, and xmlmakenewaddress().

Referenced by xmlfunctionvalue().

Here is the call graph for this function:

static boolean xmladdtaggedvalue tyvaluerecord val,
short  indentlevel,
handlestream sptr
[static]
 

Definition at line 388 of file langxml.c.

References assert, disposehandle(), HNoNode, inserttextinhandle(), nil, pushtexthandle(), STR_value_begin, STR_value_end, stringvaluetype, writehandlestreamhandleindent(), writehandlestreamstringindent(), and xmlfrontiervaltotaggedtext().

Referenced by xmlfrontiervaltotaggedtext().

Here is the call graph for this function:

static boolean xmladdvalueverb hdltreenode  hp1,
tyvaluerecord v
[static]
 

Definition at line 3301 of file langxml.c.

References bigstring, exemptfromtmpstack(), flnextparamislast, getparamvalue(), getstringvalue(), gettablevalue(), hashtableassign(), setaddressvalue(), v, and xmlmakenewaddress().

Referenced by xmlfunctionvalue().

Here is the call graph for this function:

boolean xmlcompile Handle  htext,
xmladdress xmladr
 

if (!closetoken.isTag || closetoken.openTag || !equalhandles (closetoken.tokenstring, token.tokenstring)) scriptError (badxmltexterror, STR_wewereexpecting, bstoken, closetoken.pos);

Definition at line 1920 of file langxml.c.

References assert, assignemptytag(), assignstringtag(), assigntokenstringvalue(), assignxmltoken(), badxmltexterror, BIGSTRING, bigstring, booleanvaluetype, xmladdress::bs, bstoken, coercevalue(), copyvaluerecord(), createtokentable(), debuggingcurrentprocess(), disposehashtable(), disposexmltoken(), doublevaluetype, equalhandles(), equalidentifiers(), equalstrings(), exemptfromtmpstack(), findinparenttable(), fl, getcurrentthread(), gethashkey, getnewitemaddress(), getnexttoken(), hashcountitems(), hashtableassign(), hashtabledelete(), hashtablelookup(), hnode, xmladdress::ht, inmainthread(), intvaluetype, isallnumeric(), langassignnewtablevalue(), langassignstringvalue(), longvaluetype, lookupstringvalue(), missingxmlattributeserror, namenomad(), newhashtable(), newxmltoken(), nil, novaluetype, openhandlestream(), processsleep(), pullstringvalue(), scriptError, setdatevalue(), setiso8601datetimestring(), setstringlength, STR_boolean, STR_cdata, STR_comment, STR_datetimeiso8601, STR_doctype, STR_double, STR_float, STR_i1, STR_i2, STR_i4, STR_int, STR_itcantendontag, STR_itmustendwithtag, STR_pcdata, STR_prefix, STR_string, STR_toomanytags, STR_version, STR_wewereexpecting, STR_wewereexpectingtag, STR_xmldecl, STR_xmlnamespace, stringlength, stringvaluetype, texthandletostring(), and zerostring.

Referenced by opxmltooutline(), and xmlcompileverb().

Here is the call graph for this function:

static boolean xmlcompileverb hdltreenode  hp1,
tyvaluerecord v
[static]
 

Definition at line 3223 of file langxml.c.

References xmladdress::bs, flnextparamislast, gettextvalue(), getvarparam(), xmladdress::ht, setbooleanvalue(), v, and xmlcompile().

Referenced by xmlfunctionvalue().

Here is the call graph for this function:

static boolean xmlconverttodisplayname Handle  h  )  [static]
 

Definition at line 3202 of file langxml.c.

References chtab, gethandlesize(), nil, and pullfromhandle().

Referenced by xmlfunctionvalue().

Here is the call graph for this function:

static boolean xmldecompile hdlhashtable  hxmltable,
Handle htext
[static]
 

Definition at line 2935 of file langxml.c.

References bigstring, chtab, closehandlestream(), handlestream::data, decompilevisit(), equalidentifiers(), findinparenttable(), fl, gethashkey, gethashnodetable(), langerrormessage(), nil, openhandlestream(), STR_cant_decompile_empty_table, STR_xmldecl, STR_xmlversion, stringfindchar(), xmladdstring(), and xmlgetname().

Referenced by xmldecompileverb().

Here is the call graph for this function:

static boolean xmldecompileverb hdltreenode  hp1,
tyvaluerecord v
[static]
 

Definition at line 3248 of file langxml.c.

References flnextparamislast, gettablevalue(), setheapvalue(), stringvaluetype, v, and xmldecompile().

Referenced by xmlfunctionvalue().

Here is the call graph for this function:

static boolean xmlfrontiervaltotaggedtext tyvaluerecord val,
short  indentlevel,
Handle xmltext,
hdlhashnode 
[static]
 

Definition at line 466 of file langxml.c.

References bigstring, disablelangerror(), disposehandle(), enablelangerror(), externalvaluetype, fl, gethashkey, hashgetnthnode(), hashresolvevalue(), hnode, inserttextinhandle(), langexternalvaltotable(), langgetlistitem(), langgetlistsize(), newtexthandle(), nil, openhandlestream(), pushtexthandle(), STR_array_begin, STR_array_end, STR_data_begin, STR_data_end, STR_member_begin, STR_member_end, STR_name_begin, STR_name_end, STR_struct_begin, STR_struct_end, v, writehandlestreamhandleindent(), writehandlestreamstringindent(), xmladdtaggedvalue(), and xmlvaltostring().

Referenced by xmladdtaggedvalue(), and xmlfrontiervaltotaggedtextverb().

Here is the call graph for this function:

static boolean xmlfrontiervaltotaggedtextverb hdltreenode  hp1,
tyvaluerecord v
[static]
 

Definition at line 3562 of file langxml.c.

References bigstring, flnextparamislast, getaddressparam(), getaddressvalue(), getlongvalue(), hnode, langhashtablelookup(), setheapvalue(), stringvaluetype, v, and xmlfrontiervaltotaggedtext().

Referenced by xmlfunctionvalue().

Here is the call graph for this function:

static boolean xmlfunctionvalue short  token,
hdltreenode  hparam1,
tyvaluerecord vreturned,
bigstring  bserror
[static]
 

Definition at line 3625 of file langxml.c.

References tyaddress::bs, disposehandle(), fl, flnextparamislast, getaddressparam(), getaddressvalue(), getexempttextvalue(), getreadonlytextvalue(), getstringlist(), tyaddress::ht, langassignaddressvalue(), langerrorlist, setbooleanvalue(), setheapvalue(), stringvaluetype, unimplementedverberror, v, xmladdtablefunc, xmladdtableverb(), xmladdvaluefunc, xmladdvalueverb(), xmlcompilefunc, xmlcompileverb(), xmlconverttodisplayname(), xmlconverttodisplaynamefunc, xmldecompilefunc, xmldecompileverb(), xmlfrontiervaltotaggedtextfunc, xmlfrontiervaltotaggedtextverb(), xmlgetaddressfunc, xmlgetaddresslistfunc, xmlgetaddresslistverb(), xmlgetaddressverb(), xmlgetattributefunc, xmlgetattributevaluefunc, xmlgetattributevalueverb(), xmlgetattributeverb(), xmlgetpathaddress(), xmlgetpathaddressfunc, xmlgetvaluefunc, xmlgetvalueverb(), xmlstructtofrontiervaluefunc, xmlstructtofrontiervalueverb(), xmlvaltostringfunc, and xmlvaltostringverb().

Referenced by xmlinitverbs().

Here is the call graph for this function:

static boolean xmlgetaddress hdlhashtable  ht,
bigstring  name
[static]
 

Definition at line 3028 of file langxml.c.

References cantgetxmladdresserror, gethashkey, isxmlmatch(), langparamerror(), nil, and tyhashnode::sortedlink.

Referenced by structtofrontiervalvisit(), xmlgetaddressverb(), xmlgetpathaddress(), xmlgetvalueverb(), and xmlstructtofrontiervalue().

Here is the call graph for this function:

static boolean xmlgetaddresslist hdlhashtable  ht,
bigstring  name,
boolean  justone,
hdllistrecord hlist
[static]
 

Definition at line 3052 of file langxml.c.

References bigstring, disposevaluerecord(), error, gethashkey, isxmlmatch(), langpushlistval(), nil, opdisposelist(), opnewlist(), setaddressvalue(), and tyhashnode::sortedlink.

Referenced by xmlgetaddresslistverb().

Here is the call graph for this function:

static boolean xmlgetaddresslistverb hdltreenode  hp1,
tyvaluerecord v
[static]
 

Definition at line 3402 of file langxml.c.

References bigstring, bserror, fllangerror, flnextparamislast, getbooleanvalue(), getstringlist(), getstringvalue(), getvarparam(), hnode, langerrormessage(), langgetparamcount(), langsymbolreference(), namenottableerror, nil, setheapvalue(), stringvaluetype, tableerrorlist, tablevaltotable(), v, tyvaluerecord::valuetype, and xmlgetaddresslist().

Referenced by xmlfunctionvalue().

Here is the call graph for this function:

static boolean xmlgetaddressverb hdltreenode  hp1,
tyvaluerecord v
[static]
 

Definition at line 3373 of file langxml.c.

References bigstring, flnextparamislast, getstringvalue(), gettablevalue(), setaddressvalue(), v, and xmlgetaddress().

Referenced by xmlfunctionvalue().

Here is the call graph for this function:

boolean xmlgetattribute hdlhashtable  ht,
bigstring  name,
hdlhashtable adratts
 

Definition at line 3099 of file langxml.c.

References cantfindattributeerror, hashtablelookup(), hashtablesymbolexists(), hnode, langexternalvaltotable(), langparamerror(), noattributestableerror, and STR_atts.

Referenced by opxmlgetattribute(), opxmlgetheadlinetextfromatts(), xmlgetattributevalueverb(), and xmlgetattributeverb().

Here is the call graph for this function:

static boolean xmlgetattributevalueverb hdltreenode  hp1,
tyvaluerecord v
[static]
 

Definition at line 3501 of file langxml.c.

References bigstring, copyvaluerecord(), flnextparamislast, getstringvalue(), gettablevalue(), hashtablelookup(), hnode, v, and xmlgetattribute().

Referenced by xmlfunctionvalue().

Here is the call graph for this function:

static boolean xmlgetattributeverb hdltreenode  hp1,
tyvaluerecord v
[static]
 

Definition at line 3470 of file langxml.c.

References bigstring, flnextparamislast, getstringvalue(), gettablevalue(), setaddressvalue(), v, and xmlgetattribute().

Referenced by xmlfunctionvalue().

Here is the call graph for this function:

boolean xmlgetname bigstring  bsname  ) 
 

Definition at line 2308 of file langxml.c.

References BIGSTRING, nthword(), replaceallinstring(), and stringfindchar().

Referenced by decompilevisit(), opbuttonsattach(), opxmltooutlinevisit(), and xmldecompile().

Here is the call graph for this function:

static boolean xmlgetpathaddress tyaddress xtable,
Handle  h,
tyaddress adrresult,
boolean flvalid
[static]
 

Definition at line 3133 of file langxml.c.

References assert, tyaddress::bs, disablelangerror(), enablelangerror(), fl, gethandlesize(), hashtablelookup(), hnode, tyaddress::ht, langexternalvaltotable(), lenbigstring, moveleft(), setstringlength, textnthword(), and xmlgetaddress().

Referenced by xmlfunctionvalue().

Here is the call graph for this function:

static boolean xmlgetvalueverb hdltreenode  hp1,
tyvaluerecord v
[static]
 

Definition at line 3336 of file langxml.c.

References bigstring, copyvaluerecord(), flnextparamislast, getstringvalue(), gettablevalue(), hashtablelookup(), hnode, langexternalvaltotable(), STR_contents, STR_pcdata, v, and xmlgetaddress().

Referenced by xmlfunctionvalue().

Here is the call graph for this function:

boolean xmlinitverbs void   ) 
 

Definition at line 3731 of file langxml.c.

References idxmlverbs, loadfunctionprocessor(), and xmlfunctionvalue().

Referenced by shellinit().

Here is the call graph for this function:

static void xmlmakenewaddress hdlhashtable  ht,
bigstring  name
[static]
 

Definition at line 3014 of file langxml.c.

References bigstring, insertstring(), and serialstring().

Referenced by xmladdtableverb(), and xmladdvalueverb().

Here is the call graph for this function:

static boolean xmlstructtofrontiervalue tyaddress adrstruct,
tyvaluerecord v
[static]
 

Definition at line 789 of file langxml.c.

References arraytofrontiervalvisit(), base64decodehandle(), bigstring, tyaddress::bs, coercetostring(), copystring(), copyvaluedata(), copyvaluerecord(), disposehandle(), equalstrings(), hashgetnthnode(), hnode, tyaddress::ht, langexternalvaltotable(), langhashtablelookup(), newemptyhandle(), nthword(), opnewlist(), pushvalueontmpstack(), setbinaryvalue(), setheapvalue(), STR_array, STR_base64, STR_data, STR_struct, stringfindchar(), structtofrontiervalvisit(), tablenewtablevalue(), v, and xmlgetaddress().

Referenced by arraytofrontiervalvisit(), structtofrontiervalvisit(), and xmlstructtofrontiervalueverb().

Here is the call graph for this function:

static boolean xmlstructtofrontiervalueverb hdltreenode  hp1,
tyvaluerecord v
[static]
 

Definition at line 3592 of file langxml.c.

References tyaddress::bs, disposevaluerecord(), exemptfromtmpstack(), getaddressparam(), getaddressvalue(), hashtableassign(), tyaddress::ht, setbooleanvalue(), v, and xmlstructtofrontiervalue().

Referenced by xmlfunctionvalue().

Here is the call graph for this function:

static boolean xmlvaltostring tyvaluerecord  xmlval,
short  indentlevel,
boolean  fltranslatestrings,
Handle string
[static]
 

Definition at line 2332 of file langxml.c.

References assert, base64encodehandle(), BIGSTRING, bigstring, binaryvaluetype, booleanvaluetype, coercetolong(), coercetostring(), copystring(), copyvaluerecord(), tyvaluerecord::data, tyvaluedata::datevalue, datevaluetype, disposehandle(), doublevaluetype, exemptfromtmpstack(), tyvaluerecord::fldiskval, frontierxmldatatypeerror, getiso8601datetimestring(), insertchar(), inserttextinhandle(), intvaluetype, langgettypestring(), langparamerror(), longvaluetype, midinsertstring(), newemptyhandle(), newtexthandle(), nil, parsedialogstring(), pushchar(), pushhandle(), pushtexthandle(), replaceallinhandle(), STR_base64_begin, STR_base64_end, STR_boolean, STR_datetimeiso8601, STR_double, STR_i4, tyvaluedata::stringvalue, stringvaluetype, and tyvaluerecord::valuetype.

Referenced by decompilevisit(), xmlfrontiervaltotaggedtext(), and xmlvaltostringverb().

Here is the call graph for this function:

static boolean xmlvaltostringverb hdltreenode  hp1,
tyvaluerecord v
[static]
 

Definition at line 3530 of file langxml.c.

References flnextparamislast, getlongvalue(), getparamvalue(), langgetparamcount(), setheapvalue(), stringvaluetype, v, and xmlvaltostring().

Referenced by xmlfunctionvalue().

Here is the call graph for this function:


Generated on Tue Jun 6 16:20:54 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6