diff options
Diffstat (limited to 'theme-compiler/src/com/vaadin/sass/parser')
3 files changed, 167 insertions, 141 deletions
diff --git a/theme-compiler/src/com/vaadin/sass/parser/MediaListImpl.java b/theme-compiler/src/com/vaadin/sass/parser/MediaListImpl.java index 042e385cb3..bb321ea3cd 100644 --- a/theme-compiler/src/com/vaadin/sass/parser/MediaListImpl.java +++ b/theme-compiler/src/com/vaadin/sass/parser/MediaListImpl.java @@ -8,14 +8,20 @@ */ package com.vaadin.sass.parser; +import java.io.Serializable; + import org.w3c.css.sac.SACMediaList; /** * @version $Revision: 1.4 $ * @author Philippe Le Hegaret */ -public class MediaListImpl implements SACMediaList { +public class MediaListImpl implements SACMediaList, Serializable { + /** + * + */ + private static final long serialVersionUID = 1L; String[] array = new String[10]; int current; diff --git a/theme-compiler/src/com/vaadin/sass/parser/Parser.java b/theme-compiler/src/com/vaadin/sass/parser/Parser.java index 33411bd57d..996a15d9c8 100644 --- a/theme-compiler/src/com/vaadin/sass/parser/Parser.java +++ b/theme-compiler/src/com/vaadin/sass/parser/Parser.java @@ -3427,6 +3427,13 @@ boolean isPseudoElement = false; case IDENT: name = property(); break; + case VARIABLE: + name = variableName(); + name = "$"+name; + break; + case INTERPOLATION: + name = interpolation(); + break; case FUNCTION: name = functionName(); args = argValuelist(); @@ -3464,6 +3471,13 @@ boolean isPseudoElement = false; documentHandler.includeDirective(name, args); } + final public String interpolation() throws ParseException { + Token n; + n = jj_consume_token(INTERPOLATION); + {if (true) return n.image;} + throw new Error("Missing return statement in function"); + } + final public void listModifyDirective() throws ParseException { if (jj_2_12(5)) { removeDirective(); @@ -5648,26 +5662,6 @@ LexicalUnitImpl result = null; finally { jj_save(14, xla); } } - private boolean jj_3R_205() { - if (jj_scan_token(DEG)) return true; - return false; - } - - private boolean jj_3R_204() { - if (jj_scan_token(EXS)) return true; - return false; - } - - private boolean jj_3R_203() { - if (jj_scan_token(EMS)) return true; - return false; - } - - private boolean jj_3_1() { - if (jj_3R_156()) return true; - return false; - } - private boolean jj_3R_202() { if (jj_scan_token(PX)) return true; return false; @@ -5683,6 +5677,11 @@ LexicalUnitImpl result = null; return false; } + private boolean jj_3_1() { + if (jj_3R_156()) return true; + return false; + } + private boolean jj_3R_199() { if (jj_scan_token(MM)) return true; return false; @@ -5708,22 +5707,11 @@ LexicalUnitImpl result = null; return false; } - private boolean jj_3_4() { - if (jj_3R_159()) return true; - if (jj_3R_160()) return true; - return false; - } - private boolean jj_3R_185() { if (jj_3R_221()) return true; return false; } - private boolean jj_3_7() { - if (jj_3R_156()) return true; - return false; - } - private boolean jj_3R_195() { if (jj_scan_token(NUMBER)) return true; return false; @@ -5734,16 +5722,6 @@ LexicalUnitImpl result = null; return false; } - private boolean jj_3R_191() { - if (jj_scan_token(COLON)) return true; - return false; - } - - private boolean jj_3_6() { - if (jj_3R_161()) return true; - return false; - } - private boolean jj_3R_181() { Token xsp; xsp = jj_scanpos; @@ -5807,6 +5785,12 @@ LexicalUnitImpl result = null; return false; } + private boolean jj_3_4() { + if (jj_3R_159()) return true; + if (jj_3R_160()) return true; + return false; + } + private boolean jj_3R_179() { if (jj_3R_193()) return true; return false; @@ -5826,6 +5810,21 @@ LexicalUnitImpl result = null; return false; } + private boolean jj_3_7() { + if (jj_3R_156()) return true; + return false; + } + + private boolean jj_3R_191() { + if (jj_scan_token(COLON)) return true; + return false; + } + + private boolean jj_3_6() { + if (jj_3R_161()) return true; + return false; + } + private boolean jj_3R_161() { if (jj_3R_178()) return true; if (jj_scan_token(COLON)) return true; @@ -5873,21 +5872,11 @@ LexicalUnitImpl result = null; return false; } - private boolean jj_3_5() { - if (jj_3R_161()) return true; - return false; - } - private boolean jj_3_14() { if (jj_3R_166()) return true; return false; } - private boolean jj_3_2() { - if (jj_3R_156()) return true; - return false; - } - private boolean jj_3R_240() { if (jj_scan_token(URL)) return true; return false; @@ -5908,11 +5897,21 @@ LexicalUnitImpl result = null; return false; } + private boolean jj_3_5() { + if (jj_3R_161()) return true; + return false; + } + private boolean jj_3R_167() { if (jj_3R_183()) return true; return false; } + private boolean jj_3_2() { + if (jj_3R_156()) return true; + return false; + } + private boolean jj_3R_164() { if (jj_scan_token(VARIABLE)) return true; Token xsp; @@ -5977,11 +5976,6 @@ LexicalUnitImpl result = null; return false; } - private boolean jj_3R_248() { - if (jj_scan_token(INTERPOLATION)) return true; - return false; - } - private boolean jj_3R_241() { if (jj_scan_token(UNICODERANGE)) return true; return false; @@ -5992,11 +5986,6 @@ LexicalUnitImpl result = null; return false; } - private boolean jj_3_10() { - if (jj_3R_161()) return true; - return false; - } - private boolean jj_3R_165() { if (jj_scan_token(VARIABLE)) return true; Token xsp; @@ -6018,13 +6007,8 @@ LexicalUnitImpl result = null; return false; } - private boolean jj_3R_192() { - if (jj_scan_token(LBRACKET)) return true; - return false; - } - - private boolean jj_3R_158() { - if (jj_3R_161()) return true; + private boolean jj_3R_248() { + if (jj_scan_token(INTERPOLATION)) return true; return false; } @@ -6038,16 +6022,6 @@ LexicalUnitImpl result = null; return false; } - private boolean jj_3R_178() { - if (jj_scan_token(IDENT)) return true; - Token xsp; - while (true) { - xsp = jj_scanpos; - if (jj_scan_token(1)) { jj_scanpos = xsp; break; } - } - return false; - } - private boolean jj_3R_237() { if (jj_scan_token(FUNCTION)) return true; Token xsp; @@ -6061,13 +6035,8 @@ LexicalUnitImpl result = null; return false; } - private boolean jj_3R_242() { - if (jj_scan_token(VARIABLE)) return true; - Token xsp; - while (true) { - xsp = jj_scanpos; - if (jj_scan_token(1)) { jj_scanpos = xsp; break; } - } + private boolean jj_3_10() { + if (jj_3R_161()) return true; return false; } @@ -6091,13 +6060,23 @@ LexicalUnitImpl result = null; return false; } - private boolean jj_3R_235() { - if (jj_scan_token(PARENT)) return true; + private boolean jj_3R_192() { + if (jj_scan_token(LBRACKET)) return true; return false; } - private boolean jj_3R_234() { - if (jj_scan_token(ANY)) return true; + private boolean jj_3R_158() { + if (jj_3R_161()) return true; + return false; + } + + private boolean jj_3R_178() { + if (jj_scan_token(IDENT)) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_scan_token(1)) { jj_scanpos = xsp; break; } + } return false; } @@ -6106,6 +6085,16 @@ LexicalUnitImpl result = null; return false; } + private boolean jj_3R_242() { + if (jj_scan_token(VARIABLE)) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_scan_token(1)) { jj_scanpos = xsp; break; } + } + return false; + } + private boolean jj_3R_217() { if (jj_3R_240()) return true; return false; @@ -6129,6 +6118,21 @@ LexicalUnitImpl result = null; return false; } + private boolean jj_3R_216() { + if (jj_3R_239()) return true; + return false; + } + + private boolean jj_3R_235() { + if (jj_scan_token(PARENT)) return true; + return false; + } + + private boolean jj_3R_234() { + if (jj_scan_token(ANY)) return true; + return false; + } + private boolean jj_3R_247() { if (jj_scan_token(IDENT)) return true; return false; @@ -6144,11 +6148,6 @@ LexicalUnitImpl result = null; return false; } - private boolean jj_3R_216() { - if (jj_3R_239()) return true; - return false; - } - private boolean jj_3R_233() { Token xsp; if (jj_3R_243()) return true; @@ -6294,11 +6293,24 @@ LexicalUnitImpl result = null; return false; } + private boolean jj_3R_238() { + if (jj_scan_token(DOT)) return true; + return false; + } + private boolean jj_3R_232() { if (jj_scan_token(PRECEDES)) return true; return false; } + private boolean jj_3R_215() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_238()) jj_scanpos = xsp; + if (jj_scan_token(IDENT)) return true; + return false; + } + private boolean jj_3R_231() { if (jj_scan_token(PLUS)) return true; return false; @@ -6319,6 +6331,11 @@ LexicalUnitImpl result = null; return false; } + private boolean jj_3R_214() { + if (jj_scan_token(STRING)) return true; + return false; + } + private boolean jj_3R_171() { if (jj_scan_token(PRECEDES)) return true; Token xsp; @@ -6329,16 +6346,27 @@ LexicalUnitImpl result = null; return false; } - private boolean jj_3R_238() { - if (jj_scan_token(DOT)) return true; + private boolean jj_3R_213() { + if (jj_3R_237()) return true; return false; } - private boolean jj_3R_215() { + private boolean jj_3R_182() { Token xsp; xsp = jj_scanpos; - if (jj_3R_238()) jj_scanpos = xsp; - if (jj_scan_token(IDENT)) return true; + if (jj_3R_214()) { + jj_scanpos = xsp; + if (jj_3R_215()) { + jj_scanpos = xsp; + if (jj_3R_216()) { + jj_scanpos = xsp; + if (jj_3R_217()) { + jj_scanpos = xsp; + if (jj_3R_218()) return true; + } + } + } + } return false; } @@ -6381,37 +6409,23 @@ LexicalUnitImpl result = null; return false; } - private boolean jj_3R_214() { - if (jj_scan_token(STRING)) return true; + private boolean jj_3R_212() { + if (jj_scan_token(DIMEN)) return true; return false; } - private boolean jj_3R_213() { - if (jj_3R_237()) return true; + private boolean jj_3R_211() { + if (jj_scan_token(KHZ)) return true; return false; } - private boolean jj_3R_182() { - Token xsp; - xsp = jj_scanpos; - if (jj_3R_214()) { - jj_scanpos = xsp; - if (jj_3R_215()) { - jj_scanpos = xsp; - if (jj_3R_216()) { - jj_scanpos = xsp; - if (jj_3R_217()) { - jj_scanpos = xsp; - if (jj_3R_218()) return true; - } - } - } - } + private boolean jj_3R_210() { + if (jj_scan_token(HZ)) return true; return false; } - private boolean jj_3R_212() { - if (jj_scan_token(DIMEN)) return true; + private boolean jj_3R_209() { + if (jj_scan_token(MS)) return true; return false; } @@ -6420,13 +6434,13 @@ LexicalUnitImpl result = null; return false; } - private boolean jj_3R_176() { - if (jj_3R_191()) return true; + private boolean jj_3R_208() { + if (jj_scan_token(SECOND)) return true; return false; } - private boolean jj_3R_211() { - if (jj_scan_token(KHZ)) return true; + private boolean jj_3R_176() { + if (jj_3R_191()) return true; return false; } @@ -6435,8 +6449,8 @@ LexicalUnitImpl result = null; return false; } - private boolean jj_3R_210() { - if (jj_scan_token(HZ)) return true; + private boolean jj_3R_207() { + if (jj_scan_token(GRAD)) return true; return false; } @@ -6450,18 +6464,18 @@ LexicalUnitImpl result = null; return false; } - private boolean jj_3R_209() { - if (jj_scan_token(MS)) return true; + private boolean jj_3R_206() { + if (jj_scan_token(RAD)) return true; return false; } - private boolean jj_3R_173() { - if (jj_3R_188()) return true; + private boolean jj_3R_205() { + if (jj_scan_token(DEG)) return true; return false; } - private boolean jj_3R_208() { - if (jj_scan_token(SECOND)) return true; + private boolean jj_3R_173() { + if (jj_3R_188()) return true; return false; } @@ -6489,13 +6503,13 @@ LexicalUnitImpl result = null; return false; } - private boolean jj_3R_207() { - if (jj_scan_token(GRAD)) return true; + private boolean jj_3R_204() { + if (jj_scan_token(EXS)) return true; return false; } - private boolean jj_3R_206() { - if (jj_scan_token(RAD)) return true; + private boolean jj_3R_203() { + if (jj_scan_token(EMS)) return true; return false; } @@ -6524,10 +6538,10 @@ LexicalUnitImpl result = null; jj_la1_0 = new int[] {0x0,0xc02,0xc02,0x0,0xc00,0x2,0x2,0x2,0x0,0xe8000000,0xc00,0x2,0xc00,0x2,0x0,0x2,0x0,0x2,0x2,0x2,0xe9f45400,0xe9f45400,0x2,0x400000,0x2,0x2,0x2,0x2,0x0,0x0,0x2,0x0,0x800000,0x2,0x0,0x2,0x2,0x2,0x2,0x0,0x800000,0x2,0x0,0x2,0x1f45400,0x2,0x2,0x1100000,0x2,0x1100000,0x1100002,0x2,0x80080002,0x80080002,0x2,0x2,0x2,0x2,0x2,0xe8000000,0x0,0x0,0x0,0xe8000000,0x2,0x400000,0x2,0x2,0x88000000,0x88000000,0x88000000,0x88000000,0x88000000,0x88000000,0x88000000,0x88000000,0x88000000,0x88000000,0xe8000000,0x0,0x0,0x0,0x0,0x60000000,0x2,0x2,0xfc000,0x2,0x0,0x2,0xfc000,0x0,0x2,0x2,0x0,0x2,0x0,0x2,0x800000,0x27380002,0x2,0xe8000000,0x0,0xe8000000,0x2,0x0,0x2,0x27380002,0x0,0x2,0xe8000000,0x0,0xe8000000,0x2,0x27380002,0x2,0x2,0x2,0x0,0x2,0xe8000000,0x0,0x0,0xe8000000,0x2,0x2,0x400000,0x2,0x2,0x2,0x2,0x0,0x2,0xe8000000,0x0,0x0,0xe8000000,0x2,0x400000,0x2,0x2,0x2,0x400000,0x0,0x0,0x80300000,0x2,0x0,0x400000,0x2,0x80300000,0x2,0x0,0x2,0x0,0x2,0x800000,0x2,0x2,0x2,0x0,0x2,0x2,0x2,0x400000,0x2,0x2,0x2,0x2,0x2,0x0,0x2,0x2,0x2,0x400000,0x2,0x2,0x2,0x2,0x2,0x0,0x2,0x2,0x2,0x400000,0x2,0x2,0x0,0x2,0x2,0x2,0x800000,0x2,0x2,0x0,0x800000,0x2,0x0,0x2,0x2,0x0,0x2,0x0,0x800000,0x2,0x0,0x2,0x80301000,0x2,0x0,0x2,0x2,0x2,0x2,0x4400000,0x4400000,0x300000,0x80300000,0x300000,0x0,0x80000000,0x80000000,0x80300000,0x2,0x2,0x80300000,0x2,0xe8000000,0x2,0x2,0x2,0x0,0x800000,0x2,0x0,0x2,}; } private static void jj_la1_init_1() { - jj_la1_1 = new int[] {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x283000c0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1c0,0x1c0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x40,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x100,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xc2,0xc2,0x0,0x0,0x0,0x0,0x0,0xa82000c0,0x0,0x20000000,0x88200000,0xc0,0x0,0x0,0x0,0x0,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0xc0,0x80,0x80,0x80,0x80,0x80,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x40,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x3f,0x0,0x802000c0,0x80200000,0xc0,0x0,0x40000000,0x0,0x3f,0x0,0x0,0x802000c0,0x80200000,0xc0,0x0,0x3f,0x0,0x0,0x0,0x0,0x0,0x802000c0,0x200000,0x80000000,0xc0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x882000c0,0x200000,0x88000000,0xc0,0x0,0x0,0x0,0x0,0x0,0x0,0x40,0x40,0x40,0x0,0x40,0x0,0x0,0x40,0x0,0x40,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0x0,0x0,0x0,0x60000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xc0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,}; + jj_la1_1 = new int[] {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x283000c0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1c0,0x1c0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x40,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x100,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xc2,0xc2,0x0,0x0,0x0,0x0,0x0,0xa82000c0,0x0,0x20000000,0x88200000,0xc0,0x0,0x0,0x0,0x0,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0xc0,0x80,0x80,0x80,0x80,0x80,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x40,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x3f,0x0,0x802000c0,0x80200000,0xc0,0x0,0x40000000,0x0,0x3f,0x0,0x0,0x802000c0,0x80200000,0xc0,0x0,0x3f,0x0,0x0,0x0,0x0,0x0,0x802000c0,0x200000,0x80000000,0xc0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x882000c0,0x200000,0x88000000,0xc0,0x0,0x0,0x0,0x0,0x0,0x0,0x40,0x40,0x40,0x0,0x40,0x0,0x0,0x40,0x0,0x40,0x0,0x80,0x0,0x0,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0x0,0x0,0x0,0x60000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xc0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,}; } private static void jj_la1_init_2() { - jj_la1_2 = new int[] {0x80000000,0x0,0x0,0x20000000,0x0,0x0,0x0,0x0,0x400,0x50000440,0x0,0x0,0x0,0x0,0x220,0x0,0x40,0x0,0x0,0x0,0xf0000ae0,0xf0000ae0,0x0,0x0,0x0,0x0,0x0,0x0,0x40,0x0,0x0,0x40,0x0,0x0,0x40,0x0,0x0,0x0,0x0,0x40,0x0,0x0,0x40,0x0,0xe0000aa0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xc0,0xc0,0x0,0x0,0x0,0x0,0x0,0x50000444,0x44,0x0,0x40000400,0x10000040,0x0,0x0,0x0,0x0,0x10000000,0x10000000,0x0,0x0,0x10000000,0x10000000,0x10000000,0x10000000,0x10000000,0x10000000,0x10000040,0x40,0x40,0x40,0x40,0x40,0x0,0x0,0x0,0x0,0x60,0x0,0x0,0x0,0x0,0x0,0x40,0x0,0x10,0x0,0x0,0x4c0,0x0,0x50000440,0x40000400,0x10000040,0x0,0x0,0x0,0x4c0,0x8,0x0,0x50000440,0x40000400,0x10000040,0x0,0x4c0,0x0,0x0,0x0,0x440,0x0,0x50000440,0x0,0x40000400,0x10000040,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x40,0x0,0x50000440,0x40000000,0x400,0x10000040,0x0,0x0,0x0,0x0,0x0,0x0,0x400,0x400,0x1ffffee0,0x0,0x0,0x0,0x0,0x1ffffee0,0x0,0x0,0x0,0x40,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x40,0x0,0x0,0x40,0x0,0x0,0x0,0x0,0x40,0x0,0x0,0x40,0x0,0x1ffffee0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1ffffee0,0x0,0xffff880,0x0,0x10000260,0x1ffffae0,0x0,0x0,0x1ffffee0,0x0,0x70000040,0x0,0x0,0x0,0x40,0x0,0x0,0x40,0x0,}; + jj_la1_2 = new int[] {0x80000000,0x0,0x0,0x20000000,0x0,0x0,0x0,0x0,0x400,0x50000440,0x0,0x0,0x0,0x0,0x220,0x0,0x40,0x0,0x0,0x0,0xf0000ae0,0xf0000ae0,0x0,0x0,0x0,0x0,0x0,0x0,0x40,0x0,0x0,0x40,0x0,0x0,0x40,0x0,0x0,0x0,0x0,0x40,0x0,0x0,0x40,0x0,0xe0000aa0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xc0,0xc0,0x0,0x0,0x0,0x0,0x0,0x50000444,0x44,0x0,0x40000400,0x10000040,0x0,0x0,0x0,0x0,0x10000000,0x10000000,0x0,0x0,0x10000000,0x10000000,0x10000000,0x10000000,0x10000000,0x10000000,0x10000040,0x40,0x40,0x40,0x40,0x40,0x0,0x0,0x0,0x0,0x60,0x0,0x0,0x0,0x0,0x0,0x40,0x0,0x10,0x0,0x0,0x4c0,0x0,0x50000440,0x40000400,0x10000040,0x0,0x0,0x0,0x4c0,0x8,0x0,0x50000440,0x40000400,0x10000040,0x0,0x4c0,0x0,0x0,0x0,0x440,0x0,0x50000440,0x0,0x40000400,0x10000040,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x40,0x0,0x50000440,0x40000000,0x400,0x10000040,0x0,0x0,0x0,0x0,0x0,0x0,0x400,0x400,0x1ffffee0,0x0,0x0,0x0,0x0,0x1ffffee0,0x0,0x0,0x0,0x440,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x40,0x0,0x0,0x40,0x0,0x0,0x0,0x0,0x40,0x0,0x0,0x40,0x0,0x1ffffee0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1ffffee0,0x0,0xffff880,0x0,0x10000260,0x1ffffae0,0x0,0x0,0x1ffffee0,0x0,0x70000040,0x0,0x0,0x0,0x40,0x0,0x0,0x40,0x0,}; } private static void jj_la1_init_3() { jj_la1_3 = new int[] {0x0,0x4,0x4,0x0,0x4,0x0,0x0,0x0,0x0,0x3,0x4,0x0,0x4,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x6200f,0x6200f,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x6200f,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x20000,0x20000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x20000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x20000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x22000,0x0,0x0,0x0,0x0,0x22000,0x0,0x0,0x0,0x20000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x8,0x0,0x0,0x0,0x0,0x0,0x0,0x22000,0x0,0x8,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x22000,0x0,0x20000,0x0,0x2000,0x22000,0x0,0x0,0x22000,0x0,0x3,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,}; diff --git a/theme-compiler/src/com/vaadin/sass/parser/Parser.jj b/theme-compiler/src/com/vaadin/sass/parser/Parser.jj index 92cb3e46c1..af53edb482 100644 --- a/theme-compiler/src/com/vaadin/sass/parser/Parser.jj +++ b/theme-compiler/src/com/vaadin/sass/parser/Parser.jj @@ -1576,12 +1576,18 @@ void includeDirective() : { <INCLUDE_SYM> (<S>)* - (name = property() + (name = property()|name = variableName(){ name = "$"+name;}|name = interpolation() |(name = functionName() args = argValuelist()) <RPARAN>)(";"(<S>)*)+ {documentHandler.includeDirective(name, args);} } +String interpolation() : +{ + Token n;
}
{ + n = < INTERPOLATION > + { + return n.image;
}
} void listModifyDirective() :
{ } |