From: Ken Youens-Clark Date: Wed, 29 Jan 2003 02:43:44 +0000 (+0000) Subject: Added "Raw" to be able to get to raw parser output. X-Git-Tag: v0.01~28 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=34fa4956a8b18017ab1627ec00aa472fb95a1d35;p=dbsrgits%2FSQL-Translator.git Added "Raw" to be able to get to raw parser output. --- diff --git a/lib/SQL/Translator/Producer/Raw.pm b/lib/SQL/Translator/Producer/Raw.pm new file mode 100644 index 0000000..b11db28 --- /dev/null +++ b/lib/SQL/Translator/Producer/Raw.pm @@ -0,0 +1,61 @@ +package SQL::Translator::Producer::Raw; + +# ------------------------------------------------------------------- +# $Id: Raw.pm,v 1.1 2003-01-29 02:43:44 kycl4rk Exp $ +# ------------------------------------------------------------------- +# Copyright (C) 2002 Ken Y. Clark , +# darren chamberlain +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; version 2. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA +# ------------------------------------------------------------------- + +=head1 NAME + +SQL::Translator::Producer::Raw - Raw output (data structure) + +=head1 SYNOPSIS + + use SQL::Translator::Producer::Raw; + +=head1 DESCRIPTION + +Returns a raw data structure from whatever parser was used. + +=cut + +use strict; +use vars qw[ $VERSION ]; +$VERSION = sprintf "%d.%02d", q$Revision: 1.1 $ =~ /(\d+)\.(\d+)/; + +# ------------------------------------------------------------------- +sub produce { + my ( $translator, $data ) = @_; + return $data; +} + +1; + +# ------------------------------------------------------------------- +# Something there is that doesn't love a wall. +# Robert Frost +# ------------------------------------------------------------------- + +=pod + +=head1 AUTHOR + +Ken Y. Clark Ekclark@cpan.orgE + +=cut