Added "Raw" to be able to get to raw parser output.
[dbsrgits/SQL-Translator.git] / lib / SQL / Translator / Producer / Raw.pm
1 package SQL::Translator::Producer::Raw;
2
3 # -------------------------------------------------------------------
4 # $Id: Raw.pm,v 1.1 2003-01-29 02:43:44 kycl4rk Exp $
5 # -------------------------------------------------------------------
6 # Copyright (C) 2002 Ken Y. Clark <kclark@cpan.org>,
7 #                    darren chamberlain <darren@cpan.org>
8 #
9 # This program is free software; you can redistribute it and/or
10 # modify it under the terms of the GNU General Public License as
11 # published by the Free Software Foundation; version 2.
12 #
13 # This program is distributed in the hope that it will be useful, but
14 # WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 # General Public License for more details.
17 #
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
21 # 02111-1307  USA
22 # -------------------------------------------------------------------
23
24 =head1 NAME
25
26 SQL::Translator::Producer::Raw - Raw output (data structure)
27
28 =head1 SYNOPSIS
29
30   use SQL::Translator::Producer::Raw;
31
32 =head1 DESCRIPTION
33
34 Returns a raw data structure from whatever parser was used.
35
36 =cut
37
38 use strict;
39 use vars qw[ $VERSION ];
40 $VERSION = sprintf "%d.%02d", q$Revision: 1.1 $ =~ /(\d+)\.(\d+)/;
41
42 # -------------------------------------------------------------------
43 sub produce {
44     my ( $translator, $data ) = @_;
45     return $data;
46 }
47
48 1;
49
50 # -------------------------------------------------------------------
51 # Something there is that doesn't love a wall.
52 # Robert Frost
53 # -------------------------------------------------------------------
54
55 =pod
56
57 =head1 AUTHOR
58
59 Ken Y. Clark E<lt>kclark@cpan.orgE<gt>
60
61 =cut