yale.compiler.compiler.0.9.4.source-code.CSSLexer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of compiler Show documentation
Show all versions of compiler Show documentation
The Apache Royale Compiler
// $ANTLR 3.5.2 CSS.g 2018-11-13 22:48:09
package org.apache.royale.compiler.internal.css;
import org.apache.royale.compiler.problems.CSSParserProblem;
import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;
@SuppressWarnings("all")
public class CSSLexer extends Lexer {
public static final int EOF=-1;
public static final int T__77=77;
public static final int ALPHA_VALUE=4;
public static final int ARGUMENTS=5;
public static final int AT_FONT_FACE=6;
public static final int AT_KEYFRAMES=7;
public static final int AT_MEDIA=8;
public static final int AT_NAMESPACE=9;
public static final int AT_WEBKIT_KEYFRAMES=10;
public static final int BEGINS_WITH=11;
public static final int BLOCK_END=12;
public static final int BLOCK_OPEN=13;
public static final int CALC=14;
public static final int CHILD=15;
public static final int CLASS_REFERENCE=16;
public static final int COLON=17;
public static final int COMMA=18;
public static final int COMMENT=19;
public static final int CONTAINS=20;
public static final int DIGIT=21;
public static final int DOT=22;
public static final int DOUBLE_COLON=23;
public static final int EMBED=24;
public static final int ENDS_WITH=25;
public static final int EQUALS=26;
public static final int ESCAPED_HEX=27;
public static final int FORMAT=28;
public static final int FUNCTIONS=29;
public static final int HASH_WORD=30;
public static final int HEX_DIGIT=31;
public static final int HREFLANG_MATCH=32;
public static final int ID=33;
public static final int IMPORTANT=34;
public static final int I_ARRAY=35;
public static final int I_CHILD_SELECTOR=36;
public static final int I_DECL=37;
public static final int I_MEDIUM_CONDITIONS=38;
public static final int I_MULTIVALUE=39;
public static final int I_PRECEDED_SELECTOR=40;
public static final int I_RULE=41;
public static final int I_RULES=42;
public static final int I_SELECTOR=43;
public static final int I_SELECTOR_GROUP=44;
public static final int I_SIBLING_SELECTOR=45;
public static final int I_SIMPLE_SELECTOR=46;
public static final int LETTER=47;
public static final int LIST_MATCH=48;
public static final int LOCAL=49;
public static final int NOT=50;
public static final int NULL=51;
public static final int NUMBER=52;
public static final int NUMBER_WITH_PERCENT=53;
public static final int NUMBER_WITH_UNIT=54;
public static final int ONLY=55;
public static final int OPERATOR=56;
public static final int PERCENT=57;
public static final int PIPE=58;
public static final int PRECEDED=59;
public static final int PROPERTY_REFERENCE=60;
public static final int RECT_VALUE=61;
public static final int RGB=62;
public static final int RGBA=63;
public static final int ROTATE_VALUE=64;
public static final int SCALE=65;
public static final int SCALE_VALUE=66;
public static final int SEMI_COLONS=67;
public static final int SQUARE_END=68;
public static final int SQUARE_OPEN=69;
public static final int STAR=70;
public static final int STRING=71;
public static final int STRING_QUOTE=72;
public static final int TILDE=73;
public static final int TRANSLATE3D_VALUE=74;
public static final int URL=75;
public static final int WS=76;
/**
* Lexer problems.
*/
protected List problems = new ArrayList();
/**
* Collect lexer problems.
*/
@Override
public void displayRecognitionError(String[] tokenNames, RecognitionException e)
{
problems.add(CSSParserProblem.create(this, tokenNames, e));
}
// delegates
// delegators
public Lexer[] getDelegates() {
return new Lexer[] {};
}
public CSSLexer() {}
public CSSLexer(CharStream input) {
this(input, new RecognizerSharedState());
}
public CSSLexer(CharStream input, RecognizerSharedState state) {
super(input,state);
}
@Override public String getGrammarFileName() { return "CSS.g"; }
// $ANTLR start "T__77"
public final void mT__77() throws RecognitionException {
try {
int _type = T__77;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:29:7: ( 'and' )
// CSS.g:29:9: 'and'
{
match("and");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "T__77"
// $ANTLR start "BEGINS_WITH"
public final void mBEGINS_WITH() throws RecognitionException {
try {
int _type = BEGINS_WITH;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:528:13: ( '^=' )
// CSS.g:528:15: '^='
{
match("^=");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "BEGINS_WITH"
// $ANTLR start "ENDS_WITH"
public final void mENDS_WITH() throws RecognitionException {
try {
int _type = ENDS_WITH;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:529:11: ( '$=' )
// CSS.g:529:13: '$='
{
match("$=");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "ENDS_WITH"
// $ANTLR start "CONTAINS"
public final void mCONTAINS() throws RecognitionException {
try {
int _type = CONTAINS;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:530:10: ( '*=' )
// CSS.g:530:12: '*='
{
match("*=");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "CONTAINS"
// $ANTLR start "LIST_MATCH"
public final void mLIST_MATCH() throws RecognitionException {
try {
int _type = LIST_MATCH;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:531:12: ( '~=' )
// CSS.g:531:14: '~='
{
match("~=");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "LIST_MATCH"
// $ANTLR start "HREFLANG_MATCH"
public final void mHREFLANG_MATCH() throws RecognitionException {
try {
int _type = HREFLANG_MATCH;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:532:16: ( '|=' )
// CSS.g:532:18: '|='
{
match("|=");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "HREFLANG_MATCH"
// $ANTLR start "BLOCK_OPEN"
public final void mBLOCK_OPEN() throws RecognitionException {
try {
int _type = BLOCK_OPEN;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:533:12: ( '{' )
// CSS.g:533:14: '{'
{
match('{');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "BLOCK_OPEN"
// $ANTLR start "BLOCK_END"
public final void mBLOCK_END() throws RecognitionException {
try {
int _type = BLOCK_END;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:534:11: ( '}' )
// CSS.g:534:14: '}'
{
match('}');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "BLOCK_END"
// $ANTLR start "SQUARE_OPEN"
public final void mSQUARE_OPEN() throws RecognitionException {
try {
int _type = SQUARE_OPEN;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:535:13: ( '[' )
// CSS.g:535:15: '['
{
match('[');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "SQUARE_OPEN"
// $ANTLR start "SQUARE_END"
public final void mSQUARE_END() throws RecognitionException {
try {
int _type = SQUARE_END;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:536:12: ( ']' )
// CSS.g:536:15: ']'
{
match(']');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "SQUARE_END"
// $ANTLR start "COMMA"
public final void mCOMMA() throws RecognitionException {
try {
int _type = COMMA;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:537:7: ( ',' )
// CSS.g:537:9: ','
{
match(',');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "COMMA"
// $ANTLR start "PERCENT"
public final void mPERCENT() throws RecognitionException {
try {
int _type = PERCENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:538:9: ( '%' )
// CSS.g:538:11: '%'
{
match('%');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "PERCENT"
// $ANTLR start "PIPE"
public final void mPIPE() throws RecognitionException {
try {
int _type = PIPE;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:539:6: ( '|' )
// CSS.g:539:8: '|'
{
match('|');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "PIPE"
// $ANTLR start "STAR"
public final void mSTAR() throws RecognitionException {
try {
int _type = STAR;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:540:6: ( '*' )
// CSS.g:540:8: '*'
{
match('*');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "STAR"
// $ANTLR start "TILDE"
public final void mTILDE() throws RecognitionException {
try {
int _type = TILDE;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:541:7: ( '~' )
// CSS.g:541:9: '~'
{
match('~');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "TILDE"
// $ANTLR start "DOT"
public final void mDOT() throws RecognitionException {
try {
int _type = DOT;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:542:5: ( '.' )
// CSS.g:542:7: '.'
{
match('.');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "DOT"
// $ANTLR start "EQUALS"
public final void mEQUALS() throws RecognitionException {
try {
int _type = EQUALS;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:543:7: ( '=' )
// CSS.g:543:9: '='
{
match('=');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "EQUALS"
// $ANTLR start "AT_NAMESPACE"
public final void mAT_NAMESPACE() throws RecognitionException {
try {
int _type = AT_NAMESPACE;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:544:14: ( '@namespace' )
// CSS.g:544:16: '@namespace'
{
match("@namespace");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "AT_NAMESPACE"
// $ANTLR start "AT_MEDIA"
public final void mAT_MEDIA() throws RecognitionException {
try {
int _type = AT_MEDIA;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:545:10: ( '@media' )
// CSS.g:545:12: '@media'
{
match("@media");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "AT_MEDIA"
// $ANTLR start "AT_KEYFRAMES"
public final void mAT_KEYFRAMES() throws RecognitionException {
try {
int _type = AT_KEYFRAMES;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:546:14: ( '@keyframes' )
// CSS.g:546:16: '@keyframes'
{
match("@keyframes");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "AT_KEYFRAMES"
// $ANTLR start "AT_WEBKIT_KEYFRAMES"
public final void mAT_WEBKIT_KEYFRAMES() throws RecognitionException {
try {
int _type = AT_WEBKIT_KEYFRAMES;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:547:21: ( '@-webkit-keyframes' )
// CSS.g:547:23: '@-webkit-keyframes'
{
match("@-webkit-keyframes");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "AT_WEBKIT_KEYFRAMES"
// $ANTLR start "DOUBLE_COLON"
public final void mDOUBLE_COLON() throws RecognitionException {
try {
int _type = DOUBLE_COLON;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:548:14: ( '::' )
// CSS.g:548:16: '::'
{
match("::");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "DOUBLE_COLON"
// $ANTLR start "COLON"
public final void mCOLON() throws RecognitionException {
try {
int _type = COLON;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:549:7: ( ':' )
// CSS.g:549:9: ':'
{
match(':');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "COLON"
// $ANTLR start "AT_FONT_FACE"
public final void mAT_FONT_FACE() throws RecognitionException {
try {
int _type = AT_FONT_FACE;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:550:14: ( '@font-face' )
// CSS.g:550:16: '@font-face'
{
match("@font-face");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "AT_FONT_FACE"
// $ANTLR start "CLASS_REFERENCE"
public final void mCLASS_REFERENCE() throws RecognitionException {
try {
int _type = CLASS_REFERENCE;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:551:17: ( 'ClassReference' )
// CSS.g:551:19: 'ClassReference'
{
match("ClassReference");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "CLASS_REFERENCE"
// $ANTLR start "PROPERTY_REFERENCE"
public final void mPROPERTY_REFERENCE() throws RecognitionException {
try {
int _type = PROPERTY_REFERENCE;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:552:20: ( 'PropertyReference' )
// CSS.g:552:22: 'PropertyReference'
{
match("PropertyReference");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "PROPERTY_REFERENCE"
// $ANTLR start "IMPORTANT"
public final void mIMPORTANT() throws RecognitionException {
try {
int _type = IMPORTANT;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:553:11: ( '!important' )
// CSS.g:553:13: '!important'
{
match("!important");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "IMPORTANT"
// $ANTLR start "EMBED"
public final void mEMBED() throws RecognitionException {
try {
int _type = EMBED;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:554:7: ( 'Embed' )
// CSS.g:554:9: 'Embed'
{
match("Embed");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "EMBED"
// $ANTLR start "URL"
public final void mURL() throws RecognitionException {
try {
int _type = URL;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:555:5: ( 'url' )
// CSS.g:555:7: 'url'
{
match("url");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "URL"
// $ANTLR start "FORMAT"
public final void mFORMAT() throws RecognitionException {
try {
int _type = FORMAT;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:556:8: ( 'format' )
// CSS.g:556:10: 'format'
{
match("format");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "FORMAT"
// $ANTLR start "LOCAL"
public final void mLOCAL() throws RecognitionException {
try {
int _type = LOCAL;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:557:7: ( 'local' )
// CSS.g:557:9: 'local'
{
match("local");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "LOCAL"
// $ANTLR start "CALC"
public final void mCALC() throws RecognitionException {
try {
int _type = CALC;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:558:6: ( 'calc' )
// CSS.g:558:8: 'calc'
{
match("calc");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "CALC"
// $ANTLR start "SCALE"
public final void mSCALE() throws RecognitionException {
try {
int _type = SCALE;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:559:7: ( 'scale' )
// CSS.g:559:9: 'scale'
{
match("scale");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "SCALE"
// $ANTLR start "NULL"
public final void mNULL() throws RecognitionException {
try {
int _type = NULL;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:560:6: ( 'null' )
// CSS.g:560:8: 'null'
{
match("null");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "NULL"
// $ANTLR start "ONLY"
public final void mONLY() throws RecognitionException {
try {
int _type = ONLY;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:561:6: ( 'only' )
// CSS.g:561:8: 'only'
{
match("only");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "ONLY"
// $ANTLR start "CHILD"
public final void mCHILD() throws RecognitionException {
try {
int _type = CHILD;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:562:7: ( '>' )
// CSS.g:562:9: '>'
{
match('>');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "CHILD"
// $ANTLR start "PRECEDED"
public final void mPRECEDED() throws RecognitionException {
try {
int _type = PRECEDED;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:563:10: ( '+' )
// CSS.g:563:12: '+'
{
match('+');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "PRECEDED"
// $ANTLR start "FUNCTIONS"
public final void mFUNCTIONS() throws RecognitionException {
try {
int _type = FUNCTIONS;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:564:11: ( '-moz-linear-gradient' | '-webkit-linear-gradient' | 'linear-gradient' | 'progid:DXImageTransform.Microsoft.gradient' | 'translateX' | 'translateY' | 'translate' | 'blur' | 'brightness' | 'contrast' | 'drop-shadow' | 'hue-rotate' | 'invert' | 'saturate' | 'sepia' )
int alt1=15;
switch ( input.LA(1) ) {
case '-':
{
int LA1_1 = input.LA(2);
if ( (LA1_1=='m') ) {
alt1=1;
}
else if ( (LA1_1=='w') ) {
alt1=2;
}
else {
int nvaeMark = input.mark();
try {
input.consume();
NoViableAltException nvae =
new NoViableAltException("", 1, 1, input);
throw nvae;
} finally {
input.rewind(nvaeMark);
}
}
}
break;
case 'l':
{
alt1=3;
}
break;
case 'p':
{
alt1=4;
}
break;
case 't':
{
int LA1_4 = input.LA(2);
if ( (LA1_4=='r') ) {
int LA1_13 = input.LA(3);
if ( (LA1_13=='a') ) {
int LA1_18 = input.LA(4);
if ( (LA1_18=='n') ) {
int LA1_19 = input.LA(5);
if ( (LA1_19=='s') ) {
int LA1_20 = input.LA(6);
if ( (LA1_20=='l') ) {
int LA1_21 = input.LA(7);
if ( (LA1_21=='a') ) {
int LA1_22 = input.LA(8);
if ( (LA1_22=='t') ) {
int LA1_23 = input.LA(9);
if ( (LA1_23=='e') ) {
switch ( input.LA(10) ) {
case 'X':
{
alt1=5;
}
break;
case 'Y':
{
alt1=6;
}
break;
default:
alt1=7;
}
}
else {
int nvaeMark = input.mark();
try {
for (int nvaeConsume = 0; nvaeConsume < 9 - 1; nvaeConsume++) {
input.consume();
}
NoViableAltException nvae =
new NoViableAltException("", 1, 23, input);
throw nvae;
} finally {
input.rewind(nvaeMark);
}
}
}
else {
int nvaeMark = input.mark();
try {
for (int nvaeConsume = 0; nvaeConsume < 8 - 1; nvaeConsume++) {
input.consume();
}
NoViableAltException nvae =
new NoViableAltException("", 1, 22, input);
throw nvae;
} finally {
input.rewind(nvaeMark);
}
}
}
else {
int nvaeMark = input.mark();
try {
for (int nvaeConsume = 0; nvaeConsume < 7 - 1; nvaeConsume++) {
input.consume();
}
NoViableAltException nvae =
new NoViableAltException("", 1, 21, input);
throw nvae;
} finally {
input.rewind(nvaeMark);
}
}
}
else {
int nvaeMark = input.mark();
try {
for (int nvaeConsume = 0; nvaeConsume < 6 - 1; nvaeConsume++) {
input.consume();
}
NoViableAltException nvae =
new NoViableAltException("", 1, 20, input);
throw nvae;
} finally {
input.rewind(nvaeMark);
}
}
}
else {
int nvaeMark = input.mark();
try {
for (int nvaeConsume = 0; nvaeConsume < 5 - 1; nvaeConsume++) {
input.consume();
}
NoViableAltException nvae =
new NoViableAltException("", 1, 19, input);
throw nvae;
} finally {
input.rewind(nvaeMark);
}
}
}
else {
int nvaeMark = input.mark();
try {
for (int nvaeConsume = 0; nvaeConsume < 4 - 1; nvaeConsume++) {
input.consume();
}
NoViableAltException nvae =
new NoViableAltException("", 1, 18, input);
throw nvae;
} finally {
input.rewind(nvaeMark);
}
}
}
else {
int nvaeMark = input.mark();
try {
for (int nvaeConsume = 0; nvaeConsume < 3 - 1; nvaeConsume++) {
input.consume();
}
NoViableAltException nvae =
new NoViableAltException("", 1, 13, input);
throw nvae;
} finally {
input.rewind(nvaeMark);
}
}
}
else {
int nvaeMark = input.mark();
try {
input.consume();
NoViableAltException nvae =
new NoViableAltException("", 1, 4, input);
throw nvae;
} finally {
input.rewind(nvaeMark);
}
}
}
break;
case 'b':
{
int LA1_5 = input.LA(2);
if ( (LA1_5=='l') ) {
alt1=8;
}
else if ( (LA1_5=='r') ) {
alt1=9;
}
else {
int nvaeMark = input.mark();
try {
input.consume();
NoViableAltException nvae =
new NoViableAltException("", 1, 5, input);
throw nvae;
} finally {
input.rewind(nvaeMark);
}
}
}
break;
case 'c':
{
alt1=10;
}
break;
case 'd':
{
alt1=11;
}
break;
case 'h':
{
alt1=12;
}
break;
case 'i':
{
alt1=13;
}
break;
case 's':
{
int LA1_10 = input.LA(2);
if ( (LA1_10=='a') ) {
alt1=14;
}
else if ( (LA1_10=='e') ) {
alt1=15;
}
else {
int nvaeMark = input.mark();
try {
input.consume();
NoViableAltException nvae =
new NoViableAltException("", 1, 10, input);
throw nvae;
} finally {
input.rewind(nvaeMark);
}
}
}
break;
default:
NoViableAltException nvae =
new NoViableAltException("", 1, 0, input);
throw nvae;
}
switch (alt1) {
case 1 :
// CSS.g:564:13: '-moz-linear-gradient'
{
match("-moz-linear-gradient");
}
break;
case 2 :
// CSS.g:565:13: '-webkit-linear-gradient'
{
match("-webkit-linear-gradient");
}
break;
case 3 :
// CSS.g:566:13: 'linear-gradient'
{
match("linear-gradient");
}
break;
case 4 :
// CSS.g:567:13: 'progid:DXImageTransform.Microsoft.gradient'
{
match("progid:DXImageTransform.Microsoft.gradient");
}
break;
case 5 :
// CSS.g:568:13: 'translateX'
{
match("translateX");
}
break;
case 6 :
// CSS.g:569:13: 'translateY'
{
match("translateY");
}
break;
case 7 :
// CSS.g:570:13: 'translate'
{
match("translate");
}
break;
case 8 :
// CSS.g:571:13: 'blur'
{
match("blur");
}
break;
case 9 :
// CSS.g:572:13: 'brightness'
{
match("brightness");
}
break;
case 10 :
// CSS.g:573:13: 'contrast'
{
match("contrast");
}
break;
case 11 :
// CSS.g:574:13: 'drop-shadow'
{
match("drop-shadow");
}
break;
case 12 :
// CSS.g:575:13: 'hue-rotate'
{
match("hue-rotate");
}
break;
case 13 :
// CSS.g:576:13: 'invert'
{
match("invert");
}
break;
case 14 :
// CSS.g:577:13: 'saturate'
{
match("saturate");
}
break;
case 15 :
// CSS.g:578:13: 'sepia'
{
match("sepia");
}
break;
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "FUNCTIONS"
// $ANTLR start "NOT"
public final void mNOT() throws RecognitionException {
try {
int _type = NOT;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:593:5: ( 'not' )
// CSS.g:593:8: 'not'
{
match("not");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "NOT"
// $ANTLR start "ALPHA_VALUE"
public final void mALPHA_VALUE() throws RecognitionException {
try {
int _type = ALPHA_VALUE;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:596:13: ( 'alpha(' ( options {greedy=false; } : . )* ')' )
// CSS.g:596:16: 'alpha(' ( options {greedy=false; } : . )* ')'
{
match("alpha(");
// CSS.g:596:25: ( options {greedy=false; } : . )*
loop2:
while (true) {
int alt2=2;
int LA2_0 = input.LA(1);
if ( (LA2_0==')') ) {
alt2=2;
}
else if ( ((LA2_0 >= '\u0000' && LA2_0 <= '(')||(LA2_0 >= '*' && LA2_0 <= '\uFFFF')) ) {
alt2=1;
}
switch (alt2) {
case 1 :
// CSS.g:596:52: .
{
matchAny();
}
break;
default :
break loop2;
}
}
match(')');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "ALPHA_VALUE"
// $ANTLR start "ROTATE_VALUE"
public final void mROTATE_VALUE() throws RecognitionException {
try {
int _type = ROTATE_VALUE;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:601:14: ( 'rotate(' ( options {greedy=false; } : . )* ')' )
// CSS.g:601:17: 'rotate(' ( options {greedy=false; } : . )* ')'
{
match("rotate(");
// CSS.g:601:27: ( options {greedy=false; } : . )*
loop3:
while (true) {
int alt3=2;
int LA3_0 = input.LA(1);
if ( (LA3_0==')') ) {
alt3=2;
}
else if ( ((LA3_0 >= '\u0000' && LA3_0 <= '(')||(LA3_0 >= '*' && LA3_0 <= '\uFFFF')) ) {
alt3=1;
}
switch (alt3) {
case 1 :
// CSS.g:601:54: .
{
matchAny();
}
break;
default :
break loop3;
}
}
match(')');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "ROTATE_VALUE"
// $ANTLR start "SCALE_VALUE"
public final void mSCALE_VALUE() throws RecognitionException {
try {
int _type = SCALE_VALUE;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:606:13: ( 'scale(' ( options {greedy=false; } : . )* ')' )
// CSS.g:606:16: 'scale(' ( options {greedy=false; } : . )* ')'
{
match("scale(");
// CSS.g:606:25: ( options {greedy=false; } : . )*
loop4:
while (true) {
int alt4=2;
int LA4_0 = input.LA(1);
if ( (LA4_0==')') ) {
alt4=2;
}
else if ( ((LA4_0 >= '\u0000' && LA4_0 <= '(')||(LA4_0 >= '*' && LA4_0 <= '\uFFFF')) ) {
alt4=1;
}
switch (alt4) {
case 1 :
// CSS.g:606:52: .
{
matchAny();
}
break;
default :
break loop4;
}
}
match(')');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "SCALE_VALUE"
// $ANTLR start "TRANSLATE3D_VALUE"
public final void mTRANSLATE3D_VALUE() throws RecognitionException {
try {
int _type = TRANSLATE3D_VALUE;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:611:19: ( 'translate3d(' ( options {greedy=false; } : . )* ')' )
// CSS.g:611:22: 'translate3d(' ( options {greedy=false; } : . )* ')'
{
match("translate3d(");
// CSS.g:611:37: ( options {greedy=false; } : . )*
loop5:
while (true) {
int alt5=2;
int LA5_0 = input.LA(1);
if ( (LA5_0==')') ) {
alt5=2;
}
else if ( ((LA5_0 >= '\u0000' && LA5_0 <= '(')||(LA5_0 >= '*' && LA5_0 <= '\uFFFF')) ) {
alt5=1;
}
switch (alt5) {
case 1 :
// CSS.g:611:64: .
{
matchAny();
}
break;
default :
break loop5;
}
}
match(')');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "TRANSLATE3D_VALUE"
// $ANTLR start "RECT_VALUE"
public final void mRECT_VALUE() throws RecognitionException {
try {
int _type = RECT_VALUE;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:616:12: ( 'rect(' ( options {greedy=false; } : . )* ')' )
// CSS.g:616:15: 'rect(' ( options {greedy=false; } : . )* ')'
{
match("rect(");
// CSS.g:616:23: ( options {greedy=false; } : . )*
loop6:
while (true) {
int alt6=2;
int LA6_0 = input.LA(1);
if ( (LA6_0==')') ) {
alt6=2;
}
else if ( ((LA6_0 >= '\u0000' && LA6_0 <= '(')||(LA6_0 >= '*' && LA6_0 <= '\uFFFF')) ) {
alt6=1;
}
switch (alt6) {
case 1 :
// CSS.g:616:50: .
{
matchAny();
}
break;
default :
break loop6;
}
}
match(')');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "RECT_VALUE"
// $ANTLR start "RGBA"
public final void mRGBA() throws RecognitionException {
try {
int _type = RGBA;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:621:6: ( 'rgba(' ( ( WS )* NUMBER ( PERCENT |) ( WS )* ) ',' ( ( WS )* NUMBER ( PERCENT |) ( WS )* ) ',' ( ( WS )* NUMBER ( PERCENT |) ( WS )* ) ',' ( ( WS )* NUMBER ( PERCENT |) ( WS )* ) ')' )
// CSS.g:621:9: 'rgba(' ( ( WS )* NUMBER ( PERCENT |) ( WS )* ) ',' ( ( WS )* NUMBER ( PERCENT |) ( WS )* ) ',' ( ( WS )* NUMBER ( PERCENT |) ( WS )* ) ',' ( ( WS )* NUMBER ( PERCENT |) ( WS )* ) ')'
{
match("rgba(");
// CSS.g:621:18: ( ( WS )* NUMBER ( PERCENT |) ( WS )* )
// CSS.g:621:20: ( WS )* NUMBER ( PERCENT |) ( WS )*
{
// CSS.g:621:20: ( WS )*
loop7:
while (true) {
int alt7=2;
int LA7_0 = input.LA(1);
if ( ((LA7_0 >= '\t' && LA7_0 <= '\n')||LA7_0=='\r'||LA7_0==' ') ) {
alt7=1;
}
switch (alt7) {
case 1 :
// CSS.g:621:20: WS
{
mWS();
}
break;
default :
break loop7;
}
}
mNUMBER();
// CSS.g:621:31: ( PERCENT |)
int alt8=2;
int LA8_0 = input.LA(1);
if ( (LA8_0=='%') ) {
alt8=1;
}
else if ( ((LA8_0 >= '\t' && LA8_0 <= '\n')||LA8_0=='\r'||LA8_0==' '||LA8_0==',') ) {
alt8=2;
}
else {
NoViableAltException nvae =
new NoViableAltException("", 8, 0, input);
throw nvae;
}
switch (alt8) {
case 1 :
// CSS.g:621:33: PERCENT
{
mPERCENT();
}
break;
case 2 :
// CSS.g:621:43:
{
}
break;
}
// CSS.g:621:45: ( WS )*
loop9:
while (true) {
int alt9=2;
int LA9_0 = input.LA(1);
if ( ((LA9_0 >= '\t' && LA9_0 <= '\n')||LA9_0=='\r'||LA9_0==' ') ) {
alt9=1;
}
switch (alt9) {
case 1 :
// CSS.g:621:45: WS
{
mWS();
}
break;
default :
break loop9;
}
}
}
match(',');
// CSS.g:622:5: ( ( WS )* NUMBER ( PERCENT |) ( WS )* )
// CSS.g:622:7: ( WS )* NUMBER ( PERCENT |) ( WS )*
{
// CSS.g:622:7: ( WS )*
loop10:
while (true) {
int alt10=2;
int LA10_0 = input.LA(1);
if ( ((LA10_0 >= '\t' && LA10_0 <= '\n')||LA10_0=='\r'||LA10_0==' ') ) {
alt10=1;
}
switch (alt10) {
case 1 :
// CSS.g:622:7: WS
{
mWS();
}
break;
default :
break loop10;
}
}
mNUMBER();
// CSS.g:622:18: ( PERCENT |)
int alt11=2;
int LA11_0 = input.LA(1);
if ( (LA11_0=='%') ) {
alt11=1;
}
else if ( ((LA11_0 >= '\t' && LA11_0 <= '\n')||LA11_0=='\r'||LA11_0==' '||LA11_0==',') ) {
alt11=2;
}
else {
NoViableAltException nvae =
new NoViableAltException("", 11, 0, input);
throw nvae;
}
switch (alt11) {
case 1 :
// CSS.g:622:20: PERCENT
{
mPERCENT();
}
break;
case 2 :
// CSS.g:622:30:
{
}
break;
}
// CSS.g:622:32: ( WS )*
loop12:
while (true) {
int alt12=2;
int LA12_0 = input.LA(1);
if ( ((LA12_0 >= '\t' && LA12_0 <= '\n')||LA12_0=='\r'||LA12_0==' ') ) {
alt12=1;
}
switch (alt12) {
case 1 :
// CSS.g:622:32: WS
{
mWS();
}
break;
default :
break loop12;
}
}
}
match(',');
// CSS.g:623:5: ( ( WS )* NUMBER ( PERCENT |) ( WS )* )
// CSS.g:623:7: ( WS )* NUMBER ( PERCENT |) ( WS )*
{
// CSS.g:623:7: ( WS )*
loop13:
while (true) {
int alt13=2;
int LA13_0 = input.LA(1);
if ( ((LA13_0 >= '\t' && LA13_0 <= '\n')||LA13_0=='\r'||LA13_0==' ') ) {
alt13=1;
}
switch (alt13) {
case 1 :
// CSS.g:623:7: WS
{
mWS();
}
break;
default :
break loop13;
}
}
mNUMBER();
// CSS.g:623:18: ( PERCENT |)
int alt14=2;
int LA14_0 = input.LA(1);
if ( (LA14_0=='%') ) {
alt14=1;
}
else if ( ((LA14_0 >= '\t' && LA14_0 <= '\n')||LA14_0=='\r'||LA14_0==' '||LA14_0==',') ) {
alt14=2;
}
else {
NoViableAltException nvae =
new NoViableAltException("", 14, 0, input);
throw nvae;
}
switch (alt14) {
case 1 :
// CSS.g:623:20: PERCENT
{
mPERCENT();
}
break;
case 2 :
// CSS.g:623:30:
{
}
break;
}
// CSS.g:623:32: ( WS )*
loop15:
while (true) {
int alt15=2;
int LA15_0 = input.LA(1);
if ( ((LA15_0 >= '\t' && LA15_0 <= '\n')||LA15_0=='\r'||LA15_0==' ') ) {
alt15=1;
}
switch (alt15) {
case 1 :
// CSS.g:623:32: WS
{
mWS();
}
break;
default :
break loop15;
}
}
}
match(',');
// CSS.g:624:5: ( ( WS )* NUMBER ( PERCENT |) ( WS )* )
// CSS.g:624:7: ( WS )* NUMBER ( PERCENT |) ( WS )*
{
// CSS.g:624:7: ( WS )*
loop16:
while (true) {
int alt16=2;
int LA16_0 = input.LA(1);
if ( ((LA16_0 >= '\t' && LA16_0 <= '\n')||LA16_0=='\r'||LA16_0==' ') ) {
alt16=1;
}
switch (alt16) {
case 1 :
// CSS.g:624:7: WS
{
mWS();
}
break;
default :
break loop16;
}
}
mNUMBER();
// CSS.g:624:18: ( PERCENT |)
int alt17=2;
int LA17_0 = input.LA(1);
if ( (LA17_0=='%') ) {
alt17=1;
}
else if ( ((LA17_0 >= '\t' && LA17_0 <= '\n')||LA17_0=='\r'||LA17_0==' '||LA17_0==')') ) {
alt17=2;
}
else {
NoViableAltException nvae =
new NoViableAltException("", 17, 0, input);
throw nvae;
}
switch (alt17) {
case 1 :
// CSS.g:624:20: PERCENT
{
mPERCENT();
}
break;
case 2 :
// CSS.g:624:30:
{
}
break;
}
// CSS.g:624:32: ( WS )*
loop18:
while (true) {
int alt18=2;
int LA18_0 = input.LA(1);
if ( ((LA18_0 >= '\t' && LA18_0 <= '\n')||LA18_0=='\r'||LA18_0==' ') ) {
alt18=1;
}
switch (alt18) {
case 1 :
// CSS.g:624:32: WS
{
mWS();
}
break;
default :
break loop18;
}
}
}
match(')');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "RGBA"
// $ANTLR start "RGB"
public final void mRGB() throws RecognitionException {
try {
int _type = RGB;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:630:5: ( 'rgb(' ( ( WS )* NUMBER ( PERCENT |) ( WS )* ) ',' ( ( WS )* NUMBER ( PERCENT |) ( WS )* ) ',' ( ( WS )* NUMBER ( PERCENT |) ( WS )* ) ')' )
// CSS.g:630:8: 'rgb(' ( ( WS )* NUMBER ( PERCENT |) ( WS )* ) ',' ( ( WS )* NUMBER ( PERCENT |) ( WS )* ) ',' ( ( WS )* NUMBER ( PERCENT |) ( WS )* ) ')'
{
match("rgb(");
// CSS.g:630:16: ( ( WS )* NUMBER ( PERCENT |) ( WS )* )
// CSS.g:630:18: ( WS )* NUMBER ( PERCENT |) ( WS )*
{
// CSS.g:630:18: ( WS )*
loop19:
while (true) {
int alt19=2;
int LA19_0 = input.LA(1);
if ( ((LA19_0 >= '\t' && LA19_0 <= '\n')||LA19_0=='\r'||LA19_0==' ') ) {
alt19=1;
}
switch (alt19) {
case 1 :
// CSS.g:630:18: WS
{
mWS();
}
break;
default :
break loop19;
}
}
mNUMBER();
// CSS.g:630:29: ( PERCENT |)
int alt20=2;
int LA20_0 = input.LA(1);
if ( (LA20_0=='%') ) {
alt20=1;
}
else if ( ((LA20_0 >= '\t' && LA20_0 <= '\n')||LA20_0=='\r'||LA20_0==' '||LA20_0==',') ) {
alt20=2;
}
else {
NoViableAltException nvae =
new NoViableAltException("", 20, 0, input);
throw nvae;
}
switch (alt20) {
case 1 :
// CSS.g:630:31: PERCENT
{
mPERCENT();
}
break;
case 2 :
// CSS.g:630:41:
{
}
break;
}
// CSS.g:630:43: ( WS )*
loop21:
while (true) {
int alt21=2;
int LA21_0 = input.LA(1);
if ( ((LA21_0 >= '\t' && LA21_0 <= '\n')||LA21_0=='\r'||LA21_0==' ') ) {
alt21=1;
}
switch (alt21) {
case 1 :
// CSS.g:630:43: WS
{
mWS();
}
break;
default :
break loop21;
}
}
}
match(',');
// CSS.g:631:5: ( ( WS )* NUMBER ( PERCENT |) ( WS )* )
// CSS.g:631:7: ( WS )* NUMBER ( PERCENT |) ( WS )*
{
// CSS.g:631:7: ( WS )*
loop22:
while (true) {
int alt22=2;
int LA22_0 = input.LA(1);
if ( ((LA22_0 >= '\t' && LA22_0 <= '\n')||LA22_0=='\r'||LA22_0==' ') ) {
alt22=1;
}
switch (alt22) {
case 1 :
// CSS.g:631:7: WS
{
mWS();
}
break;
default :
break loop22;
}
}
mNUMBER();
// CSS.g:631:18: ( PERCENT |)
int alt23=2;
int LA23_0 = input.LA(1);
if ( (LA23_0=='%') ) {
alt23=1;
}
else if ( ((LA23_0 >= '\t' && LA23_0 <= '\n')||LA23_0=='\r'||LA23_0==' '||LA23_0==',') ) {
alt23=2;
}
else {
NoViableAltException nvae =
new NoViableAltException("", 23, 0, input);
throw nvae;
}
switch (alt23) {
case 1 :
// CSS.g:631:20: PERCENT
{
mPERCENT();
}
break;
case 2 :
// CSS.g:631:30:
{
}
break;
}
// CSS.g:631:32: ( WS )*
loop24:
while (true) {
int alt24=2;
int LA24_0 = input.LA(1);
if ( ((LA24_0 >= '\t' && LA24_0 <= '\n')||LA24_0=='\r'||LA24_0==' ') ) {
alt24=1;
}
switch (alt24) {
case 1 :
// CSS.g:631:32: WS
{
mWS();
}
break;
default :
break loop24;
}
}
}
match(',');
// CSS.g:632:5: ( ( WS )* NUMBER ( PERCENT |) ( WS )* )
// CSS.g:632:7: ( WS )* NUMBER ( PERCENT |) ( WS )*
{
// CSS.g:632:7: ( WS )*
loop25:
while (true) {
int alt25=2;
int LA25_0 = input.LA(1);
if ( ((LA25_0 >= '\t' && LA25_0 <= '\n')||LA25_0=='\r'||LA25_0==' ') ) {
alt25=1;
}
switch (alt25) {
case 1 :
// CSS.g:632:7: WS
{
mWS();
}
break;
default :
break loop25;
}
}
mNUMBER();
// CSS.g:632:18: ( PERCENT |)
int alt26=2;
int LA26_0 = input.LA(1);
if ( (LA26_0=='%') ) {
alt26=1;
}
else if ( ((LA26_0 >= '\t' && LA26_0 <= '\n')||LA26_0=='\r'||LA26_0==' '||LA26_0==')') ) {
alt26=2;
}
else {
NoViableAltException nvae =
new NoViableAltException("", 26, 0, input);
throw nvae;
}
switch (alt26) {
case 1 :
// CSS.g:632:20: PERCENT
{
mPERCENT();
}
break;
case 2 :
// CSS.g:632:30:
{
}
break;
}
// CSS.g:632:32: ( WS )*
loop27:
while (true) {
int alt27=2;
int LA27_0 = input.LA(1);
if ( ((LA27_0 >= '\t' && LA27_0 <= '\n')||LA27_0=='\r'||LA27_0==' ') ) {
alt27=1;
}
switch (alt27) {
case 1 :
// CSS.g:632:32: WS
{
mWS();
}
break;
default :
break loop27;
}
}
}
match(')');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "RGB"
// $ANTLR start "ARGUMENTS"
public final void mARGUMENTS() throws RecognitionException {
try {
int _type = ARGUMENTS;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:636:5: ( '(' ( options {greedy=false; } : ARGUMENTS | . )* ')' )
// CSS.g:636:9: '(' ( options {greedy=false; } : ARGUMENTS | . )* ')'
{
match('(');
// CSS.g:636:13: ( options {greedy=false; } : ARGUMENTS | . )*
loop28:
while (true) {
int alt28=3;
int LA28_0 = input.LA(1);
if ( (LA28_0==')') ) {
alt28=3;
}
else if ( (LA28_0=='(') ) {
alt28=1;
}
else if ( ((LA28_0 >= '\u0000' && LA28_0 <= '\'')||(LA28_0 >= '*' && LA28_0 <= '\uFFFF')) ) {
alt28=2;
}
switch (alt28) {
case 1 :
// CSS.g:636:40: ARGUMENTS
{
mARGUMENTS();
}
break;
case 2 :
// CSS.g:636:52: .
{
matchAny();
}
break;
default :
break loop28;
}
}
match(')');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "ARGUMENTS"
// $ANTLR start "SEMI_COLONS"
public final void mSEMI_COLONS() throws RecognitionException {
try {
int _type = SEMI_COLONS;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:646:13: ( ( ';' )+ )
// CSS.g:646:15: ( ';' )+
{
// CSS.g:646:15: ( ';' )+
int cnt29=0;
loop29:
while (true) {
int alt29=2;
int LA29_0 = input.LA(1);
if ( (LA29_0==';') ) {
alt29=1;
}
switch (alt29) {
case 1 :
// CSS.g:646:15: ';'
{
match(';');
}
break;
default :
if ( cnt29 >= 1 ) break loop29;
EarlyExitException eee = new EarlyExitException(29, input);
throw eee;
}
cnt29++;
}
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "SEMI_COLONS"
// $ANTLR start "HASH_WORD"
public final void mHASH_WORD() throws RecognitionException {
try {
int _type = HASH_WORD;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:653:5: ( '#' ( LETTER | DIGIT | '-' | '_' )+ )
// CSS.g:653:9: '#' ( LETTER | DIGIT | '-' | '_' )+
{
match('#');
// CSS.g:653:13: ( LETTER | DIGIT | '-' | '_' )+
int cnt30=0;
loop30:
while (true) {
int alt30=2;
int LA30_0 = input.LA(1);
if ( (LA30_0=='-'||(LA30_0 >= '0' && LA30_0 <= '9')||(LA30_0 >= 'A' && LA30_0 <= 'Z')||LA30_0=='_'||(LA30_0 >= 'a' && LA30_0 <= 'z')) ) {
alt30=1;
}
switch (alt30) {
case 1 :
// CSS.g:
{
if ( input.LA(1)=='-'||(input.LA(1) >= '0' && input.LA(1) <= '9')||(input.LA(1) >= 'A' && input.LA(1) <= 'Z')||input.LA(1)=='_'||(input.LA(1) >= 'a' && input.LA(1) <= 'z') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
if ( cnt30 >= 1 ) break loop30;
EarlyExitException eee = new EarlyExitException(30, input);
throw eee;
}
cnt30++;
}
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "HASH_WORD"
// $ANTLR start "ID"
public final void mID() throws RecognitionException {
try {
int _type = ID;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:652:5: ( ( '-' | '_' )? LETTER ( LETTER | DIGIT | '-' | '_' )* )
// CSS.g:652:9: ( '-' | '_' )? LETTER ( LETTER | DIGIT | '-' | '_' )*
{
// CSS.g:652:9: ( '-' | '_' )?
int alt31=2;
int LA31_0 = input.LA(1);
if ( (LA31_0=='-'||LA31_0=='_') ) {
alt31=1;
}
switch (alt31) {
case 1 :
// CSS.g:
{
if ( input.LA(1)=='-'||input.LA(1)=='_' ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
}
mLETTER();
// CSS.g:652:32: ( LETTER | DIGIT | '-' | '_' )*
loop32:
while (true) {
int alt32=2;
int LA32_0 = input.LA(1);
if ( (LA32_0=='-'||(LA32_0 >= '0' && LA32_0 <= '9')||(LA32_0 >= 'A' && LA32_0 <= 'Z')||LA32_0=='_'||(LA32_0 >= 'a' && LA32_0 <= 'z')) ) {
alt32=1;
}
switch (alt32) {
case 1 :
// CSS.g:
{
if ( input.LA(1)=='-'||(input.LA(1) >= '0' && input.LA(1) <= '9')||(input.LA(1) >= 'A' && input.LA(1) <= 'Z')||input.LA(1)=='_'||(input.LA(1) >= 'a' && input.LA(1) <= 'z') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
break loop32;
}
}
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "ID"
// $ANTLR start "OPERATOR"
public final void mOPERATOR() throws RecognitionException {
try {
int _type = OPERATOR;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:662:2: ( ( '+' | '-' | '*' | '/' ) )
// CSS.g:
{
if ( (input.LA(1) >= '*' && input.LA(1) <= '+')||input.LA(1)=='-'||input.LA(1)=='/' ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "OPERATOR"
// $ANTLR start "LETTER"
public final void mLETTER() throws RecognitionException {
try {
// CSS.g:666:5: ( 'a' .. 'z' | 'A' .. 'Z' )
// CSS.g:
{
if ( (input.LA(1) >= 'A' && input.LA(1) <= 'Z')||(input.LA(1) >= 'a' && input.LA(1) <= 'z') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "LETTER"
// $ANTLR start "NUMBER"
public final void mNUMBER() throws RecognitionException {
try {
// CSS.g:678:2: ( ( '+' | '-' )? ( ( DIGIT )+ ( DOT ( DIGIT )+ )? | DOT ( DIGIT )+ ) )
// CSS.g:678:6: ( '+' | '-' )? ( ( DIGIT )+ ( DOT ( DIGIT )+ )? | DOT ( DIGIT )+ )
{
// CSS.g:678:6: ( '+' | '-' )?
int alt33=2;
int LA33_0 = input.LA(1);
if ( (LA33_0=='+'||LA33_0=='-') ) {
alt33=1;
}
switch (alt33) {
case 1 :
// CSS.g:
{
if ( input.LA(1)=='+'||input.LA(1)=='-' ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
}
// CSS.g:679:3: ( ( DIGIT )+ ( DOT ( DIGIT )+ )? | DOT ( DIGIT )+ )
int alt38=2;
int LA38_0 = input.LA(1);
if ( ((LA38_0 >= '0' && LA38_0 <= '9')) ) {
alt38=1;
}
else if ( (LA38_0=='.') ) {
alt38=2;
}
else {
NoViableAltException nvae =
new NoViableAltException("", 38, 0, input);
throw nvae;
}
switch (alt38) {
case 1 :
// CSS.g:679:5: ( DIGIT )+ ( DOT ( DIGIT )+ )?
{
// CSS.g:679:5: ( DIGIT )+
int cnt34=0;
loop34:
while (true) {
int alt34=2;
int LA34_0 = input.LA(1);
if ( ((LA34_0 >= '0' && LA34_0 <= '9')) ) {
alt34=1;
}
switch (alt34) {
case 1 :
// CSS.g:
{
if ( (input.LA(1) >= '0' && input.LA(1) <= '9') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
if ( cnt34 >= 1 ) break loop34;
EarlyExitException eee = new EarlyExitException(34, input);
throw eee;
}
cnt34++;
}
// CSS.g:679:12: ( DOT ( DIGIT )+ )?
int alt36=2;
int LA36_0 = input.LA(1);
if ( (LA36_0=='.') ) {
alt36=1;
}
switch (alt36) {
case 1 :
// CSS.g:679:13: DOT ( DIGIT )+
{
mDOT();
// CSS.g:679:17: ( DIGIT )+
int cnt35=0;
loop35:
while (true) {
int alt35=2;
int LA35_0 = input.LA(1);
if ( ((LA35_0 >= '0' && LA35_0 <= '9')) ) {
alt35=1;
}
switch (alt35) {
case 1 :
// CSS.g:
{
if ( (input.LA(1) >= '0' && input.LA(1) <= '9') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
if ( cnt35 >= 1 ) break loop35;
EarlyExitException eee = new EarlyExitException(35, input);
throw eee;
}
cnt35++;
}
}
break;
}
}
break;
case 2 :
// CSS.g:680:7: DOT ( DIGIT )+
{
mDOT();
// CSS.g:680:11: ( DIGIT )+
int cnt37=0;
loop37:
while (true) {
int alt37=2;
int LA37_0 = input.LA(1);
if ( ((LA37_0 >= '0' && LA37_0 <= '9')) ) {
alt37=1;
}
switch (alt37) {
case 1 :
// CSS.g:
{
if ( (input.LA(1) >= '0' && input.LA(1) <= '9') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
if ( cnt37 >= 1 ) break loop37;
EarlyExitException eee = new EarlyExitException(37, input);
throw eee;
}
cnt37++;
}
}
break;
}
}
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "NUMBER"
// $ANTLR start "NUMBER_WITH_PERCENT"
public final void mNUMBER_WITH_PERCENT() throws RecognitionException {
try {
int _type = NUMBER_WITH_PERCENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:708:5: ( NUMBER PERCENT )
// CSS.g:708:9: NUMBER PERCENT
{
mNUMBER();
mPERCENT();
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "NUMBER_WITH_PERCENT"
// $ANTLR start "NUMBER_WITH_UNIT"
public final void mNUMBER_WITH_UNIT() throws RecognitionException {
try {
int _type = NUMBER_WITH_UNIT;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:699:2: ( NUMBER ( ID )? )
// CSS.g:699:4: NUMBER ( ID )?
{
mNUMBER();
// CSS.g:699:11: ( ID )?
int alt39=2;
int LA39_0 = input.LA(1);
if ( (LA39_0=='-'||(LA39_0 >= 'A' && LA39_0 <= 'Z')||LA39_0=='_'||(LA39_0 >= 'a' && LA39_0 <= 'z')) ) {
alt39=1;
}
switch (alt39) {
case 1 :
// CSS.g:699:12: ID
{
mID();
}
break;
}
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "NUMBER_WITH_UNIT"
// $ANTLR start "DIGIT"
public final void mDIGIT() throws RecognitionException {
try {
// CSS.g:705:5: ( '0' .. '9' )
// CSS.g:
{
if ( (input.LA(1) >= '0' && input.LA(1) <= '9') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "DIGIT"
// $ANTLR start "COMMENT"
public final void mCOMMENT() throws RecognitionException {
try {
int _type = COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:708:5: ( '/*' ( options {greedy=false; } : . )* '*/' )
// CSS.g:708:9: '/*' ( options {greedy=false; } : . )* '*/'
{
match("/*");
// CSS.g:708:14: ( options {greedy=false; } : . )*
loop40:
while (true) {
int alt40=2;
int LA40_0 = input.LA(1);
if ( (LA40_0=='*') ) {
int LA40_1 = input.LA(2);
if ( (LA40_1=='/') ) {
alt40=2;
}
else if ( ((LA40_1 >= '\u0000' && LA40_1 <= '.')||(LA40_1 >= '0' && LA40_1 <= '\uFFFF')) ) {
alt40=1;
}
}
else if ( ((LA40_0 >= '\u0000' && LA40_0 <= ')')||(LA40_0 >= '+' && LA40_0 <= '\uFFFF')) ) {
alt40=1;
}
switch (alt40) {
case 1 :
// CSS.g:708:41: .
{
matchAny();
}
break;
default :
break loop40;
}
}
match("*/");
_channel = HIDDEN;
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "COMMENT"
// $ANTLR start "WS"
public final void mWS() throws RecognitionException {
try {
int _type = WS;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:712:5: ( ( ' ' | '\\t' | '\\r' | '\\n' ) )
// CSS.g:712:9: ( ' ' | '\\t' | '\\r' | '\\n' )
{
if ( (input.LA(1) >= '\t' && input.LA(1) <= '\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
_channel = HIDDEN;
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "WS"
// $ANTLR start "STRING"
public final void mSTRING() throws RecognitionException {
try {
int _type = STRING;
int _channel = DEFAULT_TOKEN_CHANNEL;
// CSS.g:716:5: ( STRING_QUOTE (~ ( '\\\\' | STRING_QUOTE ) | ESCAPED_HEX )* STRING_QUOTE )
// CSS.g:716:9: STRING_QUOTE (~ ( '\\\\' | STRING_QUOTE ) | ESCAPED_HEX )* STRING_QUOTE
{
mSTRING_QUOTE();
// CSS.g:717:9: (~ ( '\\\\' | STRING_QUOTE ) | ESCAPED_HEX )*
loop41:
while (true) {
int alt41=3;
int LA41_0 = input.LA(1);
if ( ((LA41_0 >= '\u0000' && LA41_0 <= '!')||(LA41_0 >= '#' && LA41_0 <= '&')||(LA41_0 >= '(' && LA41_0 <= '[')||(LA41_0 >= ']' && LA41_0 <= '\uFFFF')) ) {
alt41=1;
}
else if ( (LA41_0=='\\') ) {
alt41=2;
}
switch (alt41) {
case 1 :
// CSS.g:717:11: ~ ( '\\\\' | STRING_QUOTE )
{
if ( (input.LA(1) >= '\u0000' && input.LA(1) <= '!')||(input.LA(1) >= '#' && input.LA(1) <= '&')||(input.LA(1) >= '(' && input.LA(1) <= '[')||(input.LA(1) >= ']' && input.LA(1) <= '\uFFFF') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
case 2 :
// CSS.g:717:38: ESCAPED_HEX
{
mESCAPED_HEX();
}
break;
default :
break loop41;
}
}
mSTRING_QUOTE();
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "STRING"
// $ANTLR start "STRING_QUOTE"
public final void mSTRING_QUOTE() throws RecognitionException {
try {
// CSS.g:724:5: ( '\"' | '\\'' )
// CSS.g:
{
if ( input.LA(1)=='\"'||input.LA(1)=='\'' ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "STRING_QUOTE"
// $ANTLR start "HEX_DIGIT"
public final void mHEX_DIGIT() throws RecognitionException {
try {
// CSS.g:730:5: ( DIGIT | ( 'a' .. 'f' | 'A' .. 'F' ) )
// CSS.g:
{
if ( (input.LA(1) >= '0' && input.LA(1) <= '9')||(input.LA(1) >= 'A' && input.LA(1) <= 'F')||(input.LA(1) >= 'a' && input.LA(1) <= 'f') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "HEX_DIGIT"
// $ANTLR start "ESCAPED_HEX"
public final void mESCAPED_HEX() throws RecognitionException {
try {
// CSS.g:736:5: ( '\\\\' HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT | '\\\\' HEX_DIGIT HEX_DIGIT HEX_DIGIT | '\\\\' HEX_DIGIT HEX_DIGIT | '\\\\' HEX_DIGIT )
int alt42=4;
int LA42_0 = input.LA(1);
if ( (LA42_0=='\\') ) {
int LA42_1 = input.LA(2);
if ( ((LA42_1 >= '0' && LA42_1 <= '9')||(LA42_1 >= 'A' && LA42_1 <= 'F')||(LA42_1 >= 'a' && LA42_1 <= 'f')) ) {
int LA42_2 = input.LA(3);
if ( ((LA42_2 >= '0' && LA42_2 <= '9')||(LA42_2 >= 'A' && LA42_2 <= 'F')||(LA42_2 >= 'a' && LA42_2 <= 'f')) ) {
int LA42_4 = input.LA(4);
if ( ((LA42_4 >= '0' && LA42_4 <= '9')||(LA42_4 >= 'A' && LA42_4 <= 'F')||(LA42_4 >= 'a' && LA42_4 <= 'f')) ) {
int LA42_6 = input.LA(5);
if ( ((LA42_6 >= '0' && LA42_6 <= '9')||(LA42_6 >= 'A' && LA42_6 <= 'F')||(LA42_6 >= 'a' && LA42_6 <= 'f')) ) {
alt42=1;
}
else {
alt42=2;
}
}
else {
alt42=3;
}
}
else {
alt42=4;
}
}
else {
int nvaeMark = input.mark();
try {
input.consume();
NoViableAltException nvae =
new NoViableAltException("", 42, 1, input);
throw nvae;
} finally {
input.rewind(nvaeMark);
}
}
}
else {
NoViableAltException nvae =
new NoViableAltException("", 42, 0, input);
throw nvae;
}
switch (alt42) {
case 1 :
// CSS.g:736:10: '\\\\' HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT
{
match('\\');
mHEX_DIGIT();
mHEX_DIGIT();
mHEX_DIGIT();
mHEX_DIGIT();
}
break;
case 2 :
// CSS.g:737:10: '\\\\' HEX_DIGIT HEX_DIGIT HEX_DIGIT
{
match('\\');
mHEX_DIGIT();
mHEX_DIGIT();
mHEX_DIGIT();
}
break;
case 3 :
// CSS.g:738:10: '\\\\' HEX_DIGIT HEX_DIGIT
{
match('\\');
mHEX_DIGIT();
mHEX_DIGIT();
}
break;
case 4 :
// CSS.g:739:10: '\\\\' HEX_DIGIT
{
match('\\');
mHEX_DIGIT();
}
break;
}
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "ESCAPED_HEX"
@Override
public void mTokens() throws RecognitionException {
// CSS.g:1:8: ( T__77 | BEGINS_WITH | ENDS_WITH | CONTAINS | LIST_MATCH | HREFLANG_MATCH | BLOCK_OPEN | BLOCK_END | SQUARE_OPEN | SQUARE_END | COMMA | PERCENT | PIPE | STAR | TILDE | DOT | EQUALS | AT_NAMESPACE | AT_MEDIA | AT_KEYFRAMES | AT_WEBKIT_KEYFRAMES | DOUBLE_COLON | COLON | AT_FONT_FACE | CLASS_REFERENCE | PROPERTY_REFERENCE | IMPORTANT | EMBED | URL | FORMAT | LOCAL | CALC | SCALE | NULL | ONLY | CHILD | PRECEDED | FUNCTIONS | NOT | ALPHA_VALUE | ROTATE_VALUE | SCALE_VALUE | TRANSLATE3D_VALUE | RECT_VALUE | RGBA | RGB | ARGUMENTS | SEMI_COLONS | HASH_WORD | ID | OPERATOR | NUMBER_WITH_PERCENT | NUMBER_WITH_UNIT | COMMENT | WS | STRING )
int alt43=56;
alt43 = dfa43.predict(input);
switch (alt43) {
case 1 :
// CSS.g:1:10: T__77
{
mT__77();
}
break;
case 2 :
// CSS.g:1:16: BEGINS_WITH
{
mBEGINS_WITH();
}
break;
case 3 :
// CSS.g:1:28: ENDS_WITH
{
mENDS_WITH();
}
break;
case 4 :
// CSS.g:1:38: CONTAINS
{
mCONTAINS();
}
break;
case 5 :
// CSS.g:1:47: LIST_MATCH
{
mLIST_MATCH();
}
break;
case 6 :
// CSS.g:1:58: HREFLANG_MATCH
{
mHREFLANG_MATCH();
}
break;
case 7 :
// CSS.g:1:73: BLOCK_OPEN
{
mBLOCK_OPEN();
}
break;
case 8 :
// CSS.g:1:84: BLOCK_END
{
mBLOCK_END();
}
break;
case 9 :
// CSS.g:1:94: SQUARE_OPEN
{
mSQUARE_OPEN();
}
break;
case 10 :
// CSS.g:1:106: SQUARE_END
{
mSQUARE_END();
}
break;
case 11 :
// CSS.g:1:117: COMMA
{
mCOMMA();
}
break;
case 12 :
// CSS.g:1:123: PERCENT
{
mPERCENT();
}
break;
case 13 :
// CSS.g:1:131: PIPE
{
mPIPE();
}
break;
case 14 :
// CSS.g:1:136: STAR
{
mSTAR();
}
break;
case 15 :
// CSS.g:1:141: TILDE
{
mTILDE();
}
break;
case 16 :
// CSS.g:1:147: DOT
{
mDOT();
}
break;
case 17 :
// CSS.g:1:151: EQUALS
{
mEQUALS();
}
break;
case 18 :
// CSS.g:1:158: AT_NAMESPACE
{
mAT_NAMESPACE();
}
break;
case 19 :
// CSS.g:1:171: AT_MEDIA
{
mAT_MEDIA();
}
break;
case 20 :
// CSS.g:1:180: AT_KEYFRAMES
{
mAT_KEYFRAMES();
}
break;
case 21 :
// CSS.g:1:193: AT_WEBKIT_KEYFRAMES
{
mAT_WEBKIT_KEYFRAMES();
}
break;
case 22 :
// CSS.g:1:213: DOUBLE_COLON
{
mDOUBLE_COLON();
}
break;
case 23 :
// CSS.g:1:226: COLON
{
mCOLON();
}
break;
case 24 :
// CSS.g:1:232: AT_FONT_FACE
{
mAT_FONT_FACE();
}
break;
case 25 :
// CSS.g:1:245: CLASS_REFERENCE
{
mCLASS_REFERENCE();
}
break;
case 26 :
// CSS.g:1:261: PROPERTY_REFERENCE
{
mPROPERTY_REFERENCE();
}
break;
case 27 :
// CSS.g:1:280: IMPORTANT
{
mIMPORTANT();
}
break;
case 28 :
// CSS.g:1:290: EMBED
{
mEMBED();
}
break;
case 29 :
// CSS.g:1:296: URL
{
mURL();
}
break;
case 30 :
// CSS.g:1:300: FORMAT
{
mFORMAT();
}
break;
case 31 :
// CSS.g:1:307: LOCAL
{
mLOCAL();
}
break;
case 32 :
// CSS.g:1:313: CALC
{
mCALC();
}
break;
case 33 :
// CSS.g:1:318: SCALE
{
mSCALE();
}
break;
case 34 :
// CSS.g:1:324: NULL
{
mNULL();
}
break;
case 35 :
// CSS.g:1:329: ONLY
{
mONLY();
}
break;
case 36 :
// CSS.g:1:334: CHILD
{
mCHILD();
}
break;
case 37 :
// CSS.g:1:340: PRECEDED
{
mPRECEDED();
}
break;
case 38 :
// CSS.g:1:349: FUNCTIONS
{
mFUNCTIONS();
}
break;
case 39 :
// CSS.g:1:359: NOT
{
mNOT();
}
break;
case 40 :
// CSS.g:1:363: ALPHA_VALUE
{
mALPHA_VALUE();
}
break;
case 41 :
// CSS.g:1:375: ROTATE_VALUE
{
mROTATE_VALUE();
}
break;
case 42 :
// CSS.g:1:388: SCALE_VALUE
{
mSCALE_VALUE();
}
break;
case 43 :
// CSS.g:1:400: TRANSLATE3D_VALUE
{
mTRANSLATE3D_VALUE();
}
break;
case 44 :
// CSS.g:1:418: RECT_VALUE
{
mRECT_VALUE();
}
break;
case 45 :
// CSS.g:1:429: RGBA
{
mRGBA();
}
break;
case 46 :
// CSS.g:1:434: RGB
{
mRGB();
}
break;
case 47 :
// CSS.g:1:438: ARGUMENTS
{
mARGUMENTS();
}
break;
case 48 :
// CSS.g:1:448: SEMI_COLONS
{
mSEMI_COLONS();
}
break;
case 49 :
// CSS.g:1:460: HASH_WORD
{
mHASH_WORD();
}
break;
case 50 :
// CSS.g:1:470: ID
{
mID();
}
break;
case 51 :
// CSS.g:1:473: OPERATOR
{
mOPERATOR();
}
break;
case 52 :
// CSS.g:1:482: NUMBER_WITH_PERCENT
{
mNUMBER_WITH_PERCENT();
}
break;
case 53 :
// CSS.g:1:502: NUMBER_WITH_UNIT
{
mNUMBER_WITH_UNIT();
}
break;
case 54 :
// CSS.g:1:519: COMMENT
{
mCOMMENT();
}
break;
case 55 :
// CSS.g:1:527: WS
{
mWS();
}
break;
case 56 :
// CSS.g:1:530: STRING
{
mSTRING();
}
break;
}
}
protected DFA43 dfa43 = new DFA43(this);
static final String DFA43_eotS =
"\1\uffff\1\51\2\uffff\1\61\1\63\1\65\6\uffff\1\66\2\uffff\1\76\2\51\1"+
"\uffff\10\51\1\uffff\1\116\1\122\7\51\4\uffff\1\122\1\137\2\uffff\2\51"+
"\7\uffff\1\137\7\uffff\17\51\2\uffff\2\51\1\uffff\12\51\4\uffff\1\177"+
"\4\51\1\u0084\11\51\1\u008e\15\51\1\137\1\uffff\4\51\1\uffff\3\51\1\u00a4"+
"\4\51\1\u00a9\1\uffff\1\u00aa\4\51\1\u00af\7\51\1\uffff\3\51\1\u00ba\1"+
"\51\1\u00bc\1\51\1\uffff\1\51\1\u00c0\1\51\1\u00af\2\uffff\4\51\1\uffff"+
"\5\51\3\uffff\2\51\1\uffff\1\u00cd\1\uffff\2\51\2\uffff\10\51\1\u00af"+
"\3\51\1\uffff\11\51\1\uffff\3\51\2\u00af\13\51\1\u00af\10\51\2\u00af\1"+
"\51\1\u00af\1\51\1\u00af\6\51\1\u00af\5\51\1\uffff\5\51\1\u010e\4\51\1"+
"\uffff\1\51\1\u00af\5\51\1\u0119\2\51\1\uffff\4\51\1\u00af\3\51\1\u00af";
static final String DFA43_eofS =
"\u0123\uffff";
static final String DFA43_minS =
"\1\11\1\154\2\uffff\3\75\6\uffff\1\60\1\uffff\1\55\1\72\1\154\1\162\1"+
"\uffff\1\155\1\162\1\157\1\151\2\141\1\157\1\156\1\uffff\2\56\2\162\1"+
"\154\1\162\1\165\1\156\1\145\4\uffff\1\52\1\45\2\uffff\1\144\1\160\7\uffff"+
"\1\45\7\uffff\1\141\1\157\1\142\1\154\1\162\1\143\1\156\1\154\1\156\1"+
"\141\1\164\1\160\1\154\1\164\1\154\1\uffff\1\60\1\157\1\145\1\uffff\1"+
"\157\1\141\1\165\1\151\1\157\1\145\1\166\1\164\1\143\1\142\1\uffff\1\60"+
"\2\uffff\1\55\1\150\1\163\1\160\1\145\1\55\1\155\1\141\1\145\1\143\1\164"+
"\1\154\1\165\1\151\1\154\1\55\1\171\1\172\1\142\1\147\1\156\1\162\1\147"+
"\1\160\1\55\1\145\1\141\1\164\1\50\1\45\1\uffff\1\141\1\163\1\145\1\144"+
"\1\uffff\1\141\1\154\1\141\1\55\1\162\1\145\1\162\1\141\1\55\1\uffff\2"+
"\55\1\153\1\151\1\163\1\55\1\150\1\55\2\162\1\164\2\50\1\uffff\1\50\1"+
"\122\1\162\1\55\1\164\1\55\1\162\1\uffff\1\141\1\50\1\141\1\55\2\uffff"+
"\1\154\1\151\1\144\1\154\1\uffff\1\164\1\163\1\157\1\164\1\145\3\uffff"+
"\1\145\1\164\1\uffff\1\55\1\uffff\1\55\1\163\2\uffff\1\164\1\151\1\164"+
"\1\72\1\141\1\156\1\150\1\164\1\55\1\50\1\146\1\171\1\uffff\1\147\1\164"+
"\1\145\1\156\1\55\1\164\1\145\2\141\1\uffff\1\145\1\122\1\162\2\55\1\145"+
"\1\154\1\145\1\163\1\144\1\164\1\162\1\145\2\141\1\151\1\55\1\163\1\157"+
"\2\145\1\146\1\144\1\162\1\156\2\55\1\144\1\55\1\167\1\55\1\156\1\145"+
"\1\151\1\55\1\145\1\50\1\55\1\143\1\162\1\145\1\147\1\141\1\uffff\2\145"+
"\1\156\2\162\1\55\1\156\1\164\1\141\1\55\1\uffff\1\143\1\55\1\144\1\147"+
"\1\145\1\151\1\162\1\55\1\145\1\141\1\uffff\1\156\1\144\1\164\1\151\1"+
"\55\1\145\1\156\1\164\1\55";
static final String DFA43_maxS =
"\1\176\1\156\2\uffff\3\75\6\uffff\1\71\1\uffff\1\156\1\72\1\154\1\162"+
"\1\uffff\1\155\1\162\3\157\1\145\1\165\1\156\1\uffff\1\71\1\172\4\162"+
"\1\165\1\156\1\157\4\uffff\1\52\1\71\2\uffff\1\144\1\160\7\uffff\1\71"+
"\7\uffff\1\141\1\157\1\142\1\154\1\162\1\143\1\156\1\154\1\156\1\141\1"+
"\164\1\160\1\154\1\164\1\154\1\uffff\1\71\1\157\1\145\1\uffff\1\157\1"+
"\141\1\165\1\151\1\157\1\145\1\166\1\164\1\143\1\142\1\uffff\1\71\2\uffff"+
"\1\172\1\150\1\163\1\160\1\145\1\172\1\155\1\141\1\145\1\143\1\164\1\154"+
"\1\165\1\151\1\154\1\172\1\171\1\172\1\142\1\147\1\156\1\162\1\147\1\160"+
"\1\55\1\145\1\141\1\164\1\141\1\71\1\uffff\1\141\1\163\1\145\1\144\1\uffff"+
"\1\141\1\154\1\141\1\172\1\162\1\145\1\162\1\141\1\172\1\uffff\1\172\1"+
"\55\1\153\1\151\1\163\1\172\1\150\1\55\2\162\1\164\2\50\1\uffff\1\50\1"+
"\122\1\162\1\172\1\164\1\172\1\162\1\uffff\1\141\1\172\1\141\1\172\2\uffff"+
"\1\154\1\151\1\144\1\154\1\uffff\1\164\1\163\1\157\1\164\1\145\3\uffff"+
"\1\145\1\164\1\uffff\1\172\1\uffff\1\55\1\163\2\uffff\1\164\1\151\1\164"+
"\1\72\1\141\1\156\1\150\1\164\1\172\1\50\1\146\1\171\1\uffff\1\147\1\164"+
"\1\145\1\156\1\55\1\164\1\145\2\141\1\uffff\1\145\1\122\1\162\2\172\1"+
"\145\1\154\1\145\1\163\1\144\1\164\1\162\1\145\2\141\1\151\1\172\1\163"+
"\1\157\2\145\1\146\1\144\1\162\1\156\2\172\1\144\1\172\1\167\1\172\1\156"+
"\1\145\1\151\1\55\1\145\1\50\1\172\1\143\1\162\1\145\1\147\1\141\1\uffff"+
"\2\145\1\156\2\162\1\172\1\156\1\164\1\141\1\55\1\uffff\1\143\1\172\1"+
"\144\1\147\1\145\1\151\1\162\1\172\1\145\1\141\1\uffff\1\156\1\144\1\164"+
"\1\151\1\172\1\145\1\156\1\164\1\172";
static final String DFA43_acceptS =
"\2\uffff\1\2\1\3\3\uffff\1\7\1\10\1\11\1\12\1\13\1\14\1\uffff\1\21\4\uffff"+
"\1\33\10\uffff\1\44\11\uffff\1\57\1\60\1\61\1\62\2\uffff\1\67\1\70\2\uffff"+
"\1\4\1\16\1\5\1\17\1\6\1\15\1\20\1\uffff\1\22\1\23\1\24\1\25\1\30\1\26"+
"\1\27\17\uffff\1\45\3\uffff\1\63\12\uffff\1\66\1\uffff\1\65\1\64\36\uffff"+
"\1\1\4\uffff\1\35\11\uffff\1\47\15\uffff\1\56\7\uffff\1\40\4\uffff\1\42"+
"\1\43\4\uffff\1\46\5\uffff\1\54\1\55\1\50\2\uffff\1\34\1\uffff\1\37\2"+
"\uffff\1\52\1\41\14\uffff\1\36\11\uffff\1\51\53\uffff\1\53\12\uffff\1"+
"\31\12\uffff\1\32\11\uffff";
static final String DFA43_specialS =
"\u0123\uffff}>";
static final String[] DFA43_transitionS = {
"\2\54\2\uffff\1\54\22\uffff\1\54\1\23\1\55\1\50\1\3\1\14\1\uffff\1\55"+
"\1\46\1\uffff\1\4\1\35\1\13\1\36\1\15\1\52\12\53\1\20\1\47\1\uffff\1"+
"\16\1\34\1\uffff\1\17\2\51\1\21\1\51\1\24\12\51\1\22\12\51\1\11\1\uffff"+
"\1\12\1\2\1\51\1\uffff\1\1\1\41\1\30\1\42\1\51\1\26\1\51\1\43\1\44\2"+
"\51\1\27\1\51\1\32\1\33\1\37\1\51\1\45\1\31\1\40\1\25\5\51\1\7\1\6\1"+
"\10\1\5",
"\1\57\1\uffff\1\56",
"",
"",
"\1\60",
"\1\62",
"\1\64",
"",
"",
"",
"",
"",
"",
"\12\67",
"",
"\1\73\70\uffff\1\74\4\uffff\1\72\1\uffff\1\71\1\70",
"\1\75",
"\1\77",
"\1\100",
"",
"\1\101",
"\1\102",
"\1\103",
"\1\105\5\uffff\1\104",
"\1\106\15\uffff\1\107",
"\1\111\1\uffff\1\110\1\uffff\1\112",
"\1\114\5\uffff\1\113",
"\1\115",
"",
"\1\117\1\uffff\12\53",
"\1\117\1\uffff\12\53\7\uffff\32\51\6\uffff\14\51\1\120\11\51\1\121\3"+
"\51",
"\1\123",
"\1\124",
"\1\125\5\uffff\1\126",
"\1\127",
"\1\130",
"\1\131",
"\1\133\1\uffff\1\134\7\uffff\1\132",
"",
"",
"",
"",
"\1\135",
"\1\140\10\uffff\1\136\1\uffff\12\53",
"",
"",
"\1\141",
"\1\142",
"",
"",
"",
"",
"",
"",
"",
"\1\140\12\uffff\12\67",
"",
"",
"",
"",
"",
"",
"",
"\1\143",
"\1\144",
"\1\145",
"\1\146",
"\1\147",
"\1\150",
"\1\151",
"\1\152",
"\1\153",
"\1\154",
"\1\155",
"\1\156",
"\1\157",
"\1\160",
"\1\161",
"",
"\12\67",
"\1\162",
"\1\163",
"",
"\1\164",
"\1\165",
"\1\166",
"\1\167",
"\1\170",
"\1\171",
"\1\172",
"\1\173",
"\1\174",
"\1\175",
"",
"\12\176",
"",
"",
"\1\51\2\uffff\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
"\1\u0080",
"\1\u0081",
"\1\u0082",
"\1\u0083",
"\1\51\2\uffff\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
"\1\u0085",
"\1\u0086",
"\1\u0087",
"\1\u0088",
"\1\u0089",
"\1\u008a",
"\1\u008b",
"\1\u008c",
"\1\u008d",
"\1\51\2\uffff\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
"\1\u008f",
"\1\u0090",
"\1\u0091",
"\1\u0092",
"\1\u0093",
"\1\u0094",
"\1\u0095",
"\1\u0096",
"\1\u0097",
"\1\u0098",
"\1\u0099",
"\1\u009a",
"\1\u009c\70\uffff\1\u009b",
"\1\140\12\uffff\12\176",
"",
"\1\u009d",
"\1\u009e",
"\1\u009f",
"\1\u00a0",
"",
"\1\u00a1",
"\1\u00a2",
"\1\u00a3",
"\1\51\2\uffff\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
"\1\u00a5",
"\1\u00a6",
"\1\u00a7",
"\1\u00a8",
"\1\51\2\uffff\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
"",
"\1\51\2\uffff\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
"\1\u00ab",
"\1\u00ac",
"\1\u00ad",
"\1\u00ae",
"\1\51\2\uffff\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
"\1\u00b0",
"\1\u00b1",
"\1\u00b2",
"\1\u00b3",
"\1\u00b4",
"\1\u00b5",
"\1\u00b6",
"",
"\1\u00b7",
"\1\u00b8",
"\1\u00b9",
"\1\51\2\uffff\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
"\1\u00bb",
"\1\51\2\uffff\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
"\1\u00bd",
"",
"\1\u00be",
"\1\u00bf\4\uffff\1\51\2\uffff\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff"+
"\32\51",
"\1\u00c1",
"\1\51\2\uffff\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
"",
"",
"\1\u00c2",
"\1\u00c3",
"\1\u00c4",
"\1\u00c5",
"",
"\1\u00c6",
"\1\u00c7",
"\1\u00c8",
"\1\u00c9",
"\1\u00ca",
"",
"",
"",
"\1\u00cb",
"\1\u00cc",
"",
"\1\51\2\uffff\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
"",
"\1\u00ce",
"\1\u00cf",
"",
"",
"\1\u00d0",
"\1\u00d1",
"\1\u00d2",
"\1\u00af",
"\1\u00d3",
"\1\u00d4",
"\1\u00d5",
"\1\u00d6",
"\1\51\2\uffff\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
"\1\u00d7",
"\1\u00d8",
"\1\u00d9",
"",
"\1\u00da",
"\1\u00db",
"\1\u00dc",
"\1\u00dd",
"\1\u00de",
"\1\u00df",
"\1\u00e0",
"\1\u00e1",
"\1\u00e2",
"",
"\1\u00e3",
"\1\u00e4",
"\1\u00e5",
"\1\51\2\uffff\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
"\1\51\2\uffff\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
"\1\u00e6",
"\1\u00e7",
"\1\u00e8",
"\1\u00e9",
"\1\u00ea",
"\1\u00eb",
"\1\u00ec",
"\1\u00ed",
"\1\u00ee",
"\1\u00ef",
"\1\u00f0",
"\1\51\2\uffff\3\51\1\u00f3\6\51\7\uffff\27\51\1\u00f1\1\u00f2\1\51\4"+
"\uffff\1\51\1\uffff\32\51",
"\1\u00f4",
"\1\u00f5",
"\1\u00f6",
"\1\u00f7",
"\1\u00f8",
"\1\u00f9",
"\1\u00fa",
"\1\u00fb",
"\1\51\2\uffff\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
"\1\51\2\uffff\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
"\1\u00fc",
"\1\51\2\uffff\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
"\1\u00fd",
"\1\51\2\uffff\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
"\1\u00fe",
"\1\u00ff",
"\1\u0100",
"\1\u0101",
"\1\u0102",
"\1\u0103",
"\1\51\2\uffff\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
"\1\u0104",
"\1\u0105",
"\1\u0106",
"\1\u0107",
"\1\u0108",
"",
"\1\u0109",
"\1\u010a",
"\1\u010b",
"\1\u010c",
"\1\u010d",
"\1\51\2\uffff\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
"\1\u010f",
"\1\u0110",
"\1\u0111",
"\1\u0112",
"",
"\1\u0113",
"\1\51\2\uffff\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
"\1\u0114",
"\1\u0115",
"\1\u0116",
"\1\u0117",
"\1\u0118",
"\1\51\2\uffff\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
"\1\u011a",
"\1\u011b",
"",
"\1\u011c",
"\1\u011d",
"\1\u011e",
"\1\u011f",
"\1\51\2\uffff\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
"\1\u0120",
"\1\u0121",
"\1\u0122",
"\1\51\2\uffff\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51"
};
static final short[] DFA43_eot = DFA.unpackEncodedString(DFA43_eotS);
static final short[] DFA43_eof = DFA.unpackEncodedString(DFA43_eofS);
static final char[] DFA43_min = DFA.unpackEncodedStringToUnsignedChars(DFA43_minS);
static final char[] DFA43_max = DFA.unpackEncodedStringToUnsignedChars(DFA43_maxS);
static final short[] DFA43_accept = DFA.unpackEncodedString(DFA43_acceptS);
static final short[] DFA43_special = DFA.unpackEncodedString(DFA43_specialS);
static final short[][] DFA43_transition;
static {
int numStates = DFA43_transitionS.length;
DFA43_transition = new short[numStates][];
for (int i=0; i