NAME
Boilerplater::File - A Boilerplater source file.
DESCRIPTION
An abstraction representing a file which contains Boilerplater code.
METHODS
new
my $file_obj = Boilerplater::File->new(
blocks => \@blocks,
source_class => 'Dog::Dalmation',
);
blocks - An arrayref. Each element must be either a Boilerplater::Class object or a literal C block.
source_class - The class name associated with the source file, regardless of how what classes are defined in the source file. Example: If source_class is "Foo::Bar", that implies that the source file could be found at 'Foo/Bar.bp' within the source directory and that the output C header file should be 'Foo/Bar.h' within the target include directory.
COPYRIGHT
Copyright 2008-2009 Marvin Humphrey
LICENSE, DISCLAIMER, BUGS, etc.
See KinoSearch version 0.30.