Xss:class - xkp/Doc GitHub Wiki

In some cases (when you need recursion, for instance), code is not enough to represent the desired behavior. In such cases you can use methods, properties etc by using this tag. You will specify an entry point method that the system will call on you when its time.

Parameters:

  • entry_point: The name of the method to be called by the compiler.

Sample Usage:


<xss:class entry_point="do_stuff">
property name : string;

method do_stuff_to_object(var obj)
{
    name = obj.id;
    for(var child in obj.children)
    {
       do_stuff_to_object(child); 
    } 
}

method do_stuff()
{
    do_stuff_to_object(application);
}
</xss:class>
⚠️ **GitHub.com Fallback** ⚠️