Exemple #1
0
def p_mapcss(p):
    'css : rule'
    p[0] = ast.MapCSS()
    p[0].append_rule(p[1])
Exemple #2
0
def p_mapcss_import(p):
    'css : import'
    p[0] = ast.MapCSS()
    p[0].append_import(p[1])
Exemple #3
0
def p_mapcss_supports(p):
    'css : supports'
    p[0] = ast.MapCSS()
    p[0].append_rule(p[1])