Ignore:
Timestamp:
Jul 27, 2006, 5:00:40 PM (14 years ago)
Author:
orlov
Message:
  • New RTS option -break -- for breaking in functions compiled with -dbg.
  • Table support for Values and Entries new library functions.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • to-imperative/trunk/runtime/rf_table.ih

    r1498 r2040  
    7171}
    7272
    73 inline Expr Table::domain ()
     73inline Expr Table::domain () const
    7474
    7575  Expr res = Expr();
    7676  if (root != TableNode::nil)
    7777    list_node(*root, res);   
     78  return res;
     79}
     80
     81inline Expr Table::values () const
     82
     83  Expr res = Expr();
     84  if (root != TableNode::nil)
     85    list_values(*root, res);   
     86  return res;
     87}
     88
     89inline Expr Table::entries () const
     90
     91  Expr res = Expr();
     92  if (root != TableNode::nil)
     93    list_entries(*root, res);   
    7894  return res;
    7995}
Note: See TracChangeset for help on using the changeset viewer.