Changeset c14b554 in tol for toltcl/generic/toltclInt.h


Ignore:
Timestamp:
Oct 19, 2008, 5:56:30 PM (18 years ago)
Author:
Jorge Pérez <josp.jorge@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
ce06505
Parents:
6d7779d
Message:

merging from NameBlock/VMatrix branch

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@4 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • toltcl/generic/toltclInt.h

    r6d7779d rc14b554  
    285285int Tol_ParseDate(Tcl_Interp * interp, char * what, BDate & date);
    286286
    287 /*! return the set with name obj_name, in case of error return NULL
    288  *  and leave a description in obj_result. Also looks for files.
    289  */
    290 extern
    291 const BSyntaxObject * Tol_FindSet (Tcl_Obj * obj_name,
    292                                    Tcl_Obj * obj_result);
    293 
    294 /*! overloaded version to be used in case we need to know if the Set
    295     found is a SetFromFile or not */
    296 extern
    297 const BSyntaxObject * Tol_FindSet (Tcl_Obj * obj_name,
    298                                    Tcl_Obj * obj_result, int& is_file);
    299 
    300287/*!
    301288 *  Tol_ResolveObject --
    302289 *
    303  *     Resolve a SyntaxObject given a toltcl object reference. A reference is
    304  *     {setname i1 i2 ... in} or a global name
    305  *     setname is a global set name (including a file name) or, if empty, is
    306  *     stack's console. The grammar of the object found is matched to the
    307  *     given argument grammar. If the return value is NULL the corresponding
    308  *     message is left in interp.
    309  */
    310 const BSyntaxObject * Tol_ResolveObject(Tcl_Interp * interp,
    311                                         Tcl_Obj * obj_ref,
    312                                         BGrammar *  match_gra);
    313 
    314 /*! given a tol set in syn_obj, returns its child corresponding to
    315  *  the set of indexes indexes of size n.
    316  *  In case of error return NULL and leave a description in obj_result
    317  */
    318 extern
    319 const BSyntaxObject * Tol_FindChild ( Tcl_Interp *    interp,
    320                                       const BSyntaxObject * syn_obj,
    321                                       Tcl_Obj **      indexes, int n,
    322                                       Tcl_Obj *       obj_result);
     290 *     Resolve a SyntaxObject given a toltcl object reference. A
     291 *     reference is {TYPE ?container? i1 i2 ... in} or a global
     292 *     container's name of type File|Set|NameBlock|Console. When TYPE
     293 *     is Console then container is not given. The grammar of the
     294 *     object found is matched to the given argument grammar. If the
     295 *     return value is NULL an error message is left in interp.
     296 */
     297extern
     298const BSyntaxObject * Tol_ResolveObject(Tcl_Interp *interp,
     299                                        Tcl_Obj    *obj_ref,
     300                                        Tcl_Obj    *obj_result/*,
     301                                        BGrammar   *grammar=NULL*/);
    323302
    324303extern
Note: See TracChangeset for help on using the changeset viewer.