Module Import alias Import alias Import alias Import alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr Str keyword Str keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Num keyword Str keyword ListLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr DictComp NameLoad Call NameLoad NameLoad comprehension TupleStore NameStore NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr
N/A N/A argparse N/A os.path N/A re N/A sys N/A Grammar N/A argp N/A N/A argparse ArgumentParser description Generate a testcase from a grammar N/A N/A N/A argp add_argument input type N/A N/A argparse FileType r help Input grammar definition N/A N/A N/A argp add_argument output type N/A N/A argparse FileType w nargs ? default N/A sys stdout help Output testcase N/A N/A N/A argp add_argument -f --function action append nargs 2 help Function used in the grammar (eg. -f filter lambda x:x.replace('x','y') default N/A N/A args N/A N/A argp parse_args N/A N/A args function N/A func N/A eval defn N/A N/A func defn N/A args function N/A N/A N/A N/A args output write N/A N/A N/A Grammar N/A N/A N/A args input read path N/A N/A N/A os path dirname N/A N/A args input name N/A args function generate