NAME

Farly::ASA::Annotator - Turn Token values into objects

DESCRIPTION

Farly::ASA::Annotator walks the Parse::RecDescent <autotree> parse tree searching for Token objects. Token objects are recognized by the presence of the '__VALUE__' key (see <autotree>). Farly::ASA::Annotator then converts Token object values into objects of a suitable class based on the class of the Token object. The value associated with the '__VALUE__' key is replaced with the new object.

Farly::ASA::Annotator dies on error.

Farly::ASA::Annotator is used by the Farly::ASA::Builder only.

COPYRIGHT AND LICENCE

Farly::ASA::Annotator Copyright (C) 2012 Trystan Johnson

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.