NAME
Treex::View::Node - This is Treex::Core::Node wrapper
SYNOPSIS
use Treex::View::Node;
my $root = Treex::View::Node->new( node => $treex_root );
DESCRIPTION
Wrapper around regular Treex::Core::Node to provide TO_JSON method used for converting Treex structure to simple Perl hashes and arrays.
IMPORTED CONSTANTS
- PML_STRUCTURE_DECL
- PML_CONTAINER_DECL
- PML_SEQUENCE_DECL
- PML_LIST_DECL
- PML_ALT_DECL
- PML_CDATA_DECL
- PML_CHOICE_DECL
- PML_CONSTANT_DECL
- PML_ELEMENT_DECL
METHODS
traverse_data
Will traverse data and dumps structures to hashes and arrays
TO_JSON
Called by JSON package while converting blessed items
AUTHOR
Michal Sedlak <sedlak@ufal.mff.cuni.cz>
COPYRIGHT AND LICENSE
Copyright (C) 2012 by Michal Sedlak
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.2 or, at your option, any later version of Perl 5 you may have available.
BUGS
None reported... yet.