Synopses/S32/Rules
From perl6.cz
Contents |
TITLE
DRAFT: Synopsis 32: Setting Library - Rules
AUTHORS
Tim Nelson <wayland@wayland.id.au> Larry Wall <larry@wall.org>
VERSION
Created: 27 Feb 2009 Last Modified: 27 Feb 2009 Version: 1
The document is a draft.
If you read the HTML version, it is generated from the Pod in the pugs repository under /docs/Perl6/Spec/S32-setting-library/Rules.pod so edit it there in the SVN repository if you would like to make changes.
Roles
Regex
role Regex {...}
Match
role Match does Positional does Associative {
method Int from() {...}
method Int to() {...}
method Int chars() {...}
method orig() {...}
method ast() {...}
method caps() {...}
method chunks() {...}
method pos() {...}
method bool() {...}
method Str() {...}
method Num() {...}
}
Cursor
role Cursor {
method Int pos() {...}
method orig() {...}
}
Grammar
See Abstractions.pod
Additions
Please post errors and feedback to perl6-language. If you are making a general laundry list, please separate messages by topic.