Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


SSL txXSLTProcessor.cpp  Sprache: C


/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */


#include "txXSLTProcessor.h"

#include "txExecutionState.h"
#include "txExprResult.h"
#include "txInstructions.h"
#include "txLog.h"
#include "txStylesheetCompileHandlers.h"
#include "txStylesheetCompiler.h"

TX_LG_IMPL

/* static */
bool txXSLTProcessor::init() {
  TX_LG_CREATE;

  if (!txHandlerTable::init()) return false;

  extern bool TX_InitEXSLTFunction();
  if (!TX_InitEXSLTFunction()) return false;

  return true;
}

/* static */
void txXSLTProcessor::shutdown() { txHandlerTable::shutdown(); }

/* static */
nsresult txXSLTProcessor::execute(txExecutionState& aEs) {
  nsresult rv;
  do {
    mozilla::Result<txInstruction*, nsresult> result = aEs.getNextInstruction();
    if (result.isErr()) {
      return result.unwrapErr();
    }

    txInstruction* instr = result.unwrap();
    if (!instr) {
      return NS_OK;
    }

    rv = instr->execute(aEs);
  } while (NS_SUCCEEDED(rv));

  return rv;
}

Messung
CHZG
979810098

¤ Dauer der Verarbeitung: 0.3 Sekunden  (vorverarbeitet am  2026-11-25) ¤

*Bot Zugriff







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,189,248
#Domains=946,915