Pattern syntax tree