added a support to Parser and Functions for a parser enclosed by two parsers