globalText.append( " if cond:\n" );
globalText.append( " return on_true\n" );
globalText.append( " else:\n" );
globalText.append( " return on_false\n" );
Functions functions = rule.getRuleSet( ).getFunctions( "python" );
if ( functions != null )
{
globalText.append( stripOuterIndention( functions.getText( ) ) );
}
if ( this.globals == null )
{
this.globals = getGlobals( globalText.toString( ) );