Debian Codegraph @

Embperl/Syntax/Text.pm

raw
1
2 ###################################################################################
3 #
4 # Embperl - Copyright (c) 1997-2008 Gerald Richter / ecos gmbh www.ecos.de
5 # Embperl - Copyright (c) 2008-2014 Gerald Richter
6 #
7 # You may distribute under the terms of either the GNU General Public
8 # License or the Artistic License, as specified in the Perl README file.
9 #
10 # THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
11 # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
12 # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13 #
14 # $Id: Text.pm 1578075 2014-03-16 14:01:14Z richter $
15 #
16 ###################################################################################
17
18 package Embperl::Syntax::Text ;
19
20 use Embperl::Syntax qw{:types} ;
21 use Embperl::Syntax ;
22
23 use strict ;
24 use vars qw{@ISA} ;
25
26 @ISA = qw(Embperl::Syntax) ;
27
28
29 ###################################################################################
30 #
31 # Methods
32 #
33 ###################################################################################
34
35 # ---------------------------------------------------------------------------------
36 #
37 # Create new Syntax Object
38 #
39 # ---------------------------------------------------------------------------------
40
41
42 sub new
43
44 {
45 my $class = shift ;
46
47 my $self = Embperl::Syntax::new ($class) ;
48
49 return $self ;
50 }
51
52
53
54
55 1;
56
57 __END__
58
59 =pod
60
61 =head1 NAME
62
63 Embperl::Syntax::Text - define text syntax for Embperl
64
65 =head1 SYNOPSIS
66
67 Execute ({inputfile => 'sometext.htm', syntax => 'Text'}) ;
68
69 =head1 DESCRIPTION
70
71 This syntax does simply literal pass the text thru. That's useful if you
72 want to include text, without any interpretation. (e.g. with EmbperlObject)
73
74 =head1 Author
75
76 Gerald Richter <richter at embperl dot org>
77
78 =head1 See Also
79
80 Embperl::Syntax
81
82
83 =cut
84
85