scope


Description:

public void scope (string fragment, owned LoaderCallback loader)

Add a fragment to the scope stack and nest a router in this new environment.

Scoping will only work with rules and regular expressions.

Parameters:

fragment

fragment to push on the scopes stack

loader

nests a router in the new scoped environment