Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/intl/locale/tests/unit/     Datei vom 27.6.2026 mit Größe 1 kB image not shown  

Quelle  txPatternParser.h  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/. */


#ifndef TX_PATTERNPARSER_H
#define TX_PATTERNPARSER_H

#include "txExprParser.h"
#include "txXSLTPatterns.h"

class txStylesheetCompilerState;

class txPatternParser : public txExprParser {
 public:
  static nsresult createPattern(const nsString& aPattern,
                                txIParseContext* aContext, txPattern** aResult);

 protected:
  static nsresult createUnionPattern(txExprLexer& aLexer,
                                     txIParseContext* aContext,
                                     txPattern*& aPattern);
  static nsresult createLocPathPattern(txExprLexer& aLexer,
                                       txIParseContext* aContext,
                                       txPattern*& aPattern);
  static nsresult createIdPattern(txExprLexer& aLexer, txPattern*& aPattern);
  static nsresult createKeyPattern(txExprLexer& aLexer,
                                   txIParseContext* aContext,
                                   txPattern*& aPattern);
  static nsresult createStepPattern(txExprLexer& aLexer,
                                    txIParseContext* aContext,
                                    txPattern*& aPattern);
};

#endif  // TX_PATTERNPARSER_H

Messung
CHZG
889610094

¤ Dauer der Verarbeitung: 0.39 Sekunden  ¤

*© Formatika GbR, Deutschland