break label_70;
}
}
+ exp = replaceNullValues(exp);
documentHandler.variable(name, exp, guarded);
} catch (JumpException e) {
skipAfterExpression();
}
}
+ LexicalUnitImpl replaceNullValues(LexicalUnitImpl unit) throws ParseException {
+ if(unit == null){
+ return null;
+ }
+ if (unit.getNextLexicalUnit() != null) {
+ unit.setNextLexicalUnit(replaceNullValues(unit.getNextLexicalUnit()));
+ }
+ if (unit.getLexicalUnitType() == SCSSLexicalUnit.SAC_IDENT
+ && "null".equals(unit.getStringValue())) {
+ LexicalUnitImpl next = unit.getNextLexicalUnit();
+ unit = LexicalUnitImpl.createNull(unit.getLineNumber(), unit.getColumnNumber(),
+ unit.getPreviousLexicalUnit());
+ unit.setNextLexicalUnit(next);
+ }
+ return unit;
+ }
+
final public void controlDirective() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case IF_SYM:
return false;
}
- private boolean jj_3R_218() {
- if (jj_3R_217()) return true;
- return false;
- }
-
private boolean jj_3R_182() {
Token xsp;
xsp = jj_scanpos;
return false;
}
+ private boolean jj_3R_218() {
+ if (jj_3R_217()) return true;
+ return false;
+ }
+
private boolean jj_3R_217() {
Token xsp;
xsp = jj_scanpos;
return false;
}
+ private boolean jj_3_7() {
+ if (jj_3R_186()) return true;
+ return false;
+ }
+
private boolean jj_3R_290() {
if (jj_scan_token(IDENT)) return true;
return false;
return false;
}
- private boolean jj_3_7() {
- if (jj_3R_186()) return true;
+ private boolean jj_3R_207() {
+ if (jj_scan_token(LBRACE)) return true;
return false;
}
return false;
}
- private boolean jj_3R_207() {
- if (jj_scan_token(LBRACE)) return true;
+ private boolean jj_3R_206() {
+ if (jj_3R_190()) return true;
return false;
}
return false;
}
- private boolean jj_3R_206() {
- if (jj_3R_190()) return true;
- return false;
- }
-
private boolean jj_3_6() {
if (jj_3R_185()) return true;
if (jj_scan_token(LBRACE)) return true;
return false;
}
- private boolean jj_3R_310() {
- if (jj_scan_token(STRING)) return true;
- return false;
- }
-
private boolean jj_3R_259() {
if (jj_scan_token(FUNCTION)) return true;
Token xsp;
return false;
}
+ private boolean jj_3R_250() {
+ if (jj_3R_263()) return true;
+ return false;
+ }
+
+ private boolean jj_3R_249() {
+ if (jj_3R_262()) return true;
+ return false;
+ }
+
+ private boolean jj_3R_248() {
+ if (jj_3R_261()) return true;
+ return false;
+ }
+
+ private boolean jj_3R_310() {
+ if (jj_scan_token(STRING)) return true;
+ return false;
+ }
+
private boolean jj_3R_308() {
if (jj_scan_token(STARMATCH)) return true;
return false;
return false;
}
- private boolean jj_3R_250() {
- if (jj_3R_263()) return true;
- return false;
- }
-
- private boolean jj_3R_249() {
- if (jj_3R_262()) return true;
- return false;
- }
-
- private boolean jj_3R_248() {
- if (jj_3R_261()) return true;
- return false;
- }
-
private boolean jj_3R_223() {
if (jj_scan_token(LBRACKET)) return true;
Token xsp;
return false;
}
+ private boolean jj_3R_183() {
+ if (jj_scan_token(COMMA)) return true;
+ Token xsp;
+ while (true) {
+ xsp = jj_scanpos;
+ if (jj_scan_token(1)) { jj_scanpos = xsp; break; }
+ }
+ return false;
+ }
+
private boolean jj_3R_302() {
if (jj_scan_token(INTERPOLATION)) return true;
return false;
return false;
}
+ private boolean jj_3R_260() {
+ if (jj_scan_token(DOT)) return true;
+ return false;
+ }
+
+ private boolean jj_3R_247() {
+ Token xsp;
+ xsp = jj_scanpos;
+ if (jj_3R_260()) jj_scanpos = xsp;
+ xsp = jj_scanpos;
+ if (jj_scan_token(72)) {
+ jj_scanpos = xsp;
+ if (jj_scan_token(49)) {
+ jj_scanpos = xsp;
+ if (jj_scan_token(50)) {
+ jj_scanpos = xsp;
+ if (jj_scan_token(52)) return true;
+ }
+ }
+ }
+ return false;
+ }
+
+ private boolean jj_3_5() {
+ Token xsp;
+ xsp = jj_scanpos;
+ if (jj_3R_183()) jj_scanpos = xsp;
+ if (jj_3R_184()) return true;
+ return false;
+ }
+
private boolean jj_3R_266() {
Token xsp;
xsp = jj_scanpos;
return false;
}
+ private boolean jj_3R_246() {
+ if (jj_scan_token(STRING)) return true;
+ return false;
+ }
+
private boolean jj_3R_219() {
Token xsp;
xsp = jj_scanpos;
return false;
}
- private boolean jj_3R_183() {
- if (jj_scan_token(COMMA)) return true;
- Token xsp;
- while (true) {
- xsp = jj_scanpos;
- if (jj_scan_token(1)) { jj_scanpos = xsp; break; }
- }
- return false;
- }
-
- private boolean jj_3R_301() {
- if (jj_scan_token(IDENT)) return true;
+ private boolean jj_3R_245() {
+ if (jj_3R_259()) return true;
return false;
}
- private boolean jj_3R_284() {
+ private boolean jj_3R_202() {
Token xsp;
xsp = jj_scanpos;
- if (jj_3R_301()) {
+ if (jj_3R_246()) {
jj_scanpos = xsp;
- if (jj_3R_302()) return true;
+ if (jj_3R_247()) {
+ jj_scanpos = xsp;
+ if (jj_3R_248()) {
+ jj_scanpos = xsp;
+ if (jj_3R_249()) {
+ jj_scanpos = xsp;
+ if (jj_3R_250()) return true;
+ }
+ }
+ }
}
return false;
}
- private boolean jj_3R_260() {
- if (jj_scan_token(DOT)) return true;
+ private boolean jj_3R_244() {
+ if (jj_scan_token(DIMEN)) return true;
return false;
}
- private boolean jj_3R_247() {
+ private boolean jj_3R_301() {
+ if (jj_scan_token(IDENT)) return true;
+ return false;
+ }
+
+ private boolean jj_3R_284() {
Token xsp;
xsp = jj_scanpos;
- if (jj_3R_260()) jj_scanpos = xsp;
- xsp = jj_scanpos;
- if (jj_scan_token(72)) {
- jj_scanpos = xsp;
- if (jj_scan_token(49)) {
- jj_scanpos = xsp;
- if (jj_scan_token(50)) {
+ if (jj_3R_301()) {
jj_scanpos = xsp;
- if (jj_scan_token(52)) return true;
- }
- }
+ if (jj_3R_302()) return true;
}
return false;
}
- private boolean jj_3_5() {
- Token xsp;
- xsp = jj_scanpos;
- if (jj_3R_183()) jj_scanpos = xsp;
- if (jj_3R_184()) return true;
+ private boolean jj_3R_243() {
+ if (jj_scan_token(KHZ)) return true;
return false;
}
return false;
}
- private boolean jj_3R_246() {
- if (jj_scan_token(STRING)) return true;
- return false;
- }
-
private boolean jj_3R_221() {
if (jj_scan_token(DOT)) return true;
Token xsp;
return false;
}
- private boolean jj_3R_245() {
- if (jj_3R_259()) return true;
+ private boolean jj_3R_242() {
+ if (jj_scan_token(HZ)) return true;
return false;
}
- private boolean jj_3R_202() {
- Token xsp;
- xsp = jj_scanpos;
- if (jj_3R_246()) {
- jj_scanpos = xsp;
- if (jj_3R_247()) {
- jj_scanpos = xsp;
- if (jj_3R_248()) {
- jj_scanpos = xsp;
- if (jj_3R_249()) {
- jj_scanpos = xsp;
- if (jj_3R_250()) return true;
- }
- }
- }
- }
+ private boolean jj_3R_298() {
+ if (jj_3R_221()) return true;
return false;
}
- private boolean jj_3R_298() {
- if (jj_3R_221()) return true;
+ private boolean jj_3R_241() {
+ if (jj_scan_token(MS)) return true;
return false;
}
return false;
}
- private boolean jj_3R_244() {
- if (jj_scan_token(DIMEN)) return true;
+ private boolean jj_3R_240() {
+ if (jj_scan_token(SECOND)) return true;
return false;
}
- private boolean jj_3R_243() {
- if (jj_scan_token(KHZ)) return true;
+ private boolean jj_3R_239() {
+ if (jj_scan_token(GRAD)) return true;
+ return false;
+ }
+
+ private boolean jj_3R_238() {
+ if (jj_scan_token(RAD)) return true;
+ return false;
+ }
+
+ private boolean jj_3R_237() {
+ if (jj_scan_token(DEG)) return true;
return false;
}
return false;
}
- private boolean jj_3R_242() {
- if (jj_scan_token(HZ)) return true;
+ private boolean jj_3R_236() {
+ if (jj_scan_token(EXS)) return true;
return false;
}
return false;
}
+ private boolean jj_3R_235() {
+ if (jj_scan_token(REM)) return true;
+ return false;
+ }
+
private boolean jj_3R_275() {
Token xsp;
xsp = jj_scanpos;
return false;
}
- private boolean jj_3R_241() {
- if (jj_scan_token(MS)) return true;
- return false;
- }
-
private boolean jj_3R_280() {
if (jj_3R_222()) return true;
return false;
return false;
}
- private boolean jj_3R_282() {
- if (jj_3R_223()) return true;
+ private boolean jj_3R_234() {
+ if (jj_scan_token(LEM)) return true;
return false;
}
- private boolean jj_3R_240() {
- if (jj_scan_token(SECOND)) return true;
+ private boolean jj_3R_282() {
+ if (jj_3R_223()) return true;
return false;
}
return false;
}
+ private boolean jj_3R_233() {
+ if (jj_scan_token(EMS)) return true;
+ return false;
+ }
+
private boolean jj_3R_273() {
Token xsp;
xsp = jj_scanpos;
return false;
}
- private boolean jj_3R_239() {
- if (jj_scan_token(GRAD)) return true;
+ private boolean jj_3R_232() {
+ if (jj_scan_token(PX)) return true;
return false;
}
- private boolean jj_3R_238() {
- if (jj_scan_token(RAD)) return true;
+ private boolean jj_3R_231() {
+ if (jj_scan_token(IN)) return true;
return false;
}
- private boolean jj_3R_237() {
- if (jj_scan_token(DEG)) return true;
+ private boolean jj_3R_230() {
+ if (jj_scan_token(PC)) return true;
return false;
}
- private boolean jj_3R_236() {
- if (jj_scan_token(EXS)) return true;
+ private boolean jj_3R_229() {
+ if (jj_scan_token(MM)) return true;
return false;
}
return false;
}
- private boolean jj_3R_235() {
- if (jj_scan_token(REM)) return true;
- return false;
- }
-
private boolean jj_3R_198() {
if (jj_3R_222()) return true;
Token xsp;
return false;
}
- private boolean jj_3R_279() {
- if (jj_3R_223()) return true;
+ private boolean jj_3R_228() {
+ if (jj_scan_token(CM)) return true;
return false;
}
- private boolean jj_3R_234() {
- if (jj_scan_token(LEM)) return true;
+ private boolean jj_3R_279() {
+ if (jj_3R_223()) return true;
return false;
}
return false;
}
+ private boolean jj_3R_227() {
+ if (jj_scan_token(PT)) return true;
+ return false;
+ }
+
private boolean jj_3R_196() {
if (jj_3R_220()) return true;
Token xsp;
return false;
}
- private boolean jj_3R_233() {
- if (jj_scan_token(EMS)) return true;
+ private boolean jj_3R_226() {
+ if (jj_scan_token(PERCENTAGE)) return true;
return false;
}
- private boolean jj_3R_232() {
- if (jj_scan_token(PX)) return true;
+ private boolean jj_3R_209() {
+ if (jj_3R_254()) return true;
return false;
}
return false;
}
- private boolean jj_3R_231() {
- if (jj_scan_token(IN)) return true;
+ private boolean jj_3R_225() {
+ if (jj_scan_token(NUMBER)) return true;
return false;
}
return false;
}
- private boolean jj_3R_230() {
- if (jj_scan_token(PC)) return true;
+ private boolean jj_3R_224() {
+ if (jj_3R_258()) return true;
return false;
}
return false;
}
- private boolean jj_3R_229() {
- if (jj_scan_token(MM)) return true;
- return false;
- }
-
- private boolean jj_3R_228() {
- if (jj_scan_token(CM)) return true;
- return false;
- }
-
- private boolean jj_3R_227() {
- if (jj_scan_token(PT)) return true;
- return false;
- }
-
- private boolean jj_3R_226() {
- if (jj_scan_token(PERCENTAGE)) return true;
- return false;
- }
-
- private boolean jj_3R_209() {
- if (jj_3R_254()) return true;
- return false;
- }
-
- private boolean jj_3R_225() {
- if (jj_scan_token(NUMBER)) return true;
- return false;
- }
-
- private boolean jj_3R_224() {
- if (jj_3R_258()) return true;
- return false;
- }
-
private boolean jj_3R_201() {
Token xsp;
xsp = jj_scanpos;
return false;
}
- private boolean jj_3_2() {
- if (jj_3R_180()) return true;
- if (jj_3R_181()) return true;
- return false;
- }
-
private boolean jj_3R_254() {
if (jj_3R_189()) return true;
return false;
return false;
}
- private boolean jj_3R_204() {
- if (jj_scan_token(COMMA)) return true;
- Token xsp;
- while (true) {
- xsp = jj_scanpos;
- if (jj_scan_token(1)) { jj_scanpos = xsp; break; }
- }
- if (jj_3R_203()) return true;
- return false;
- }
-
- private boolean jj_3R_251() {
- if (jj_3R_181()) return true;
+ private boolean jj_3R_208() {
+ if (jj_3R_184()) return true;
return false;
}
- private boolean jj_3R_203() {
+ private boolean jj_3R_187() {
Token xsp;
xsp = jj_scanpos;
- if (jj_3R_251()) {
+ if (jj_3R_208()) {
jj_scanpos = xsp;
- if (jj_3R_252()) return true;
- }
- while (true) {
- xsp = jj_scanpos;
- if (jj_3_2()) { jj_scanpos = xsp; break; }
- }
- while (true) {
- xsp = jj_scanpos;
- if (jj_scan_token(1)) { jj_scanpos = xsp; break; }
+ if (jj_3R_209()) return true;
}
return false;
}
- private boolean jj_3R_208() {
- if (jj_3R_184()) return true;
+ private boolean jj_3_9() {
+ if (jj_3R_188()) return true;
return false;
}
- private boolean jj_3R_187() {
+ private boolean jj_3_2() {
+ if (jj_3R_180()) return true;
+ if (jj_3R_181()) return true;
+ return false;
+ }
+
+ private boolean jj_3R_204() {
+ if (jj_scan_token(COMMA)) return true;
Token xsp;
- xsp = jj_scanpos;
- if (jj_3R_208()) {
- jj_scanpos = xsp;
- if (jj_3R_209()) return true;
+ while (true) {
+ xsp = jj_scanpos;
+ if (jj_scan_token(1)) { jj_scanpos = xsp; break; }
}
+ if (jj_3R_203()) return true;
return false;
}
- private boolean jj_3_9() {
- if (jj_3R_188()) return true;
+ private boolean jj_3R_251() {
+ if (jj_3R_181()) return true;
return false;
}
return false;
}
- private boolean jj_3_1() {
- if (jj_3R_179()) return true;
+ private boolean jj_3R_263() {
+ if (jj_scan_token(UNICODERANGE)) return true;
return false;
}
- private boolean jj_3R_185() {
- if (jj_3R_203()) return true;
+ private boolean jj_3R_203() {
Token xsp;
+ xsp = jj_scanpos;
+ if (jj_3R_251()) {
+ jj_scanpos = xsp;
+ if (jj_3R_252()) return true;
+ }
while (true) {
xsp = jj_scanpos;
- if (jj_3R_204()) { jj_scanpos = xsp; break; }
+ if (jj_3_2()) { jj_scanpos = xsp; break; }
+ }
+ while (true) {
+ xsp = jj_scanpos;
+ if (jj_scan_token(1)) { jj_scanpos = xsp; break; }
}
- return false;
- }
-
- private boolean jj_3R_263() {
- if (jj_scan_token(UNICODERANGE)) return true;
return false;
}
return false;
}
+ private boolean jj_3_1() {
+ if (jj_3R_179()) return true;
+ return false;
+ }
+
+ private boolean jj_3R_185() {
+ if (jj_3R_203()) return true;
+ Token xsp;
+ while (true) {
+ xsp = jj_scanpos;
+ if (jj_3R_204()) { jj_scanpos = xsp; break; }
+ }
+ return false;
+ }
+
private boolean jj_3R_215() {
if (jj_scan_token(MINUS)) return true;
Token xsp;
return false;
}
- private boolean jj_3R_265() {
- if (jj_scan_token(INTERPOLATION)) return true;
- return false;
- }
-
private boolean jj_3_3() {
if (jj_3R_179()) return true;
return false;
return false;
}
- private boolean jj_3R_192() {
- if (jj_scan_token(SEMICOLON)) return true;
- Token xsp;
- while (true) {
- xsp = jj_scanpos;
- if (jj_scan_token(1)) { jj_scanpos = xsp; break; }
- }
- return false;
- }
-
private boolean jj_3R_210() {
if (jj_scan_token(COMMA)) return true;
Token xsp;
return false;
}
+ private boolean jj_3R_265() {
+ if (jj_scan_token(INTERPOLATION)) return true;
+ return false;
+ }
+
+ private boolean jj_3R_216() {
+ if (jj_scan_token(GUARDED_SYM)) return true;
+ Token xsp;
+ while (true) {
+ xsp = jj_scanpos;
+ if (jj_scan_token(1)) { jj_scanpos = xsp; break; }
+ }
+ return false;
+ }
+
+ private boolean jj_3R_192() {
+ if (jj_scan_token(SEMICOLON)) return true;
+ Token xsp;
+ while (true) {
+ xsp = jj_scanpos;
+ if (jj_scan_token(1)) { jj_scanpos = xsp; break; }
+ }
+ return false;
+ }
+
private boolean jj_3R_189() {
if (jj_scan_token(VARIABLE)) return true;
Token xsp;
return false;
}
- private boolean jj_3R_216() {
- if (jj_scan_token(GUARDED_SYM)) return true;
- Token xsp;
- while (true) {
- xsp = jj_scanpos;
- if (jj_scan_token(1)) { jj_scanpos = xsp; break; }
- }
- return false;
- }
-
private boolean jj_3R_191() {
if (jj_3R_216()) return true;
return false;