(command.CommandList children: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:DIR) op: Equal rhs: { (DQ (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DAmp] children: [ (C {(cd)} { (DQ (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(dirname)} { (DQ (word_part.BracedVarSub token: <VSub_Name BASH_SOURCE> bracket_op: (bracket_op.ArrayIndex expr: (arith_expr.ArithWord w:{(Lit_Digits 0)}) ) ) ) } ) ] ) left_token: <Left_CommandSub '$('> ) ) } ) (C {(pwd)}) ] ) ] ) left_token: <Left_CommandSub '$('> ) ) } ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.BoolUnary op_id: BoolUnary_f child: {($ VSub_DollarName '$DIR') (/share.sh)} ) ) terminator: <Op_Semi ';'> ) ] action: [(C {(.)} {(DQ ($ VSub_DollarName '$DIR') (/share.sh))})] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.BoolUnary op_id: BoolUnary_f child: {($ VSub_DollarName '$DIR') (/share)} ) ) terminator: <Op_Semi ';'> ) ] action: [(C {(.)} {(DQ ($ VSub_DollarName '$DIR') (/share))})] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(Lit_Other '[')} {(-z)} {(DQ ($ VSub_DollarName '$OCAMLC'))} {(Lit_Other ']')}) terminator: <Op_Semi ';'> ) ] action: [ (command.Assignment keyword: Assign_None pairs: [(assign_pair lhs:(lhs_expr.LhsName name:OCAMLC) op:Equal rhs:{(DQ (ocamlc.opt))})] ) ] ) ] ) (C {($ VSub_DollarName '$OCAMLC')} {(DQ ($ VSub_At '$@'))}) ] )