|
Packit Service |
7770af |
#ifndef SASS_CONSTANTS_H
|
|
Packit Service |
7770af |
#define SASS_CONSTANTS_H
|
|
Packit Service |
7770af |
|
|
Packit Service |
7770af |
namespace Sass {
|
|
Packit Service |
7770af |
namespace Constants {
|
|
Packit Service |
7770af |
|
|
Packit Service |
7770af |
// The maximum call stack that can be created
|
|
Packit Service |
7770af |
extern const unsigned long MaxCallStack;
|
|
Packit Service |
7770af |
|
|
Packit Service |
7770af |
// https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity
|
|
Packit Service |
7770af |
// The following list of selectors is by increasing specificity:
|
|
Packit Service |
7770af |
extern const unsigned long Specificity_Star;
|
|
Packit Service |
7770af |
extern const unsigned long Specificity_Universal;
|
|
Packit Service |
7770af |
extern const unsigned long Specificity_Element;
|
|
Packit Service |
7770af |
extern const unsigned long Specificity_Base;
|
|
Packit Service |
7770af |
extern const unsigned long Specificity_Class;
|
|
Packit Service |
7770af |
extern const unsigned long Specificity_Attr;
|
|
Packit Service |
7770af |
extern const unsigned long Specificity_Pseudo;
|
|
Packit Service |
7770af |
extern const unsigned long Specificity_ID;
|
|
Packit Service |
7770af |
|
|
Packit Service |
7770af |
// sass keywords
|
|
Packit Service |
7770af |
extern const char at_root_kwd[];
|
|
Packit Service |
7770af |
extern const char import_kwd[];
|
|
Packit Service |
7770af |
extern const char mixin_kwd[];
|
|
Packit Service |
7770af |
extern const char function_kwd[];
|
|
Packit Service |
7770af |
extern const char return_kwd[];
|
|
Packit Service |
7770af |
extern const char include_kwd[];
|
|
Packit Service |
7770af |
extern const char content_kwd[];
|
|
Packit Service |
7770af |
extern const char extend_kwd[];
|
|
Packit Service |
7770af |
extern const char if_kwd[];
|
|
Packit Service |
7770af |
extern const char else_kwd[];
|
|
Packit Service |
7770af |
extern const char if_after_else_kwd[];
|
|
Packit Service |
7770af |
extern const char for_kwd[];
|
|
Packit Service |
7770af |
extern const char from_kwd[];
|
|
Packit Service |
7770af |
extern const char to_kwd[];
|
|
Packit Service |
7770af |
extern const char through_kwd[];
|
|
Packit Service |
7770af |
extern const char each_kwd[];
|
|
Packit Service |
7770af |
extern const char in_kwd[];
|
|
Packit Service |
7770af |
extern const char while_kwd[];
|
|
Packit Service |
7770af |
extern const char warn_kwd[];
|
|
Packit Service |
7770af |
extern const char error_kwd[];
|
|
Packit Service |
7770af |
extern const char debug_kwd[];
|
|
Packit Service |
7770af |
extern const char default_kwd[];
|
|
Packit Service |
7770af |
extern const char global_kwd[];
|
|
Packit Service |
7770af |
extern const char null_kwd[];
|
|
Packit Service |
7770af |
extern const char optional_kwd[];
|
|
Packit Service |
7770af |
extern const char with_kwd[];
|
|
Packit Service |
7770af |
extern const char without_kwd[];
|
|
Packit Service |
7770af |
extern const char all_kwd[];
|
|
Packit Service |
7770af |
extern const char rule_kwd[];
|
|
Packit Service |
7770af |
|
|
Packit Service |
7770af |
// css standard units
|
|
Packit Service |
7770af |
extern const char em_kwd[];
|
|
Packit Service |
7770af |
extern const char ex_kwd[];
|
|
Packit Service |
7770af |
extern const char px_kwd[];
|
|
Packit Service |
7770af |
extern const char cm_kwd[];
|
|
Packit Service |
7770af |
extern const char mm_kwd[];
|
|
Packit Service |
7770af |
extern const char pt_kwd[];
|
|
Packit Service |
7770af |
extern const char pc_kwd[];
|
|
Packit Service |
7770af |
extern const char deg_kwd[];
|
|
Packit Service |
7770af |
extern const char rad_kwd[];
|
|
Packit Service |
7770af |
extern const char grad_kwd[];
|
|
Packit Service |
7770af |
extern const char turn_kwd[];
|
|
Packit Service |
7770af |
extern const char ms_kwd[];
|
|
Packit Service |
7770af |
extern const char s_kwd[];
|
|
Packit Service |
7770af |
extern const char Hz_kwd[];
|
|
Packit Service |
7770af |
extern const char kHz_kwd[];
|
|
Packit Service |
7770af |
|
|
Packit Service |
7770af |
// vendor prefixes
|
|
Packit Service |
7770af |
extern const char vendor_opera_kwd[];
|
|
Packit Service |
7770af |
extern const char vendor_webkit_kwd[];
|
|
Packit Service |
7770af |
extern const char vendor_mozilla_kwd[];
|
|
Packit Service |
7770af |
extern const char vendor_ms_kwd[];
|
|
Packit Service |
7770af |
extern const char vendor_khtml_kwd[];
|
|
Packit Service |
7770af |
|
|
Packit Service |
7770af |
// css functions and keywords
|
|
Packit Service |
7770af |
extern const char charset_kwd[];
|
|
Packit Service |
7770af |
extern const char media_kwd[];
|
|
Packit Service |
7770af |
extern const char supports_kwd[];
|
|
Packit Service |
7770af |
extern const char keyframes_kwd[];
|
|
Packit Service |
7770af |
extern const char only_kwd[];
|
|
Packit Service |
7770af |
extern const char rgb_kwd[];
|
|
Packit Service |
7770af |
extern const char url_kwd[];
|
|
Packit Service |
7770af |
// extern const char url_prefix_kwd[];
|
|
Packit Service |
7770af |
extern const char important_kwd[];
|
|
Packit Service |
7770af |
extern const char pseudo_not_kwd[];
|
|
Packit Service |
7770af |
extern const char even_kwd[];
|
|
Packit Service |
7770af |
extern const char odd_kwd[];
|
|
Packit Service |
7770af |
extern const char progid_kwd[];
|
|
Packit Service |
7770af |
extern const char expression_kwd[];
|
|
Packit Service |
7770af |
extern const char calc_fn_kwd[];
|
|
Packit Service |
7770af |
|
|
Packit Service |
7770af |
// char classes for "regular expressions"
|
|
Packit Service |
7770af |
extern const char almost_any_value_class[];
|
|
Packit Service |
7770af |
|
|
Packit Service |
7770af |
// css selector keywords
|
|
Packit Service |
7770af |
extern const char sel_deep_kwd[];
|
|
Packit Service |
7770af |
|
|
Packit Service |
7770af |
// css attribute-matching operators
|
|
Packit Service |
7770af |
extern const char tilde_equal[];
|
|
Packit Service |
7770af |
extern const char pipe_equal[];
|
|
Packit Service |
7770af |
extern const char caret_equal[];
|
|
Packit Service |
7770af |
extern const char dollar_equal[];
|
|
Packit Service |
7770af |
extern const char star_equal[];
|
|
Packit Service |
7770af |
|
|
Packit Service |
7770af |
// relational & logical operators and constants
|
|
Packit Service |
7770af |
extern const char and_kwd[];
|
|
Packit Service |
7770af |
extern const char or_kwd[];
|
|
Packit Service |
7770af |
extern const char not_kwd[];
|
|
Packit Service |
7770af |
extern const char gt[];
|
|
Packit Service |
7770af |
extern const char gte[];
|
|
Packit Service |
7770af |
extern const char lt[];
|
|
Packit Service |
7770af |
extern const char lte[];
|
|
Packit Service |
7770af |
extern const char eq[];
|
|
Packit Service |
7770af |
extern const char neq[];
|
|
Packit Service |
7770af |
extern const char true_kwd[];
|
|
Packit Service |
7770af |
extern const char false_kwd[];
|
|
Packit Service |
7770af |
|
|
Packit Service |
7770af |
// miscellaneous punctuation and delimiters
|
|
Packit Service |
7770af |
extern const char percent_str[];
|
|
Packit Service |
7770af |
extern const char empty_str[];
|
|
Packit Service |
7770af |
extern const char slash_slash[];
|
|
Packit Service |
7770af |
extern const char slash_star[];
|
|
Packit Service |
7770af |
extern const char star_slash[];
|
|
Packit Service |
7770af |
extern const char hash_lbrace[];
|
|
Packit Service |
7770af |
extern const char rbrace[];
|
|
Packit Service |
7770af |
extern const char rparen[];
|
|
Packit Service |
7770af |
extern const char sign_chars[];
|
|
Packit Service |
7770af |
extern const char op_chars[];
|
|
Packit Service |
7770af |
extern const char hyphen[];
|
|
Packit Service |
7770af |
extern const char ellipsis[];
|
|
Packit Service |
7770af |
// extern const char url_space_chars[];
|
|
Packit Service |
7770af |
|
|
Packit Service |
7770af |
// type names
|
|
Packit Service |
7770af |
extern const char numeric_name[];
|
|
Packit Service |
7770af |
extern const char number_name[];
|
|
Packit Service |
7770af |
extern const char percentage_name[];
|
|
Packit Service |
7770af |
extern const char dimension_name[];
|
|
Packit Service |
7770af |
extern const char string_name[];
|
|
Packit Service |
7770af |
extern const char bool_name[];
|
|
Packit Service |
7770af |
extern const char color_name[];
|
|
Packit Service |
7770af |
extern const char list_name[];
|
|
Packit Service |
7770af |
extern const char map_name[];
|
|
Packit Service |
7770af |
extern const char arglist_name[];
|
|
Packit Service |
7770af |
|
|
Packit Service |
7770af |
// constants for uri parsing (RFC 3986 Appendix A.)
|
|
Packit Service |
7770af |
extern const char uri_chars[];
|
|
Packit Service |
7770af |
extern const char real_uri_chars[];
|
|
Packit Service |
7770af |
|
|
Packit Service |
7770af |
// some specific constant character classes
|
|
Packit Service |
7770af |
// they must be static to be useable by lexer
|
|
Packit Service |
7770af |
extern const char static_ops[];
|
|
Packit Service |
7770af |
extern const char selector_list_delims[];
|
|
Packit Service |
7770af |
extern const char complex_selector_delims[];
|
|
Packit Service |
7770af |
extern const char selector_combinator_ops[];
|
|
Packit Service |
7770af |
extern const char attribute_compare_modifiers[];
|
|
Packit Service |
7770af |
extern const char selector_lookahead_ops[];
|
|
Packit Service |
7770af |
|
|
Packit Service |
7770af |
// byte order marks
|
|
Packit Service |
7770af |
// (taken from http://en.wikipedia.org/wiki/Byte_order_mark)
|
|
Packit Service |
7770af |
extern const unsigned char utf_8_bom[];
|
|
Packit Service |
7770af |
extern const unsigned char utf_16_bom_be[];
|
|
Packit Service |
7770af |
extern const unsigned char utf_16_bom_le[];
|
|
Packit Service |
7770af |
extern const unsigned char utf_32_bom_be[];
|
|
Packit Service |
7770af |
extern const unsigned char utf_32_bom_le[];
|
|
Packit Service |
7770af |
extern const unsigned char utf_7_bom_1[];
|
|
Packit Service |
7770af |
extern const unsigned char utf_7_bom_2[];
|
|
Packit Service |
7770af |
extern const unsigned char utf_7_bom_3[];
|
|
Packit Service |
7770af |
extern const unsigned char utf_7_bom_4[];
|
|
Packit Service |
7770af |
extern const unsigned char utf_7_bom_5[];
|
|
Packit Service |
7770af |
extern const unsigned char utf_1_bom[];
|
|
Packit Service |
7770af |
extern const unsigned char utf_ebcdic_bom[];
|
|
Packit Service |
7770af |
extern const unsigned char scsu_bom[];
|
|
Packit Service |
7770af |
extern const unsigned char bocu_1_bom[];
|
|
Packit Service |
7770af |
extern const unsigned char gb_18030_bom[];
|
|
Packit Service |
7770af |
|
|
Packit Service |
7770af |
}
|
|
Packit Service |
7770af |
}
|
|
Packit Service |
7770af |
|
|
Packit Service |
7770af |
#endif
|