-
-
17 Dec 2009 07:27:04 UTC
- Development release
- Distribution: KinoSearch
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (5)
- Testers (41 / 0 / 8)
- Kwalitee
Bus factor: 0- License: perl_5
- Activity
24 month- Tools
- Download (810.65KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors- Marvin Humphrey <marvin at rectangular dot com>
- Dependencies
- JSON::XS
- Lingua::Stem::Snowball
- Lingua::StopWords
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Boilerplater::Type::Composite - A composite type, e.g. Obj**.
METHODS
new
my $type = Boilerplater::Type::Composite->new( specifier => 'char', # required indirection => undef, # default 0 array => '[]', # default undef, const => 1, # default undef );
specifier - The name of the type, not including any indirection or array subscripts. If the type begins with a capital letter, it will be assumed to be an object type.
indirection - integer indicating level of indirection. Example: the C type "float**" has a specifier of "float" and indirection 2.
array - A string describing an array postfix.
const - should be 1 if the type is const.
get_array
Accessor for the array string.
get_specifier
Overridden to return the child Type's specifier.
COPYRIGHT AND LICENSE
Copyright 2008-2009 Marvin Humphrey
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install KSx::Simple, copy and paste the appropriate command in to your terminal.
cpanm KSx::Simple
perl -MCPAN -e shell install KSx::Simple
For more information on module installation, please visit the detailed CPAN module installation guide.