NAME
Farly::ASA::Annotator - Map tokens to value 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 maps the Token object to a value object of suitable class based on the type of Token object. The scalar value associated with the token's '__VALUE__' key is replaced with the new value 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/>.