Any pattern definition can contain a reference to another pattern. A pattern that references another pattern is a parent of that pattern. A child pattern can, in turn, reference one or more other patterns. There is no practical limit to the number of generations of patterns (levels of nesting) that you can establish in this way. A pattern cannot, however, reference itself.