libcss
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
language.c File Reference
#include <assert.h>
#include <string.h>
#include <parserutils/utils/stack.h>
#include "stylesheet.h"
#include "lex/lex.h"
#include "parse/font_face.h"
#include "parse/important.h"
#include "parse/language.h"
#include "parse/mq.h"
#include "parse/parse.h"
#include "parse/propstrings.h"
#include "parse/properties/properties.h"
#include "parse/properties/utils.h"
#include "utils/parserutilserror.h"
#include "utils/utils.h"

Classes

struct  context_entry
 

Typedefs

typedef struct context_entry context_entry
 

Functions

css_error css__language_create (css_stylesheet *sheet, css_parser *parser, void **language)
 
css_error css__language_destroy (css_language *language)
 

Typedef Documentation

◆ context_entry

typedef struct context_entry context_entry

Function Documentation

◆ css__language_create()

css_error css__language_create ( css_stylesheet sheet,
css_parser parser,
void **  language 
)

Create a CSS language parser

Parameters
sheetThe stylesheet object to parse for
parserThe core parser object to use
languagePointer to location to receive parser object
Returns
CSS_OK on success, CSS_BADPARM on bad parameters, CSS_NOMEM on memory exhaustion

◆ css__language_destroy()

css_error css__language_destroy ( css_language language)

Destroy a CSS language parser

Parameters
languageThe parser to destroy
Returns
CSS_OK on success, appropriate error otherwise