code: function _buildContext(filename, languageId) {
          var ctx = {};
          if (filename) {
              ctx.path = filename;
          } else {
              ctx.path = currentFilename;
          }
          if (languageId) {
              ctx.language = languageId;
          } else {
              ctx.language = currentLanguageId;
          }
          ctx.scopeOrder = _includeProjectScope(ctx.path) ?
                          scopeOrderWithProject :
                          scopeOrderWithoutProject;
          return ctx;
      }
docs: @private
  
  Creates a context based on the specified filename and language.
  
  @param {string=} filename Filename to create the context with.
  @param {string=} languageId Language ID to create the context with.