public final void important() throws RecognitionException { try { // CSSTreeParser.g:588:5: ( IMPORTANT ) // CSSTreeParser.g:588:7: IMPORTANT { match(input,IMPORTANT,FOLLOW_IMPORTANT_in_important1160); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } } // $ANTLR end "important"
public final void important() throws RecognitionException { try { // cz/vutbr/web/csskit/antlr/CSSTreeParser.g:373:5: ( IMPORTANT ) // cz/vutbr/web/csskit/antlr/CSSTreeParser.g:373:7: IMPORTANT { match(input,IMPORTANT,FOLLOW_IMPORTANT_in_important846); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } return ; } // $ANTLR end "important"
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"
public final cz.vutbr.web.css.RuleBlock<?> unknown_atrule() throws RecognitionException { cz.vutbr.web.css.RuleBlock<?> stmnt = null; stmnt = null; try { // CSSTreeParser.g:348:5: ( INVALID_ATSTATEMENT ) // CSSTreeParser.g:348:7: INVALID_ATSTATEMENT { match(input,INVALID_ATSTATEMENT,FOLLOW_INVALID_ATSTATEMENT_in_unknown_atrule564); debug("Skipping invalid at statement"); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } return stmnt; } // $ANTLR end "unknown_atrule"
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"
public final String namespace_prefix() throws RecognitionException { String prf = null; CommonTree i=null; try { // CSSTreeParser.g:357:3: ( (i= IDENT ) ) // CSSTreeParser.g:357:5: (i= IDENT ) { // CSSTreeParser.g:357:5: (i= IDENT ) // CSSTreeParser.g:357:6: i= IDENT { i=(CommonTree)match(input,IDENT,FOLLOW_IDENT_in_namespace_prefix623); } prf = extractText(i); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } return prf; } // $ANTLR end "namespace_prefix"
i=(CommonTree)match(input,IDENT,FOLLOW_IDENT_in_media538);
i=(CommonTree)match(input,IDENT,FOLLOW_IDENT_in_property1200); declaration_stack.peek().d.setProperty(extractText(i)); declaration_stack.peek().d.setSource(extractSource(i)); match(input,MINUS,FOLLOW_MINUS_in_property1208); i=(CommonTree)match(input,IDENT,FOLLOW_IDENT_in_property1214); declaration_stack.peek().d.setProperty("-" + extractText(i)); declaration_stack.peek().d.setSource(extractSource(i));