File Coverage

blib/lib/Treex/Tool/Parser/MSTperl/RootNode.pm
Criterion Covered Total %
statement 1 3 33.3
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 2 4 50.0


line stmt bran cond sub pod time code
1             package Treex::Tool::Parser::MSTperl::RootNode;
2             {
3             $Treex::Tool::Parser::MSTperl::RootNode::VERSION = '0.11949';
4             }
5              
6 1     1   2275 use Moose;
  0            
  0            
7              
8             extends 'Treex::Tool::Parser::MSTperl::Node';
9              
10             has ord => (
11             isa => 'Int',
12             is => 'ro',
13             default => 0,
14             );
15              
16             has parent => (
17             isa => 'Maybe[Treex::Tool::Parser::MSTperl::Node]',
18             is => 'ro',
19             default => undef,
20             );
21              
22             has parentOrd => (
23             isa => 'Int',
24             is => 'rw',
25             default => -1,
26             );
27              
28             has label => (
29             isa => 'Str',
30             is => 'rw',
31             default => 'AuxS',
32             );
33              
34             1;
35              
36             __END__
37              
38             =pod
39              
40             =for Pod::Coverage BUILD
41              
42             =encoding utf-8
43              
44             =head1 NAME
45              
46             Treex::Tool::Parser::MSTperl::RootNode
47              
48             =head1 VERSION
49              
50             version 0.11949
51              
52             =head1 DESCRIPTION
53              
54             Represents the technical root of a sentence.
55              
56             =head1 FIELDS
57              
58             All fields are read-only and have the following values.
59             Root node can be easily recognized by its ord value C<0>.
60              
61             =over 4
62              
63             =item form =
64              
65             =item lemma =
66              
67             =item tag = '#root#'
68              
69             =item ord = 0
70              
71             =item parent = -1
72              
73             This should never be read.
74              
75             =item parentOrd = undef
76              
77             This should never be read.
78              
79             =back
80              
81             =head1 AUTHORS
82              
83             Rudolf Rosa <rosa@ufal.mff.cuni.cz>
84              
85             =head1 COPYRIGHT AND LICENSE
86              
87             Copyright © 2011 by Institute of Formal and Applied Linguistics, Charles
88             University in Prague
89              
90             This module is free software; you can redistribute it and/or modify it under
91             the same terms as Perl itself.