docs: protected static SubstitutedLine doParse(String str, ParsingStateCallbackHandler callbackHandler, ParsingState initialState,
              boolean strict, boolean disableResolutionException, CommandContext cmdCtx) throws CommandFormatException {
  
          if (str == null || str.isEmpty()) {
              return new SubstitutedLine(str);
          }
  
          ParsingContextImpl ctx = new ParsingContextImpl();
          ctx.initialState = initialState;
          ctx.callbackHandler = callbackHandler;
          ctx.input = str;
          ctx.strict = strict;
          ctx.cmdCtx = cmdCtx;
          ctx.disableResolutionException = disableResolutionException;
  
          ctx.substitued.substitued = ctx.parse();
          return ctx.substitued;
      }