Eine aufbereitete Darstellung der Quelle

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


SSL txXSLTProcessor.cpp  Interaktion und
PortierbarkeitC


/* 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

¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.315Angebot  ¤

*Eine klare Vorstellung vom Zielzustand







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,189,247
#Domains=946,627