As a performance optimization, allow hierarchical match.
eg.
if matches pattern 1, check 2 and 3
if matches pattern 4, check 5 and 6
The parent match can contribute to the match context and allow
progressively simpler (and fewer) patterns.
This will be especially useful for complex patterns in the namespace. They
can be matched once, and a child pattern used to distinguish the action
and/or method.
Original issue reported on code.google.com by
jeromyev...@gmail.comon 27 Apr 2008 at 4:01