Sha256: 120e60619e69de1d3f7b9c3223ad52fb413afc0ad5273bf4cabeb78fa054d9f7

Contents?: true

Size: 1.97 KB

Versions: 498

Compression:

Stored size: 1.97 KB

Contents

/*
 * Summary: Implementation of the XSLT number functions
 * Description: Implementation of the XSLT number functions
 *
 * Copy: See Copyright for the status of this software.
 *
 * Author: Bjorn Reese <breese@users.sourceforge.net> and Daniel Veillard
 */

#ifndef __XML_XSLT_NUMBERSINTERNALS_H__
#define __XML_XSLT_NUMBERSINTERNALS_H__

#include <libxml/tree.h>
#include "xsltexports.h"

#ifdef __cplusplus
extern "C" {
#endif

struct _xsltCompMatch;

/**
 * xsltNumberData:
 *
 * This data structure is just a wrapper to pass xsl:number data in.
 */
typedef struct _xsltNumberData xsltNumberData;
typedef xsltNumberData *xsltNumberDataPtr;

struct _xsltNumberData {
    const xmlChar *level;
    const xmlChar *count;
    const xmlChar *from;
    const xmlChar *value;
    const xmlChar *format;
    int has_format;
    int digitsPerGroup;
    int groupingCharacter;
    int groupingCharacterLen;
    xmlDocPtr doc;
    xmlNodePtr node;
    struct _xsltCompMatch *countPat;
    struct _xsltCompMatch *fromPat;

    /*
     * accelerators
     */
};

/**
 * xsltFormatNumberInfo,:
 *
 * This data structure lists the various parameters needed to format numbers.
 */
typedef struct _xsltFormatNumberInfo xsltFormatNumberInfo;
typedef xsltFormatNumberInfo *xsltFormatNumberInfoPtr;

struct _xsltFormatNumberInfo {
    int	    integer_hash;	/* Number of '#' in integer part */
    int	    integer_digits;	/* Number of '0' in integer part */
    int	    frac_digits;	/* Number of '0' in fractional part */
    int	    frac_hash;		/* Number of '#' in fractional part */
    int	    group;		/* Number of chars per display 'group' */
    int     multiplier;		/* Scaling for percent or permille */
    char    add_decimal;	/* Flag for whether decimal point appears in pattern */
    char    is_multiplier_set;	/* Flag to catch multiple occurences of percent/permille */
    char    is_negative_pattern;/* Flag for processing -ve prefix/suffix */
};

#ifdef __cplusplus
}
#endif
#endif /* __XML_XSLT_NUMBERSINTERNALS_H__ */

Version data entries

498 entries across 488 versions & 13 rubygems

Version Path
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/nokogiri-1.17.2-x86_64-darwin/ext/nokogiri/include/libxslt/numbersInternals.h
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.1.0/gems/nokogiri-1.16.7-x86_64-darwin/ext/nokogiri/include/libxslt/numbersInternals.h
nokogiri-1.18.2-x86_64-linux-musl ext/nokogiri/include/libxslt/numbersInternals.h
nokogiri-1.18.2-x86_64-linux-gnu ext/nokogiri/include/libxslt/numbersInternals.h
nokogiri-1.18.2-x86_64-darwin ext/nokogiri/include/libxslt/numbersInternals.h
nokogiri-1.18.2-x64-mingw-ucrt ext/nokogiri/include/libxslt/numbersInternals.h
nokogiri-1.18.2-arm-linux-musl ext/nokogiri/include/libxslt/numbersInternals.h
nokogiri-1.18.2-arm-linux-gnu ext/nokogiri/include/libxslt/numbersInternals.h
nokogiri-1.18.2-arm64-darwin ext/nokogiri/include/libxslt/numbersInternals.h
nokogiri-1.18.2-aarch64-linux-musl ext/nokogiri/include/libxslt/numbersInternals.h
nokogiri-1.18.2-aarch64-linux-gnu ext/nokogiri/include/libxslt/numbersInternals.h
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/nokogiri-1.16.6-x86_64-linux/ext/nokogiri/include/libxslt/numbersInternals.h
nokogiri-1.18.1-x86_64-linux-musl ext/nokogiri/include/libxslt/numbersInternals.h
nokogiri-1.18.1-x86_64-linux-gnu ext/nokogiri/include/libxslt/numbersInternals.h
nokogiri-1.18.1-x86_64-darwin ext/nokogiri/include/libxslt/numbersInternals.h
nokogiri-1.18.1-x64-mingw-ucrt ext/nokogiri/include/libxslt/numbersInternals.h
nokogiri-1.18.1-arm-linux-musl ext/nokogiri/include/libxslt/numbersInternals.h
nokogiri-1.18.1-arm-linux-gnu ext/nokogiri/include/libxslt/numbersInternals.h
nokogiri-1.18.1-arm64-darwin ext/nokogiri/include/libxslt/numbersInternals.h
nokogiri-1.18.1-aarch64-linux-musl ext/nokogiri/include/libxslt/numbersInternals.h