| Renaming and Excluding

You can easily rename functions, classes, methods, attributes, etc. Just use the function `rename`, like this:

`

        World = Class("World", "hello.h")
        rename(World, "IWorld")
        show = Function("choice", "hello.h")
        rename(show, "Show")

`

You can rename methods and attributes using this syntax:

`

        rename(World.greet, "Greet")
        rename(World.set, "Set")
        choice = Enum("choice", "hello.h")
        rename(choice.red, "Red")
        rename(choice.blue, "Blue")

`

You can exclude functions, classes, methods, attributes, etc, in the same way, with the function `exclude`:

`

        exclude(World.greet)
        exclude(World.msg)

`

Easy, huh?

Copyright © 2003 Bruno da Silva de Oliveira
Copyright © 2002-2003 Joel de Guzman
Permission to copy, use, modify, sell and distribute this document is granted provided this copyright notice appears in all copies. This document is provided "as is" without express or implied warranty, and with no claim as to its suitability for any purpose.