(CommandList children: [ (C {(set)} {(-o)} {(errexit)}) (C {(set)} {(-o)} {(nounset)}) (C {(set)} {(-o)} {(pipefail)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:BASH_DIR) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [(C {(dirname)} {(DQ (${ VSub_Name BASH_SOURCE))})] ) left_token: <Left_CommandSub '$('> spids: [71 79] ) } spids: [70] ) ] spids: [70] ) (FuncDef name: find_go_files body: (BraceGroup children: [ (C {(find)} {(.)} {(-maxdepth)} {(1)} {(-not)} {(EscapedLiteralPart token:<Lit_EscapedChar '\\('>)} {(EscapedLiteralPart token:<Lit_EscapedChar '\\('>)} {(-wholename)} {(SQ <./doc.go>)} {(EscapedLiteralPart token:<Lit_EscapedChar '\\)'>)} {(-prune)} {(EscapedLiteralPart token:<Lit_EscapedChar '\\)'>)} {(-name)} {(SQ <'*.go'>)} ) ] spids: [86] ) spids: [82 85] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:ret) op:Equal rhs:{(0)} spids:[132])] spids: [132] ) (SimpleCommand words: [{(pushd)} {(DQ (${ VSub_Name BASH_DIR))}] redirects: [(Redir op_id:Redir_Great fd:16777215 arg_word:{(/dev/null)} spids:[144])] ) (ForEach iter_name: path iter_words: [ { (CommandSubPart command_list: (CommandList children:[(C {(find_go_files)})]) left_token: <Left_Backtick '`'> spids: [155 157] ) } ] do_arg_iter: False body: (DoGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:file) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [(C {(basename)} {($ VSub_Name '$path')})] ) left_token: <Left_CommandSub '$('> spids: [164 168] ) } spids: [163] ) ] spids: [163] ) (SimpleCommand words: [ {(echo)} { (DQ ('Found pkg/util/') (${ VSub_Name file) (', but should be moved into util sub-pkgs.') ) } ] redirects: [(Redir op_id:Redir_GreatAnd fd:1 arg_word:{(2)} spids:[181])] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:ret) op:Equal rhs:{(1)} spids:[185])] spids: [185] ) ] spids: [160 189] ) spids: [154 158] ) (SimpleCommand words: [{(popd)}] redirects: [(Redir op_id:Redir_Great fd:16777215 arg_word:{(/dev/null)} spids:[193])] ) (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id:Redir_Great left:{(${ VSub_Name ret)} right:{(0)}) ) terminator: <Op_Semi ';'> ) ] action: [(C {(exit)} {(${ VSub_Name ret)})] spids: [16777215 213] ) ] spids: [16777215 222] ) (C {(echo)} {(DQ ('Util Package Verified.'))}) ] )