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