public final RuleMargin margin() throws RecognitionException { RuleMargin m = null; CommonTree area=null; List<Declaration> decl =null; logEnter("margin"); try { // cz/vutbr/web/csskit/antlr/CSSTreeParser.g:254:2: ( ^(area= MARGIN_AREA decl= declarations ) ) // cz/vutbr/web/csskit/antlr/CSSTreeParser.g:254:4: ^(area= MARGIN_AREA decl= declarations ) { area=(CommonTree)match(input,MARGIN_AREA,FOLLOW_MARGIN_AREA_in_margin498); match(input, Token.DOWN, null); pushFollow(FOLLOW_declarations_in_margin504); decl=declarations(); state._fsp--; match(input, Token.UP, null); m = preparator.prepareRuleMargin(extractText(area).substring(1), decl); } logLeave("margin"); } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } return m; } // $ANTLR end "margin"
stmnt = preparator.prepareRuleSet(cslist, decl, !((statement_scope)statement_stack.peek()).insideAtstatement && !imports.isEmpty() && imports.peek().doWrap(), imports.isEmpty() ? null : imports.peek().media);
String name = null; String pseudo = null; Priority mark = preparator.markPriority(); stmnt = preparator.prepareRulePage(decl, margins, name, pseudo); stmnt = preparator.prepareRuleViewport(decl); stmnt = preparator.prepareRuleFontFace(decl); stmnt = preparator.prepareRuleMedia(mark, rules, mediaList);
RuleBlock<?> rb = preparator.prepareInlineRuleSet(decl, null); if(rb!=null) { sheet.add(rb); sheet.markLast(preparator.markPriority()); logLeave("inlinestyle");
is = preparator.prepareInlineRuleSet(decl, pplist);
sheet.markLast(preparator.markPriority()); logLeave("stylesheet");
stmnt = preparator.prepareRulePage(decl, margins, name, pseudo); this.preventImports = true; stmnt = preparator.prepareRuleViewport(decl); this.preventImports = true; stmnt = preparator.prepareRuleFontFace(decl); this.preventImports = true; stmnt = preparator.prepareRuleMedia(rules, mediaList); this.preventImports = true;
is = preparator.prepareInlineRuleSet(decl, pplist);
cz.vutbr.web.css.RuleBlock<?> rb = preparator.prepareInlineRuleSet(decl, null); if(rb!=null) { rules.add(rb);
public final cz.vutbr.web.css.RuleMargin margin() throws RecognitionException { cz.vutbr.web.css.RuleMargin m = null; CommonTree area=null; List<cz.vutbr.web.css.Declaration> decl =null; logEnter("margin"); try { // CSSTreeParser.g:372:2: ( ^(area= MARGIN_AREA decl= declarations ) ) // CSSTreeParser.g:372:4: ^(area= MARGIN_AREA decl= declarations ) { area=(CommonTree)match(input,MARGIN_AREA,FOLLOW_MARGIN_AREA_in_margin692); match(input, Token.DOWN, null); pushFollow(FOLLOW_declarations_in_margin698); decl=declarations(); state._fsp--; match(input, Token.UP, null); m = preparator.prepareRuleMargin(extractText(area).substring(1), decl); } logLeave("margin"); } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } return m; } // $ANTLR end "margin"
stmnt = preparator.prepareRuleSet(cslist, decl, (this.wrapMedia != null && !this.wrapMedia.isEmpty()), this.wrapMedia); this.preventImports = true;