StateML/Class.pm

filter: Statementstmt 100% 8 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 10 / 10 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« StateML/Utils.pm ↑ Summary StateML/Constants.pm »
1 package StateML::Class;
2  
3 4 $VERSION = 0.000_1;
4  
5 =head1 NAME
6  
7 StateML::Class - An abstract class object for StateML
8  
9 =head1 SYNOPSIS
10  
11 =head1 DESCRIPTION
12  
13 StateML files (.stml files) support an instance-based inheritence scheme
14 that allows any object to inherit from one or more parent objects of
15 its type or of type <class>.
16  
17 The object <class> is an untyped base object that allows inheritance
18 from objects that may carry any attribute and which will not appear
19 on the graph.
20  
21 Someday, a <class> object may contain zero or one real objects which
22 will not appear on the graph but which carry attributes and values that
23 will be searched for.
24  
25 This takes effect for all scalar attributes at run-time (as opposed to
26 compile time).
27  
28 List attributes (<state><arc/><arc/>...</state>) are not affected
29 quite yet. Not sure how to allow mixins vs. replacements in
30 derived objects.
31  
32 The special class "#DEFAULT" is the base class of any object with no
33 explicit base classes.
34  
35 NOTE: Not all attributes are good about searching up the class hierarchy
36 at this time.
37  
38 =cut
39  
40 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
41  
42 4 ▶use base qw( StateML::Object ) ;
Subroutine BEGIN: called CC=1 SCAR=0.0
43  
44 =head1 LIMITATIONS
45  
46 =head1 COPYRIGHT
47  
48 Copyright 2003, R. Barrie Slaymaker, Jr., All Rights Reserved
49  
50 =head1 LICENSE
51  
52 You may use this module under the terms of the BSD, Artistic, or GPL licenses,
53 any version.
54  
55 =head1 AUTHOR
56  
57 Barrie Slaymaker <barries@slaysys.com>
58  
59 =cut
60  
61 4 1;
« StateML/Utils.pm ↑ Summary StateML/Constants.pm »