« blib/lib/XML/Grammar/Fiction/FromProto/Node/Saying.pm
↑ Summary
blib/lib/XML/Grammar/Fiction/FromProto/Parser.pm »
| 1 | package XML::Grammar::Fiction::FromProto::Node::Text; | ||
| 2 | 24 | $XML::Grammar::Fiction::FromProto::Node::Text::VERSION = '0.32.0'; | |
| 3 | 24 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 24 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 24 | ▶ | use MooX 'late'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 24 | extends("XML::Grammar::Fiction::FromProto::Node::WithContent"); | |
| 9 | |||
| 10 | |||
| 11 | sub get_text | ||
| 12 | 256 | ▶ | { |
|
Subroutine
get_text: called CC=1 SCAR=0.0
Pod
documented
| |||
| 13 | 256 | my ( $self, $re ) = @_; | |
| 14 | |||
| 15 | 256 | return $self->children->contents->[0]; | |
| 16 | } | ||
| 17 | |||
| 18 | 24 | 1; | |
| 19 | |||
| 20 | __END__ | ||