diff src/ov-base.h @ 7336:745a8299c2b5

[project @ 2007-12-28 20:56:55 by jwe]
author jwe
date Fri, 28 Dec 2007 20:56:58 +0000
parents cbdee3da62bd
children 402168152bb9
line wrap: on
line diff
--- a/src/ov-base.h	Fri Feb 01 23:56:51 2008 -0500
+++ b/src/ov-base.h	Fri Dec 28 20:56:58 2007 +0000
@@ -222,6 +222,8 @@
 
   virtual bool is_map (void) const { return false; }
 
+  virtual bool is_object (void) const { return false; }
+
   virtual bool is_streamoff (void) const { return false; }
 
   virtual bool is_cs_list (void) const { return false; }
@@ -288,6 +290,10 @@
 
   virtual bool is_function (void) const { return false; }
 
+  virtual bool is_user_script (void) const { return false; }
+
+  virtual bool is_user_function (void) const { return false; }
+
   virtual bool is_builtin_function (void) const { return false; }
 
   virtual bool is_dld_function (void) const { return false; }
@@ -487,6 +493,10 @@
   DECLARE_OV_BASE_TYPEID_FUNCTIONS_AND_DATA
 };
 
+// If TRUE, turn off printing of results in functions (as if a
+// semicolon has been appended to each statement).
+extern bool Vsilent_functions;
+
 // TRUE means to perform automatic sparse to real mutation if there
 // is memory to be saved
 extern bool Vsparse_auto_mutate;