Kent Fredric

NAME

Gentoo::Dependency::AST::Node - An Abstract Syntax Tree Node

VERSION

version 0.001001

METHODS

add_dep

Tell $node that a dependency $dep_object has been seen.

    $node->add_dep( $state_object, $dep_object );

enter_notuse_group

Tell $node that a child !use? group $notuse_object has been seen, and pass tree construction to that object.

    $node->enter_notuse_group( $state_object, $notuse_object );

enter_use_group

Tell $node that a child use? group $use_object has been seen, and to pass tree construction to that object.

    $node->enter_use_group( $state_object, $use_object );

enter_or_group

Tell $node that a child || () group $or_object has been seen, and to pass tree construction to that object.

    $node->enter_or_group( $state_object, $or_object );

enter_and_group

Tell $node that a child () group $and_object has been seen, and to pass tree construction to that object.

    $node->enter_and_group( $state_object, $and_object );

exit_group

Tell $node that a group terminator has been seen, so finalize the present node, and defer tree construction to the parent object.

    $node->enter_and_group( $state_object );

ATTRIBUTES

children

Contains the child nodes of this node. May not be relevant for some node types.

AUTHOR

Kent Fredric <kentfredric@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Kent Fredric <kentfredric@gmail.com>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.