private void parseBracedPattern() {
    match(LBRACE, RelaxngBundle.message("relaxng.parse.error.lbrace-expected"));
    if (!parsePattern()) {
      error(RelaxngBundle.message("relaxng.parse.error.pattern-expected"));
    }
    match(RBRACE, RelaxngBundle.message("relaxng.parse.error.rbrace-expected"));
  }
private void parseBracedPattern()