NAME
Farly::ASA::Generator - Create Farly::Objects from the AST
DESCRIPTION
Farly::ASA::Generator walks a Farly abstract syntax tree searching for Token value objects. Token objects are recognized by the presence of the '__VALUE__' key.
When a Token value object is found the AST node class is used as the Farly::Object key. The key and value object, from $node->{__VALUE__}, are then set in the new Farly::Object.
The new Farly::Object is stored in the container after the AST has been explored.
Farly::ASA::Generator dies on error.
Farly::ASA::Generator is used by the Farly::ASA::Builder only.
COPYRIGHT AND LICENCE
Farly::ASA::Generator 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/>.