ScriptParser.ParseLayoutPage
This is a helper function that ooks at the content page and retrieves the ScriptLayout directive, and then tries to the load the layout template.
The code then looks for the content page and merges the content page into layout template producing a single script that is assigned to context.Script.
If Layout lookup fails the existing context.Script (ie. the content page) is returned.
public void ParseLayoutPage(ScriptFileContext context)
Parameters
context