(command.CommandList children: [ (C {(set)} {(-o)} {(nounset)}) (C {(set)} {(-o)} {(pipefail)}) (C {(set)} {(-o)} {(errexit)}) (C {(source)} {(test/common.sh)}) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:OPYC spids:[43]) op: Equal rhs: { (word_part.BracedVarSub token: <VSub_Name OPYC> suffix_op: (suffix_op.StringUnary op_id: VTest_ColonHyphen arg_word: {(bin) (Lit_Slash /) (opyc)} ) spids: [44 50] ) } spids: [43] ) ] spids: [43] ) (command.Assignment keyword: Assign_Readonly pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:TMP_DIR spids:[55]) op: Equal rhs: {(_tmp/opy-test)} spids: [55] ) ] spids: [53] ) (C {(mkdir)} {(-p)} {($ VSub_DollarName '$TMP_DIR')}) (command.FuncDef name: usage body: (command.BraceGroup children: [ (C {(set)} {(Lit_Other '+') (o)} {(errexit)}) (C {(bin/opy_.py)}) (command.AndOr ops: [Op_DPipe] children: [(C {(test)} {($ VSub_QMark '$?')} {(-eq)} {(2)}) (C {(fail)})] ) (C {(bin/opy_.py)} {(--version)}) (command.AndOr ops: [Op_DPipe] children: [(C {(test)} {($ VSub_QMark '$?')} {(-eq)} {(0)}) (C {(fail)})] ) (C {(bin/opyc)}) (command.AndOr ops: [Op_DPipe] children: [(C {(test)} {($ VSub_QMark '$?')} {(-eq)} {(2)}) (C {(fail)})] ) (C {(bin/opyc)} {(invalid)}) (command.AndOr ops: [Op_DPipe] children: [(C {(test)} {($ VSub_QMark '$?')} {(-eq)} {(2)}) (C {(fail)})] ) (C {(bin/opyc)} {(--help)}) (command.AndOr ops: [Op_DPipe] children: [(C {(test)} {($ VSub_QMark '$?')} {(-eq)} {(0)}) (C {(fail)})] ) ] spids: [70] ) spids: [66 69] ) (command.FuncDef name: parse body: (command.BraceGroup children: [ (command.SimpleCommand words: [{(cat)}] redirects: [ (redir.Redir op: <Redir_Great '>'> fd: 16777215 arg_word: {($ VSub_DollarName '$TMP_DIR') (/hello.py)} ) (redir.HereDoc op: <Redir_DLess '<<'> fd: 16777215 here_begin: {(EOF)} here_end_span_id: 242 stdin_parts: [('print(1+2)\n')] ) ] ) (C {($ VSub_DollarName '$OPYC')} {(parse)} {($ VSub_DollarName '$TMP_DIR') (/hello.py)}) ] spids: [228] ) spids: [224 227] ) (command.FuncDef name: compile body: (command.BraceGroup children: [ (command.SimpleCommand words: [{(cat)}] redirects: [ (redir.Redir op: <Redir_Great '>'> fd: 16777215 arg_word: {($ VSub_DollarName '$TMP_DIR') (/loop.py)} ) (redir.HereDoc op: <Redir_DLess '<<'> fd: 16777215 here_begin: {(EOF)} here_end_span_id: 273 stdin_parts: [('for i in xrange(4):\n') (' print(i*i)\n')] ) ] ) (C {($ VSub_DollarName '$OPYC')} {(compile)} {($ VSub_DollarName '$TMP_DIR') (/loop.py)} {($ VSub_DollarName '$TMP_DIR') (/loop.opyc)} ) (command.SimpleCommand words: [{(python)} {($ VSub_DollarName '$TMP_DIR') (/loop.opyc)}] redirects: [(redir.Redir op:<Redir_Great '>'> fd:16777215 arg_word:{(out.txt)})] ) (command.AndOr ops: [Op_DPipe] children: [ (command.SimpleCommand words: [{(diff)} {(out.txt)} {(-)}] redirects: [ (redir.HereDoc op: <Redir_DLess '<<'> fd: 16777215 here_begin: {(EOF)} here_end_span_id: 320 stdin_parts: [('0\n') ('1\n') ('4\n') ('9\n')] ) ] ) (C {(fail)}) ] ) ] spids: [258] ) spids: [254 257] ) (command.Assignment keyword: Assign_Readonly flags: [-a] pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:PASSING spids:[328]) op: Equal rhs: {(word_part.ArrayLiteralPart words:[{(usage)} {(parse)} {(compile)}])} spids: [328] ) ] spids: [324] ) (command.FuncDef name: all-passing body: (command.BraceGroup children: [ (C {(run-all)} { (DQ (word_part.BracedVarSub token: <VSub_Name PASSING> bracket_op: (bracket_op.WholeArray op_id:Lit_At) spids: [353 358] ) ) } ) ] spids: [347] ) spids: [343 346] ) (command.FuncDef name: run-for-release body: (command.BraceGroup children: [ (command.SimpleCommand words: [ {($ VSub_Number '$0')} {(run-all)} { (DQ (word_part.BracedVarSub token: <VSub_Name PASSING> bracket_op: (bracket_op.WholeArray op_id:Lit_At) spids: [382 387] ) ) } ] more_env: [(env_pair name:OPYC val:{(_bin/opyc)} spids:[374])] ) ] spids: [371] ) spids: [367 370] ) (C {(DQ ($ VSub_At '$@'))}) ] )