Example #1
0
def p_selector_zoom_empty_subpart(p):
    'selector : SUBJECT ZOOM SUBPART'
    p[0] = [ast.Selector(subject=p[1], zoom=p[2], subpart=p[3])]
Example #2
0
def p_selector_zoom_empty(p):
    'selector : SUBJECT ZOOM'
    p[0] = [ast.Selector(subject=p[1], zoom=p[2])]
Example #3
0
def p_selector_empty_subpart(p):
    'selector : SUBJECT SUBPART'
    p[0] = [ast.Selector(subject=p[1], subpart=p[2])]
Example #4
0
def p_selector_empty(p):
    'selector : SUBJECT'
    p[0] = [ast.Selector(subject=p[1])]