The AST OO Layer


[ UpCommands | Sitemap ]      


The commands as described in the script library are a procedural interface to abstract syntax trees and their nodes. Access is done via tree handles (and node indices).

Through the use of command aliases an object oriented interface is available as well. So, under the assumption that

the mapping is defined as

Example

$node parent
==>
::parsetools::ast::NodeCmd $tree $n parent
==>
::parsetools::ast::Nparent $tree $n
	

© Andreas Kupries

Last update at Fri Apr 27 00:48:14 CEST 2001