[Templates-cvs] cvs commit: TT3/lib/Template/TT3/Compiler TT3.pm

cvs@template-toolkit.org cvs@template-toolkit.org
Mon, 02 Feb 2004 10:03:19 +0000


cvs         04/02/02 10:03:19

  Added:       lib/Template/TT3/Compiler TT3.pm
  Log:
  * added custom compiler for TT3 language components
  
  Revision  Changes    Path
  1.1                  TT3/lib/Template/TT3/Compiler/TT3.pm
  
  Index: TT3.pm
  ===================================================================
  #========================================================================
  #
  # Template::TT3::Compiler::TT3
  #
  # DESCRIPTION
  #   Subclass of the compiler which defines the collection of modules
  #   specific to the TT3 template language.
  # 
  # AUTHOR
  #   Andy Wardley <abw@wardley.org>
  #
  # COPYRIGHT
  #   Copyright (C) 1996-2004 Andy Wardley.  All Rights Reserved.
  #   Copyright (C) 1998-2002 Canon Research Centre Europe Ltd.
  #   Copyright (C) 2003-2004 Fotango Ltd.
  #
  #   This module is free software; you can redistribute it and/or
  #   modify it under the same terms as Perl itself.
  #
  # REVISION
  #   $Id: TT3.pm,v 1.1 2004/02/02 10:03:19 abw Exp $
  #
  #========================================================================
  
  package Template::TT3::Compiler::TT3;
  
  use strict;
  use warnings;
  use Template::TT3::Compiler;
  use base qw( Template::TT3::Compiler );
  use vars qw( $VERSION $DEBUG $ERROR $GRAMMAR $TAGSET );
  
  $VERSION   = sprintf("%d.%02d", q$Revision: 1.1 $ =~ /(\d+)\.(\d+)/);
  $DEBUG     = 0 unless defined $DEBUG;
  $ERROR     = '';
  $GRAMMAR   = 'Template::TT3::Grammar::TT3';
  $TAGSET    = 'Template::TT3::Tagset::TT3';
  
  
  
  1;
  __END__
  
  =head1 NAME
  
  Template::TT3::* - TODO
  
  =head1 SYNOPSIS
  
      # TODO
  
  =head1 DESCRIPTION
  
  # TODO
  
  =head1 METHODS
  
  =head2 new()
  
  # TODO
  
  =head1 AUTHOR
  
  Andy Wardley  E<lt>abw@wardley.orgE<gt>
  
  =head1 VERSION
  
  $Revision: 1.1 $
  
  =head1 COPYRIGHT
  
    Copyright (C) 1996-2004 Andy Wardley.  All Rights Reserved.
    Copyright (C) 1998-2002 Canon Research Centre Europe Ltd.
    Copyright (C) 2003-2004 Fotango Ltd.
  
  This module is free software; you can redistribute it and/or
  modify it under the same terms as Perl itself.
  
  =cut
  
  # Local Variables:
  # mode: perl
  # perl-indent-level: 4
  # indent-tabs-mode: nil
  # End:
  #
  # vim: expandtab shiftwidth=4: