/**
* This method parses only one rule (style rule or at-rule, except
+ *
* @charset).
*
* @param source
&& (Character.isDigit(s.charAt(i)) || (s.charAt(i) == '.'))) {
i++;
}
+ /*
+ * result = LexicalUnitImpl.createDimen(n.beginLine,
+ * n.beginColumn, prev, Float.valueOf(s.substring(0,
+ * i)).floatValue(), s.substring(i));
+ */
result = LexicalUnitImpl.createDimen(n.beginLine,
- n.beginColumn, prev, Float.valueOf(s.substring(0, i))
- .floatValue(), s.substring(i));
+ n.beginColumn, prev, number(op, n, s.length() - i),
+ s.substring(i));
break;
case FUNCTION:
result = function(op, prev);
return false;
}
- private boolean jj_3R_299() {
- if (jj_scan_token(INTERPOLATION)) {
+ private boolean jj_3R_266() {
+ if (jj_3R_187()) {
return true;
}
return false;
}
- private boolean jj_3R_266() {
- if (jj_3R_187()) {
+ private boolean jj_3R_299() {
+ if (jj_scan_token(INTERPOLATION)) {
return true;
}
return false;
return false;
}
+ private boolean jj_3R_256() {
+ if (jj_scan_token(FUNCTION)) {
+ return true;
+ }
+ Token xsp;
+ while (true) {
+ xsp = jj_scanpos;
+ if (jj_scan_token(1)) {
+ jj_scanpos = xsp;
+ break;
+ }
+ }
+ xsp = jj_scanpos;
+ if (jj_3R_266()) {
+ jj_scanpos = xsp;
+ }
+ if (jj_scan_token(RPARAN)) {
+ return true;
+ }
+ return false;
+ }
+
private boolean jj_3R_263() {
Token xsp;
xsp = jj_scanpos;
return false;
}
- private boolean jj_3R_256() {
- if (jj_scan_token(FUNCTION)) {
+ private boolean jj_3R_180() {
+ if (jj_scan_token(COMMA)) {
return true;
}
Token xsp;
break;
}
}
- xsp = jj_scanpos;
- if (jj_3R_266()) {
- jj_scanpos = xsp;
- }
- if (jj_scan_token(RPARAN)) {
- return true;
- }
return false;
}
- private boolean jj_3R_180() {
- if (jj_scan_token(COMMA)) {
+ private boolean jj_3R_247() {
+ if (jj_3R_260()) {
return true;
}
- Token xsp;
- while (true) {
- xsp = jj_scanpos;
- if (jj_scan_token(1)) {
- jj_scanpos = xsp;
- break;
- }
- }
return false;
}
- private boolean jj_3R_247() {
- if (jj_3R_260()) {
+ private boolean jj_3R_246() {
+ if (jj_3R_259()) {
return true;
}
return false;
}
- private boolean jj_3R_298() {
- if (jj_scan_token(IDENT)) {
+ private boolean jj_3R_245() {
+ if (jj_3R_258()) {
return true;
}
return false;
}
- private boolean jj_3R_246() {
- if (jj_3R_259()) {
+ private boolean jj_3R_298() {
+ if (jj_scan_token(IDENT)) {
return true;
}
return false;
return false;
}
- private boolean jj_3R_245() {
- if (jj_3R_258()) {
- return true;
- }
- return false;
- }
-
private boolean jj_3R_297() {
if (jj_3R_219()) {
return true;
return false;
}
- private boolean jj_3R_196() {
- if (jj_3R_220()) {
- return true;
- }
- Token xsp;
- while (true) {
- xsp = jj_scanpos;
- if (jj_3R_273()) {
- jj_scanpos = xsp;
- break;
- }
- }
- return false;
- }
-
private boolean jj_3R_199() {
Token xsp;
xsp = jj_scanpos;
return false;
}
+ private boolean jj_3R_196() {
+ if (jj_3R_220()) {
+ return true;
+ }
+ Token xsp;
+ while (true) {
+ xsp = jj_scanpos;
+ if (jj_3R_273()) {
+ jj_scanpos = xsp;
+ break;
+ }
+ }
+ return false;
+ }
+
private boolean jj_3R_195() {
if (jj_3R_219()) {
return true;
return false;
}
+ private boolean jj_3R_258() {
+ if (jj_scan_token(HASH)) {
+ return true;
+ }
+ return false;
+ }
+
private boolean jj_3_1() {
if (jj_3R_176()) {
return true;
return false;
}
- private boolean jj_3R_258() {
- if (jj_scan_token(HASH)) {
- return true;
- }
- return false;
- }
-
private boolean jj_3_4() {
if (jj_3R_179()) {
return true;
return false;
}
- private boolean jj_3R_251() {
- if (jj_3R_186()) {
+ private boolean jj_3R_259() {
+ if (jj_scan_token(URL)) {
return true;
}
return false;
}
- private boolean jj_3R_259() {
- if (jj_scan_token(URL)) {
+ private boolean jj_3R_251() {
+ if (jj_3R_186()) {
return true;
}
return false;
return false;
}
+ private boolean jj_3R_260() {
+ if (jj_scan_token(UNICODERANGE)) {
+ return true;
+ }
+ return false;
+ }
+
private boolean jj_3R_255() {
Token xsp;
xsp = jj_scanpos;
return false;
}
- private boolean jj_3R_260() {
- if (jj_scan_token(UNICODERANGE)) {
- return true;
- }
- return false;
- }
-
private boolean jj_3_8() {
Token xsp;
xsp = jj_scanpos;