Branch: Tag:

2002-11-17

2002-11-17 15:31:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added some documentation of UNDEFINED, this and this_program.

Rev: src/program.c:1.457

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: program.c,v 1.456 2002/11/14 14:48:54 grubba Exp $ + || $Id: program.c,v 1.457 2002/11/17 15:31:20 grubba Exp $   */      #include "global.h" - RCSID("$Id: program.c,v 1.456 2002/11/14 14:48:54 grubba Exp $"); + RCSID("$Id: program.c,v 1.457 2002/11/17 15:31:20 grubba Exp $");   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"
975:    return 0;   }    + /*! @decl constant UNDEFINED +  *! +  *! The undefined value; ie a zero for which @[zero_type()] returns 1. +  */ +    struct node_s *resolve_identifier(struct pike_string *ident);      struct node_s *find_module_identifier(struct pike_string *ident,
1103:    return 0;   }    + /*! @decl constant this +  *! +  *! Builtin constant that evaluates to the current object. +  *! +  *! @seealso +  *! @[this_program], @[this_object()] +  */ +  + /*! @decl constant this_program +  *! +  *! Builtin constant that evaluates to the current program. +  *! +  *! @seealso +  *! @[this], @[this_object()] +  */ +    /* If the identifier is recognized as one of the magic identifiers,    * like "this", "this_program" or "`->" when preceded by ::, then a    * suitable node is returned, NULL otherwise. inherit_num is -1 when