Changeset c14b554 in tol for toltcl/generic/toltclInt.h
- Timestamp:
- Oct 19, 2008, 5:56:30 PM (18 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- ce06505
- Parents:
- 6d7779d
- File:
-
- 1 edited
-
toltcl/generic/toltclInt.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
toltcl/generic/toltclInt.h
r6d7779d rc14b554 285 285 int Tol_ParseDate(Tcl_Interp * interp, char * what, BDate & date); 286 286 287 /*! return the set with name obj_name, in case of error return NULL288 * and leave a description in obj_result. Also looks for files.289 */290 extern291 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 Set295 found is a SetFromFile or not */296 extern297 const BSyntaxObject * Tol_FindSet (Tcl_Obj * obj_name,298 Tcl_Obj * obj_result, int& is_file);299 300 287 /*! 301 288 * Tol_ResolveObject -- 302 289 * 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 */ 297 extern 298 const BSyntaxObject * Tol_ResolveObject(Tcl_Interp *interp, 299 Tcl_Obj *obj_ref, 300 Tcl_Obj *obj_result/*, 301 BGrammar *grammar=NULL*/); 323 302 324 303 extern
Note: See TracChangeset
for help on using the changeset viewer.
