docs: private void fromWindow(PatternDescrBuilder<?> pattern) throws RecognitionException {
          String window = "";
  
          match(input,
                  DRL6Lexer.ID,
                  DroolsSoftKeywords.WINDOW,
                  null,
                  DroolsEditorType.KEYWORD);
          if (state.failed)
              return;
  
          Token id = match(input,
                  DRL6Lexer.ID,
                  null,
                  null,
                  DroolsEditorType.IDENTIFIER);
          if (state.failed)
              return;
          window = id.getText();
  
          if (state.backtracking == 0) {
              pattern.from().window(window);
              if (input.LA(1) != DRL6Lexer.EOF) {
                  helper.emit(Location.LOCATION_LHS_BEGIN_OF_CONDITION);
              }
          }
      }