results = transcode(transcoders, symbolTable, className, args, line, col, generateCode, source, context);
if (results != null) // else there was an error
{
if (results.defineTag != null) // else its a pure-code asset
{
unit.getAssets().add(className, new AssetInfo(results.defineTag,
results.assetSource, results.modified, args));
}
// Look for additional assets
List<Transcoder.TranscodingResults> additionalAssets = results.additionalAssets;
if (additionalAssets != null)
{
for (int i = 0; i < additionalAssets.size(); i++)
{
Transcoder.TranscodingResults asset = additionalAssets.get(i);
if (asset.defineTag != null)
unit.getAssets().add(asset.className, new AssetInfo(asset.defineTag, results.assetSource, results.modified, args));
}
}
}
}
else