langtokens.h

Go to the documentation of this file.
00001 
00002 /*  $Id: langtokens.h 355 2005-01-11 22:48:55Z andreradke $    */
00003 
00004 /******************************************************************************
00005 
00006     UserLand Frontier(tm) -- High performance Web content management,
00007     object database, system-level and Internet scripting environment,
00008     including source code editing and debugging.
00009 
00010     Copyright (C) 1992-2004 UserLand Software, Inc.
00011 
00012     This program is free software; you can redistribute it and/or modify
00013     it under the terms of the GNU General Public License as published by
00014     the Free Software Foundation; either version 2 of the License, or
00015     (at your option) any later version.
00016 
00017     This program is distributed in the hope that it will be useful,
00018     but WITHOUT ANY WARRANTY; without even the implied warranty of
00019     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020     GNU General Public License for more details.
00021 
00022     You should have received a copy of the GNU General Public License
00023     along with this program; if not, write to the Free Software
00024     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00025 
00026 ******************************************************************************/
00027 
00028 #define langtokensinclude
00029 
00030 
00031 
00032 /*
00033 DW 3/20/90:
00034 
00035 this file isolates the declarations of the language's verbs.  an earlier version 
00036 had these declarations in lang.h.  but about 30 files include lang.h, so adding
00037 a new verb required all of these to be recompiled.  too bad only two files really
00038 care about the token value -- lang.c and langvalue.c.
00039 
00040 so we split the declaration of tyfunctype off into this file.  makes it possible
00041 to add verbs when there's nothing to do in the kitchen or the yard!
00042 */
00043 
00044 
00045 
00046 
00047 typedef enum tyfunctype {
00048     
00049     appleeventfunc,
00050     
00051     complexeventfunc,
00052     
00053     findereventfunc,
00054     
00055     tableeventfunc,
00056     
00057     objspecfunc,
00058     
00059     setobjspecfunc,
00060     
00061     packfunc,
00062     
00063     unpackfunc,
00064     
00065     definedfunc,
00066     
00067     typeoffunc,
00068     
00069     sizeoffunc,
00070     
00071     nameoffunc,
00072     
00073     parentoffunc,
00074 
00075     indexoffunc,
00076     
00077     gestaltfunc,
00078     
00079     syscrashfunc,
00080     
00081     myMooffunc,
00082     
00083     equalsfunc = 400, /*must agree with numbers in langparser.y*/
00084     
00085     notequalsfunc = 401,
00086     
00087     greaterthanfunc = 402,
00088     
00089     lessthanfunc = 403,
00090     
00091     greaterthanorequalfunc = 404,
00092     
00093     lessthanorequalfunc = 405,
00094     
00095     notfunc = 406,
00096     
00097     andfunc = 407,
00098     
00099     orfunc = 408,
00100     
00101     beginswithfunc = 409,
00102     
00103     endswithfunc = 410,
00104     
00105     containsfunc = 411,
00106     
00107     loopfunc = 500,
00108     
00109     fileloopfunc = 501,
00110     
00111     infunc = 502,
00112      
00113     breakfunc = 503,
00114     
00115     returnfunc = 504,
00116     
00117     iffunc = 505,
00118     
00119     thenfunc = 506,
00120     
00121     elsefunc = 507,
00122     
00123     bundlefunc = 508,
00124     
00125     localfunc = 509,
00126     
00127     onfunc = 510,
00128     
00129     whilefunc = 511, 
00130     
00131     casefunc = 512,
00132     
00133     kernelfunc = 513,
00134     
00135     forfunc = 514,
00136     
00137     tofunc = 515,
00138     
00139     downtofunc = 516,
00140     
00141     continuefunc = 517,
00142     
00143     withfunc = 518,
00144     
00145     tryfunc = 519,
00146     
00147     globalfunc = 520
00148     
00149     } tyfunctype;
00150 
00151 

Generated on Wed May 31 18:19:53 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6