langcallbacks.c File Reference

#include "frontier.h"
#include "standard.h"
#include "strings.h"
#include "lang.h"
#include "langinternal.h"
#include "shell.h"
#include "memory.h"

Include dependency graph for langcallbacks.c:

Go to the source code of this file.

Functions

boolean langpushlocalchain (hdlhashtable *htable)
boolean langpoplocalchain (hdlhashtable hcheck)
boolean langbackgroundtask (boolean flresting)
boolean languserescaped (boolean flchecknow)
boolean langdebuggercall (hdltreenode hnode)
boolean langsaveglobals (void)
boolean langrestoreglobals (void)
boolean langpushsourcecode (hdlhashtable htable, hdlhashnode hnode, bigstring bs)
boolean langpopsourcecode (void)
boolean langerrormessage (bigstring bs)
boolean langerrorclear (void)
boolean langcompilescript (hdlhashnode hnode, hdltreenode *hcode)
void langsymbolchanged (hdlhashtable htable, const bigstring bs, hdlhashnode hnode, boolean flvalue)
void langsymbolinserted (hdlhashtable htable, const bigstring bsname, hdlhashnode hnode)
void langsymbolunlinking (hdlhashtable htable, hdlhashnode hnode)
void langsymboldeleted (hdlhashtable htable, const bigstring bsname)
boolean langpartialeventloop (short desiredevents)

Variables

boolean flerrorscriptrunning = false


Function Documentation

boolean langbackgroundtask boolean  flresting  ) 
 

Definition at line 87 of file langcallbacks.c.

References assert, tylangcallbacks::backgroundtaskcallback, fl, flbreak, and langcallbacks.

boolean langcompilescript hdlhashnode  hnode,
hdltreenode hcode
 

Definition at line 244 of file langcallbacks.c.

References hcode, hnode, langcallbacks, and tylangcallbacks::scriptcompilecallback.

Referenced by langcallscriptwithaddress(), langipchandletrapverb(), langipcrunscript(), langrunscript(), opbutton(), opcompileverb(), opgetcodeverb(), and threadcallscriptverb().

boolean langdebuggercall hdltreenode  hnode  ) 
 

Definition at line 124 of file langcallbacks.c.

References assert, tylangcallbacks::debuggercallback, fl, flcontinue, h, hnode, and langcallbacks.

Referenced by evaluateforinloop(), evaluateforloop(), evaluateloop(), fileloopguts(), langaddlocals(), and langfunctioncall().

boolean langerrorclear void   ) 
 

Definition at line 236 of file langcallbacks.c.

References tylangcallbacks::clearerrorcallback, fllangerror, and langcallbacks.

Referenced by cmdiconhit(), langrun(), meuserselected(), processruntext(), scriptinstallbutton(), scriptnewprocess(), and scriptverifycompilation().

boolean langerrormessage bigstring  bs  ) 
 

Definition at line 203 of file langcallbacks.c.

References tylangcallbacks::errormessagecallback, tylangcallbacks::errormessagerefcon, fllangerror, langcallbacks, langerrorenabled(), and langseterrorcallbackline().

Referenced by builtinvalue(), callprocwithparams(), datedayofweektostring(), datemonthtostring(), getjpegheightwidthverb(), getoutlinevalue(), getsearchparams(), gettableparam(), hashreporterror(), intneterror(), kernelfunctionvalue(), lang3paramerror(), langerror(), langerrorhook(), langexternalsetreadonly(), langfunctionvalue(), langipcerrormessage(), langipcggettableparam(), langipchandlercall(), langipchandletrapverb(), langipckernelfunction(), langparamerrormessage(), langremotefunctioncall(), mrcalendargetfirstaddressverb(), mrcalendargetfirstday(), mrcalendargetlastaddressverb(), mrcalendargetlastday(), mrcalendargetmostrecentaddress(), mrcalendargetmostrecentdayverb(), mrcalendargetnextaddress(), mrcalendargetnextdayverb(), mrcalendarnavigateverb(), neterror(), odberror(), odbGetValue(), odbSetValue(), odbvaltotable(), opattributesgetpackedtablevalue(), openresourcefile(), openverb(), opfunctionvalue(), opxmltooutline(), osacomponenterror(), plainneterror(), setTextEncodingConversionError(), tableverbinmemory(), xmldecompile(), and xmlgetaddresslistverb().

Here is the call graph for this function:

boolean langpartialeventloop short  desiredevents  ) 
 

Definition at line 310 of file langcallbacks.c.

References langcallbacks, and tylangcallbacks::partialeventloopcallback.

Referenced by disposemodaldialog(), notifyuser(), prepuserforwait(), shellactivate(), shellclose(), and shellsysverbwaitroutine().

boolean langpoplocalchain hdlhashtable  hcheck  ) 
 

Definition at line 72 of file langcallbacks.c.

References assert, currenthashtable, fl, hcheck, langcallbacks, and tylangcallbacks::poptablecallback.

boolean langpopsourcecode void   ) 
 

Definition at line 185 of file langcallbacks.c.

References langcallbacks, and tylangcallbacks::popsourcecodecallback.

Referenced by langfunctioncall(), and langgetentrypoint().

boolean langpushlocalchain hdlhashtable htable  ) 
 

Definition at line 46 of file langcallbacks.c.

References disposehashtable(), fl, hmagictable, langcallbacks, nil, and tylangcallbacks::pushtablecallback.

Here is the call graph for this function:

boolean langpushsourcecode hdlhashtable  htable,
hdlhashnode  hnode,
bigstring  bs
 

Definition at line 179 of file langcallbacks.c.

References hnode, langcallbacks, and tylangcallbacks::pushsourcecodecallback.

Referenced by langfunctioncall(), and langgetentrypoint().

boolean langrestoreglobals void   ) 
 

Definition at line 173 of file langcallbacks.c.

References langcallbacks, and tylangcallbacks::restoreglobalscallback.

Referenced by filemenufunctionvalue().

boolean langsaveglobals void   ) 
 

Definition at line 167 of file langcallbacks.c.

References langcallbacks, and tylangcallbacks::saveglobalscallback.

Referenced by filemenufunctionvalue().

void langsymbolchanged hdlhashtable  htable,
const bigstring  bs,
hdlhashnode  hnode,
boolean  flvalue
 

Definition at line 250 of file langcallbacks.c.

References dirtyhashtable(), hashtablelookupnode(), hnode, HNoNode, langcallbacks, nil, and tylangcallbacks::symbolchangedcallback.

Referenced by addHeaderToTable(), assignordeletearrayvalue(), assignordeletevalue(), glossarypatcherverb(), hashassign(), hashsetnodekey(), inetdsupervisor(), langfunctionvalue(), setarrayelement(), and unionmatchesverb().

Here is the call graph for this function:

void langsymboldeleted hdlhashtable  htable,
const bigstring  bsname
 

Definition at line 303 of file langcallbacks.c.

References langcallbacks, and tylangcallbacks::symboldeletedcallback.

Referenced by hashdelete(), hashunlink(), and smashhashtable().

void langsymbolinserted hdlhashtable  htable,
const bigstring  bsname,
hdlhashnode  hnode
 

Definition at line 285 of file langcallbacks.c.

References hnode, langcallbacks, and tylangcallbacks::symbolinsertedcallback.

Referenced by hashinsertnode().

void langsymbolunlinking hdlhashtable  htable,
hdlhashnode  hnode
 

Definition at line 296 of file langcallbacks.c.

References hnode, langcallbacks, and tylangcallbacks::symbolunlinkingcallback.

Referenced by hashdelete(), hashunlink(), and smashhashtable().

boolean languserescaped boolean  flchecknow  ) 
 

Definition at line 114 of file langcallbacks.c.

References langcallbacks, and tylangcallbacks::scriptkilledcallback.

Referenced by extThreadSleep(), extThreadYield(), langrunmodeless(), osaclientactive(), osaclientsend(), osadebugger(), and scriptdebugger().


Variable Documentation

boolean flerrorscriptrunning = false
 

Definition at line 43 of file langcallbacks.c.


Generated on Fri Jun 2 22:26:48 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6