def dump_oper(oper): m = operation_pat.match(oper) if m: g = m.group else: # set name to oper return if g("params"): params = g("params") while params: m = parameter_pat.match(params) g = m.group params = g("rest")
def dump_oper(oper): m = operation_pat.match(oper) if m: g = m.group else: # set name to oper return # print g('vis'), g('name'), g('type'), g('mult_l'), g('mult_u'), g('tags') if g("params"): params = g("params") while params: m = parameter_pat.match(params) g = m.group # print ' ', g('dir') or 'in', g('name'), g('type'), g('mult_l'), g('mult_u'), g('default'), g('tags') params = g("rest")
def dump_oper(oper): m = operation_pat.match(oper) if m: g = m.group else: # set name to oper return #print g('vis'), g('name'), g('type'), g('mult_l'), g('mult_u'), g('tags') if g('params'): params = g('params') while params: m = parameter_pat.match(params) g = m.group #print ' ', g('dir') or 'in', g('name'), g('type'), g('mult_l'), g('mult_u'), g('default'), g('tags') params = g('rest')