Changeset 640ffe6 in mainline for uspace/dist/src/sysel/lib/boxed.sy


Ignore:
Timestamp:
2010-05-08T08:15:57Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4039c77
Parents:
1317380 (diff), 051bc69a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge from lp:~jsvoboda/helenos/sysel. New: cspan printing, boolean ops, enums, constructors etc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/dist/src/sysel/lib/boxed.sy

    r1317380 r640ffe6  
    4646class String is
    4747        var Value : string;
     48
     49        fun get_length() : int, builtin;
     50
     51        -- Length of string.
     52        prop Length : int is
     53                get is
     54                        return get_length();
     55                end
     56        end
     57
     58        -- Slice (sub-string).
     59        fun Slice(start : int; length : int) : string, builtin;
    4860end
Note: See TracChangeset for help on using the changeset viewer.