Exemple #1
0
def p_properties(p):
    """properties : properties property \n|"""
    p[0] = twolist(p)
Exemple #2
0
def p_attrlist(p):
    """attrlist : attribute c attrlist \n|"""
    p[0] = twolist(p, new=1, list=3)
Exemple #3
0
def p_path(p):
    """path : path DOTNAME \n| DOTNAME"""
    p[0] = twolist(p, initial=1)