diff options
Diffstat (limited to 'theme-compiler/src/com/vaadin/sass/internal/parser/ParserConstants.java')
-rw-r--r-- | theme-compiler/src/com/vaadin/sass/internal/parser/ParserConstants.java | 629 |
1 files changed, 273 insertions, 356 deletions
diff --git a/theme-compiler/src/com/vaadin/sass/internal/parser/ParserConstants.java b/theme-compiler/src/com/vaadin/sass/internal/parser/ParserConstants.java index a764598cb6..ebe1f10cd4 100644 --- a/theme-compiler/src/com/vaadin/sass/internal/parser/ParserConstants.java +++ b/theme-compiler/src/com/vaadin/sass/internal/parser/ParserConstants.java @@ -1,367 +1,284 @@ +/* + * Copyright 2000-2013 Vaadin Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ /* Generated By:JavaCC: Do not edit this line. ParserConstants.java */ package com.vaadin.sass.internal.parser; - /** - * Token literal values and constants. - * Generated by org.javacc.parser.OtherFilesGen#start() + * Token literal values and constants. Generated by + * org.javacc.parser.OtherFilesGen#start() */ public interface ParserConstants { - /** End of File. */ - int EOF = 0; - /** RegularExpression Id. */ - int S = 1; - /** RegularExpression Id. */ - int FORMAL_COMMENT = 7; - /** RegularExpression Id. */ - int MULTI_LINE_COMMENT = 8; - /** RegularExpression Id. */ - int CDO = 10; - /** RegularExpression Id. */ - int CDC = 11; - /** RegularExpression Id. */ - int LBRACE = 12; - /** RegularExpression Id. */ - int RBRACE = 13; - /** RegularExpression Id. */ - int DASHMATCH = 14; - /** RegularExpression Id. */ - int CARETMATCH = 15; - /** RegularExpression Id. */ - int DOLLARMATCH = 16; - /** RegularExpression Id. */ - int STARMATCH = 17; - /** RegularExpression Id. */ - int INCLUDES = 18; - /** RegularExpression Id. */ - int EQ = 19; - /** RegularExpression Id. */ - int PLUS = 20; - /** RegularExpression Id. */ - int MINUS = 21; - /** RegularExpression Id. */ - int COMMA = 22; - /** RegularExpression Id. */ - int SEMICOLON = 23; - /** RegularExpression Id. */ - int PRECEDES = 24; - /** RegularExpression Id. */ - int SIBLING = 25; - /** RegularExpression Id. */ - int SUCCEEDS = 26; - /** RegularExpression Id. */ - int DIV = 27; - /** RegularExpression Id. */ - int LBRACKET = 28; - /** RegularExpression Id. */ - int RBRACKET = 29; - /** RegularExpression Id. */ - int ANY = 30; - /** RegularExpression Id. */ - int PARENT = 31; - /** RegularExpression Id. */ - int DOT = 32; - /** RegularExpression Id. */ - int LPARAN = 33; - /** RegularExpression Id. */ - int RPARAN = 34; - /** RegularExpression Id. */ - int COMPARE = 35; - /** RegularExpression Id. */ - int OR = 36; - /** RegularExpression Id. */ - int AND = 37; - /** RegularExpression Id. */ - int NOT_EQ = 38; - /** RegularExpression Id. */ - int COLON = 39; - /** RegularExpression Id. */ - int INTERPOLATION = 40; - /** RegularExpression Id. */ - int NONASCII = 41; - /** RegularExpression Id. */ - int H = 42; - /** RegularExpression Id. */ - int UNICODE = 43; - /** RegularExpression Id. */ - int ESCAPE = 44; - /** RegularExpression Id. */ - int NMSTART = 45; - /** RegularExpression Id. */ - int NMCHAR = 46; - /** RegularExpression Id. */ - int STRINGCHAR = 47; - /** RegularExpression Id. */ - int D = 48; - /** RegularExpression Id. */ - int NAME = 49; - /** RegularExpression Id. */ - int TO = 50; - /** RegularExpression Id. */ - int THROUGH = 51; - /** RegularExpression Id. */ - int EACH_IN = 52; - /** RegularExpression Id. */ - int FROM = 53; - /** RegularExpression Id. */ - int MIXIN_SYM = 54; - /** RegularExpression Id. */ - int INCLUDE_SYM = 55; - /** RegularExpression Id. */ - int FUNCTION_SYM = 56; - /** RegularExpression Id. */ - int RETURN_SYM = 57; - /** RegularExpression Id. */ - int DEBUG_SYM = 58; - /** RegularExpression Id. */ - int WARN_SYM = 59; - /** RegularExpression Id. */ - int FOR_SYM = 60; - /** RegularExpression Id. */ - int EACH_SYM = 61; - /** RegularExpression Id. */ - int WHILE_SYM = 62; - /** RegularExpression Id. */ - int IF_SYM = 63; - /** RegularExpression Id. */ - int ELSE_SYM = 64; - /** RegularExpression Id. */ - int EXTEND_SYM = 65; - /** RegularExpression Id. */ - int MOZ_DOCUMENT_SYM = 66; - /** RegularExpression Id. */ - int SUPPORTS_SYM = 67; - /** RegularExpression Id. */ - int MICROSOFT_RULE = 68; - /** RegularExpression Id. */ - int IF = 69; - /** RegularExpression Id. */ - int GUARDED_SYM = 70; - /** RegularExpression Id. */ - int STRING = 71; - /** RegularExpression Id. */ - int IDENT = 72; - /** RegularExpression Id. */ - int NUMBER = 73; - /** RegularExpression Id. */ - int _URL = 74; - /** RegularExpression Id. */ - int URL = 75; - /** RegularExpression Id. */ - int VARIABLE = 76; - /** RegularExpression Id. */ - int PERCENTAGE = 77; - /** RegularExpression Id. */ - int PT = 78; - /** RegularExpression Id. */ - int MM = 79; - /** RegularExpression Id. */ - int CM = 80; - /** RegularExpression Id. */ - int PC = 81; - /** RegularExpression Id. */ - int IN = 82; - /** RegularExpression Id. */ - int PX = 83; - /** RegularExpression Id. */ - int EMS = 84; - /** RegularExpression Id. */ - int EXS = 85; - /** RegularExpression Id. */ - int DEG = 86; - /** RegularExpression Id. */ - int RAD = 87; - /** RegularExpression Id. */ - int GRAD = 88; - /** RegularExpression Id. */ - int MS = 89; - /** RegularExpression Id. */ - int SECOND = 90; - /** RegularExpression Id. */ - int HZ = 91; - /** RegularExpression Id. */ - int KHZ = 92; - /** RegularExpression Id. */ - int DIMEN = 93; - /** RegularExpression Id. */ - int HASH = 94; - /** RegularExpression Id. */ - int IMPORT_SYM = 95; - /** RegularExpression Id. */ - int MEDIA_SYM = 96; - /** RegularExpression Id. */ - int CHARSET_SYM = 97; - /** RegularExpression Id. */ - int PAGE_SYM = 98; - /** RegularExpression Id. */ - int FONT_FACE_SYM = 99; - /** RegularExpression Id. */ - int KEY_FRAME_SYM = 100; - /** RegularExpression Id. */ - int ATKEYWORD = 101; - /** RegularExpression Id. */ - int IMPORTANT_SYM = 102; - /** RegularExpression Id. */ - int RANGE0 = 103; - /** RegularExpression Id. */ - int RANGE1 = 104; - /** RegularExpression Id. */ - int RANGE2 = 105; - /** RegularExpression Id. */ - int RANGE3 = 106; - /** RegularExpression Id. */ - int RANGE4 = 107; - /** RegularExpression Id. */ - int RANGE5 = 108; - /** RegularExpression Id. */ - int RANGE6 = 109; - /** RegularExpression Id. */ - int RANGE = 110; - /** RegularExpression Id. */ - int UNI = 111; - /** RegularExpression Id. */ - int UNICODERANGE = 112; - /** RegularExpression Id. */ - int REMOVE = 113; - /** RegularExpression Id. */ - int APPEND = 114; - /** RegularExpression Id. */ - int CONTAINS = 115; - /** RegularExpression Id. */ - int FUNCTION = 116; - /** RegularExpression Id. */ - int UNKNOWN = 117; + /** End of File. */ + int EOF = 0; + /** RegularExpression Id. */ + int S = 1; + /** RegularExpression Id. */ + int FORMAL_COMMENT = 7; + /** RegularExpression Id. */ + int MULTI_LINE_COMMENT = 8; + /** RegularExpression Id. */ + int CDO = 10; + /** RegularExpression Id. */ + int CDC = 11; + /** RegularExpression Id. */ + int LBRACE = 12; + /** RegularExpression Id. */ + int RBRACE = 13; + /** RegularExpression Id. */ + int DASHMATCH = 14; + /** RegularExpression Id. */ + int CARETMATCH = 15; + /** RegularExpression Id. */ + int DOLLARMATCH = 16; + /** RegularExpression Id. */ + int STARMATCH = 17; + /** RegularExpression Id. */ + int INCLUDES = 18; + /** RegularExpression Id. */ + int EQ = 19; + /** RegularExpression Id. */ + int PLUS = 20; + /** RegularExpression Id. */ + int MINUS = 21; + /** RegularExpression Id. */ + int COMMA = 22; + /** RegularExpression Id. */ + int SEMICOLON = 23; + /** RegularExpression Id. */ + int PRECEDES = 24; + /** RegularExpression Id. */ + int SIBLING = 25; + /** RegularExpression Id. */ + int SUCCEEDS = 26; + /** RegularExpression Id. */ + int DIV = 27; + /** RegularExpression Id. */ + int LBRACKET = 28; + /** RegularExpression Id. */ + int RBRACKET = 29; + /** RegularExpression Id. */ + int ANY = 30; + /** RegularExpression Id. */ + int PARENT = 31; + /** RegularExpression Id. */ + int DOT = 32; + /** RegularExpression Id. */ + int LPARAN = 33; + /** RegularExpression Id. */ + int RPARAN = 34; + /** RegularExpression Id. */ + int COMPARE = 35; + /** RegularExpression Id. */ + int OR = 36; + /** RegularExpression Id. */ + int AND = 37; + /** RegularExpression Id. */ + int NOT_EQ = 38; + /** RegularExpression Id. */ + int COLON = 39; + /** RegularExpression Id. */ + int INTERPOLATION = 40; + /** RegularExpression Id. */ + int NONASCII = 41; + /** RegularExpression Id. */ + int H = 42; + /** RegularExpression Id. */ + int UNICODE = 43; + /** RegularExpression Id. */ + int ESCAPE = 44; + /** RegularExpression Id. */ + int NMSTART = 45; + /** RegularExpression Id. */ + int NMCHAR = 46; + /** RegularExpression Id. */ + int STRINGCHAR = 47; + /** RegularExpression Id. */ + int D = 48; + /** RegularExpression Id. */ + int NAME = 49; + /** RegularExpression Id. */ + int TO = 50; + /** RegularExpression Id. */ + int THROUGH = 51; + /** RegularExpression Id. */ + int EACH_IN = 52; + /** RegularExpression Id. */ + int FROM = 53; + /** RegularExpression Id. */ + int MIXIN_SYM = 54; + /** RegularExpression Id. */ + int INCLUDE_SYM = 55; + /** RegularExpression Id. */ + int FUNCTION_SYM = 56; + /** RegularExpression Id. */ + int RETURN_SYM = 57; + /** RegularExpression Id. */ + int DEBUG_SYM = 58; + /** RegularExpression Id. */ + int WARN_SYM = 59; + /** RegularExpression Id. */ + int FOR_SYM = 60; + /** RegularExpression Id. */ + int EACH_SYM = 61; + /** RegularExpression Id. */ + int WHILE_SYM = 62; + /** RegularExpression Id. */ + int IF_SYM = 63; + /** RegularExpression Id. */ + int ELSE_SYM = 64; + /** RegularExpression Id. */ + int EXTEND_SYM = 65; + /** RegularExpression Id. */ + int MOZ_DOCUMENT_SYM = 66; + /** RegularExpression Id. */ + int SUPPORTS_SYM = 67; + /** RegularExpression Id. */ + int MICROSOFT_RULE = 68; + /** RegularExpression Id. */ + int IF = 69; + /** RegularExpression Id. */ + int GUARDED_SYM = 70; + /** RegularExpression Id. */ + int STRING = 71; + /** RegularExpression Id. */ + int IDENT = 72; + /** RegularExpression Id. */ + int NUMBER = 73; + /** RegularExpression Id. */ + int _URL = 74; + /** RegularExpression Id. */ + int URL = 75; + /** RegularExpression Id. */ + int VARIABLE = 76; + /** RegularExpression Id. */ + int PERCENTAGE = 77; + /** RegularExpression Id. */ + int PT = 78; + /** RegularExpression Id. */ + int MM = 79; + /** RegularExpression Id. */ + int CM = 80; + /** RegularExpression Id. */ + int PC = 81; + /** RegularExpression Id. */ + int IN = 82; + /** RegularExpression Id. */ + int PX = 83; + /** RegularExpression Id. */ + int EMS = 84; + /** RegularExpression Id. */ + int EXS = 85; + /** RegularExpression Id. */ + int DEG = 86; + /** RegularExpression Id. */ + int RAD = 87; + /** RegularExpression Id. */ + int GRAD = 88; + /** RegularExpression Id. */ + int MS = 89; + /** RegularExpression Id. */ + int SECOND = 90; + /** RegularExpression Id. */ + int HZ = 91; + /** RegularExpression Id. */ + int KHZ = 92; + /** RegularExpression Id. */ + int DIMEN = 93; + /** RegularExpression Id. */ + int HASH = 94; + /** RegularExpression Id. */ + int IMPORT_SYM = 95; + /** RegularExpression Id. */ + int MEDIA_SYM = 96; + /** RegularExpression Id. */ + int CHARSET_SYM = 97; + /** RegularExpression Id. */ + int PAGE_SYM = 98; + /** RegularExpression Id. */ + int FONT_FACE_SYM = 99; + /** RegularExpression Id. */ + int KEY_FRAME_SYM = 100; + /** RegularExpression Id. */ + int ATKEYWORD = 101; + /** RegularExpression Id. */ + int IMPORTANT_SYM = 102; + /** RegularExpression Id. */ + int RANGE0 = 103; + /** RegularExpression Id. */ + int RANGE1 = 104; + /** RegularExpression Id. */ + int RANGE2 = 105; + /** RegularExpression Id. */ + int RANGE3 = 106; + /** RegularExpression Id. */ + int RANGE4 = 107; + /** RegularExpression Id. */ + int RANGE5 = 108; + /** RegularExpression Id. */ + int RANGE6 = 109; + /** RegularExpression Id. */ + int RANGE = 110; + /** RegularExpression Id. */ + int UNI = 111; + /** RegularExpression Id. */ + int UNICODERANGE = 112; + /** RegularExpression Id. */ + int REMOVE = 113; + /** RegularExpression Id. */ + int APPEND = 114; + /** RegularExpression Id. */ + int CONTAINS = 115; + /** RegularExpression Id. */ + int FUNCTION = 116; + /** RegularExpression Id. */ + int UNKNOWN = 117; - /** Lexical state. */ - int DEFAULT = 0; - /** Lexical state. */ - int IN_SINGLE_LINE_COMMENT = 1; - /** Lexical state. */ - int IN_FORMAL_COMMENT = 2; - /** Lexical state. */ - int IN_MULTI_LINE_COMMENT = 3; + /** Lexical state. */ + int DEFAULT = 0; + /** Lexical state. */ + int IN_SINGLE_LINE_COMMENT = 1; + /** Lexical state. */ + int IN_FORMAL_COMMENT = 2; + /** Lexical state. */ + int IN_MULTI_LINE_COMMENT = 3; - /** Literal token values. */ - String[] tokenImage = { - "<EOF>", - "<S>", - "\"//\"", - "<token of kind 3>", - "<token of kind 4>", - "<token of kind 5>", - "\"/*\"", - "\"*/\"", - "\"*/\"", - "<token of kind 9>", - "\"<!--\"", - "\"-->\"", - "\"{\"", - "\"}\"", - "\"|=\"", - "\"^=\"", - "\"$=\"", - "\"*=\"", - "\"~=\"", - "\"=\"", - "\"+\"", - "\"-\"", - "\",\"", - "\";\"", - "\">\"", - "\"~\"", - "\"<\"", - "\"/\"", - "\"[\"", - "\"]\"", - "\"*\"", - "\"&\"", - "\".\"", - "\"(\"", - "\")\"", - "\"==\"", - "\"||\"", - "\"&&\"", - "\"!=\"", - "\":\"", - "<INTERPOLATION>", - "<NONASCII>", - "<H>", - "<UNICODE>", - "<ESCAPE>", - "<NMSTART>", - "<NMCHAR>", - "<STRINGCHAR>", - "<D>", - "<NAME>", - "\"to\"", - "\"through\"", - "\"in\"", - "\"from\"", - "\"@mixin\"", - "\"@include\"", - "\"@function\"", - "\"@return\"", - "\"@debug\"", - "\"@warn\"", - "\"@for\"", - "\"@each\"", - "\"@while\"", - "\"@if\"", - "\"@else\"", - "\"@extend\"", - "\"@-moz-document\"", - "\"@supports\"", - "<MICROSOFT_RULE>", - "\"if\"", - "<GUARDED_SYM>", - "<STRING>", - "<IDENT>", - "<NUMBER>", - "<_URL>", - "<URL>", - "<VARIABLE>", - "<PERCENTAGE>", - "<PT>", - "<MM>", - "<CM>", - "<PC>", - "<IN>", - "<PX>", - "<EMS>", - "<EXS>", - "<DEG>", - "<RAD>", - "<GRAD>", - "<MS>", - "<SECOND>", - "<HZ>", - "<KHZ>", - "<DIMEN>", - "<HASH>", - "\"@import\"", - "\"@media\"", - "\"@charset\"", - "\"@page\"", - "\"@font-face\"", - "<KEY_FRAME_SYM>", - "<ATKEYWORD>", - "<IMPORTANT_SYM>", - "<RANGE0>", - "<RANGE1>", - "<RANGE2>", - "<RANGE3>", - "<RANGE4>", - "<RANGE5>", - "<RANGE6>", - "<RANGE>", - "<UNI>", - "<UNICODERANGE>", - "<REMOVE>", - "<APPEND>", - "<CONTAINS>", - "<FUNCTION>", - "<UNKNOWN>", - }; + /** Literal token values. */ + String[] tokenImage = { "<EOF>", "<S>", "\"//\"", "<token of kind 3>", + "<token of kind 4>", "<token of kind 5>", "\"/*\"", "\"*/\"", + "\"*/\"", "<token of kind 9>", "\"<!--\"", "\"-->\"", "\"{\"", + "\"}\"", "\"|=\"", "\"^=\"", "\"$=\"", "\"*=\"", "\"~=\"", "\"=\"", + "\"+\"", "\"-\"", "\",\"", "\";\"", "\">\"", "\"~\"", "\"<\"", + "\"/\"", "\"[\"", "\"]\"", "\"*\"", "\"&\"", "\".\"", "\"(\"", + "\")\"", "\"==\"", "\"||\"", "\"&&\"", "\"!=\"", "\":\"", + "<INTERPOLATION>", "<NONASCII>", "<H>", "<UNICODE>", "<ESCAPE>", + "<NMSTART>", "<NMCHAR>", "<STRINGCHAR>", "<D>", "<NAME>", "\"to\"", + "\"through\"", "\"in\"", "\"from\"", "\"@mixin\"", "\"@include\"", + "\"@function\"", "\"@return\"", "\"@debug\"", "\"@warn\"", + "\"@for\"", "\"@each\"", "\"@while\"", "\"@if\"", "\"@else\"", + "\"@extend\"", "\"@-moz-document\"", "\"@supports\"", + "<MICROSOFT_RULE>", "\"if\"", "<GUARDED_SYM>", "<STRING>", + "<IDENT>", "<NUMBER>", "<_URL>", "<URL>", "<VARIABLE>", + "<PERCENTAGE>", "<PT>", "<MM>", "<CM>", "<PC>", "<IN>", "<PX>", + "<EMS>", "<EXS>", "<DEG>", "<RAD>", "<GRAD>", "<MS>", "<SECOND>", + "<HZ>", "<KHZ>", "<DIMEN>", "<HASH>", "\"@import\"", "\"@media\"", + "\"@charset\"", "\"@page\"", "\"@font-face\"", "<KEY_FRAME_SYM>", + "<ATKEYWORD>", "<IMPORTANT_SYM>", "<RANGE0>", "<RANGE1>", + "<RANGE2>", "<RANGE3>", "<RANGE4>", "<RANGE5>", "<RANGE6>", + "<RANGE>", "<UNI>", "<UNICODERANGE>", "<REMOVE>", "<APPEND>", + "<CONTAINS>", "<FUNCTION>", "<UNKNOWN>", }; } |