|
Css |
|
/* ** Luxor - XML User Interface Language (XUL) Toolkit ** Copyright (c) 2001, 2002 by Gerald Bauer ** ** This program is free software. ** ** You may redistribute it and/or modify it under the terms of the GNU ** General Public License as published by the Free Software Foundation. ** Version 2 of the license should be included with this distribution in ** the file LICENSE, as well as License.html. If the license is not ** included with this distribution, you may find a copy at the FSF web ** site at 'www.gnu.org' or 'www.fsf.org', or you may write to the ** Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139 USA. ** ** THIS SOFTWARE IS PROVIDED AS-IS WITHOUT WARRANTY OF ANY KIND, ** NOT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY. THE AUTHOR ** OF THIS SOFTWARE, ASSUMES _NO_ RESPONSIBILITY FOR ANY ** CONSEQUENCE RESULTING FROM THE USE, MODIFICATION, OR ** REDISTRIBUTION OF THIS SOFTWARE. ** */ package luxor.css; public class Css { public interface Property { String MIN_WIDTH = "min-width"; String MAX_WIDTH = "max-width"; String WIDTH = "width"; String MIN_HEIGHT = "min-height"; String MAX_HEIGHT = "max-height"; String HEIGHT = "height"; } public interface Token { /** * Represents the EOF lexical unit. */ int EOF = 0; /** * Represents the '{' lexical unit. */ int LEFT_CURLY_BRACE = 1; /** * Represents the '}' lexical unit. */ int RIGHT_CURLY_BRACE = 2; /** * Represents the '=' lexical unit. */ int EQUAL = 3; /** * Represents the '+' lexical unit. */ int PLUS = 4; /** * Represents the '-' lexical unit. */ int MINUS = 5; /** * Represents the ',' lexical unit. */ int COMMA = 6; /** * Represents the '.' lexical unit. */ int DOT = 7; /** * Represents the ';' lexical unit. */ int SEMI_COLON = 8; /** * Represents the '>' lexical unit. */ int PRECEDE = 9; /** * Represents the '/' lexical unit. */ int DIVIDE = 10; /** * Represents the '[' lexical unit. */ int LEFT_BRACKET = 11; /** * Represents the ']' lexical unit. */ int RIGHT_BRACKET = 12; /** * Represents the '*' lexical unit. */ int ANY = 13; /** * Represents the '(' lexical unit. */ int LEFT_BRACE = 14; /** * Represents the ')' lexical unit. */ int RIGHT_BRACE = 15; /** * Represents the ':' lexical unit. */ int COLON = 16; /** * Represents the white space lexical unit. */ int SPACE = 17; /** * Represents the comment lexical unit. */ int COMMENT = 18; /** * Represents the string lexical unit. */ int STRING = 19; /** * Represents the identifier lexical unit. */ int IDENTIFIER = 20; /** * Represents the '<!--' lexical unit. */ int CDO = 21; /** * Represents the '-->' lexical unit. */ int CDC = 22; /** * Represents the '!important' lexical unit. */ int IMPORTANT_SYMBOL = 23; /** * Represents an integer. */ int INTEGER = 24; /** * Represents the '|=' lexical unit. */ int DASHMATCH = 25; /** * Represents the '~=' lexical unit. */ int INCLUDES = 26; /** * Represents the '#name' lexical unit. */ int HASH = 27; /** * Represents the '@import' lexical unit. */ int IMPORT_SYMBOL = 28; /** * Represents the '@ident' lexical unit. */ int AT_KEYWORD = 29; /** * Represents the '@charset' lexical unit. */ int CHARSET_SYMBOL = 30; /** * Represents the '@font-face' lexical unit. */ int FONT_FACE_SYMBOL = 31; /** * Represents the '@media' lexical unit. */ int MEDIA_SYMBOL = 32; /** * Represents the '@page' lexical unit. */ int PAGE_SYMBOL = 33; /** * Represents a dimension lexical unit. */ int DIMENSION = 34; /** * Represents a ex lexical unit. */ int EX = 35; /** * Represents a em lexical unit. */ int EM = 36; /** * Represents a cm lexical unit. */ int CM = 37; /** * Represents a mm lexical unit. */ int MM = 38; /** * Represents a in lexical unit. */ int IN = 39; /** * Represents a ms lexical unit. */ int MS = 40; /** * Represents a hz lexical unit. */ int HZ = 41; /** * Represents a % lexical unit. */ int PERCENTAGE = 42; /** * Represents a s lexical unit. */ int S = 43; /** * Represents a pc lexical unit. */ int PC = 44; /** * Represents a pt lexical unit. */ int PT = 45; /** * Represents a px lexical unit. */ int PX = 46; /** * Represents a deg lexical unit. */ int DEG = 47; /** * Represents a rad lexical unit. */ int RAD = 48; /** * Represents a grad lexical unit. */ int GRAD = 49; /** * Represents a khz lexical unit. */ int KHZ = 50; /** * Represents a 'url(URI)' lexical unit. */ int URI = 51; /** * Represents a 'ident(' lexical unit. */ int FUNCTION = 52; /** * Represents a unicode range lexical unit. */ int UNICODE_RANGE = 53; /** * represents a real number. */ int REAL = 54; } }
|
Css |
|