comparison Lib/IMPL/Text/Schema.pm @ 25:9dd67fa91ee3

small fix in the dom schema works under text schema
author Sergey
date Tue, 13 Oct 2009 17:51:25 +0400 (2009-10-13)
parents
children c529d386d80e
comparison
equal deleted inserted replaced
24:7f00786f8210 25:9dd67fa91ee3
1 package IMPL::Text::Schema;
2 use strict;
3 use warnings;
4
5 use base qw(IMPL::DOM::Schema);
6
7 __PACKAGE__->PassThroughArgs;
8
9 1;
10
11 __END__
12
13 =pod
14
15 =head1 SINOPSYS
16
17 <schema>
18 <ComplexNode name="syntax">
19 <Node name="Define" type="Statement" minOccur="1" maxOccur="unbounded">
20 <Property name="name" type="Word"/>
21 </Node>
22 </ComplexNode>
23 <ComplexType type="Statement" nativeType="IMPL::Text::Schema::Statement">
24 <NodeList>
25 <SwitchNode minOccur="1" maxOccur="unbounded">
26 <Node name="Word" type="Word"/>
27 <Node name="Statement" type="Word"/>
28 <Node name="Switch" type="Switch"/>
29 <Node name="List" type="List"/>
30 </SwitchNode>
31 </NodeList>
32 </ComplexType>
33 </schema>
34
35 =head1 DESCRIPTION
36
37 ����� ���������� �����, ������� ����� ������������ ��� ������� �����������
38 ���������� �����.
39
40 ����� ���������� ����� ������� �� ���������.
41 1. ���������� ��������� �������� ����������
42 2. ��������� �������� �������� ����������.
43 3. ��������� ������������ ����������� ����������� ����� ���������.
44
45 ����������� ��������� ���������
46 1. ������
47 2.
48
49 =head1 METHODS
50
51 =over
52
53 =item C<<$schema->compile()>>
54
55 ���������� ������ ��� ������� ������.
56
57 =back
58
59
60 =cut