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