(command.CommandList children: [ (command.AndOr ops: [Op_DAmp] children: [ (C {(Lit_Other '[')} { (word_part.BracedVarSub token: <VSub_Name VARIABLES_ARRAYLIST_SH> suffix_op: (suffix_op.StringUnary op_id:VTest_Plus arg_word:{(true)}) ) } {(Lit_Other ']')} ) (command.ControlFlow token:<ControlFlow_Return return>) ] ) (command.Assignment keyword: Assign_Declare flags: [-g] pairs: [(assign_pair lhs:(lhs_expr.LhsName name:VARIABLES_ARRAYLIST_SH) op:Equal rhs:{(true)})] ) (C {(.)} { (word_part.BracedVarSub token: <VSub_Name BASH_SOURCE> suffix_op: (suffix_op.StringUnary op_id:VOp1_Percent arg_word:{(Lit_Slash /) ('*')}) ) (/common.sh) } ) (C {(.)} { (word_part.BracedVarSub token: <VSub_Name BASH_SOURCE> suffix_op: (suffix_op.StringUnary op_id:VOp1_Percent arg_word:{(Lit_Slash /) ('*')}) ) (/logger.sh) } ) (C {(.)} { (word_part.BracedVarSub token: <VSub_Name BASH_SOURCE> suffix_op: (suffix_op.StringUnary op_id:VOp1_Percent arg_word:{(Lit_Slash /) ('*')}) ) (/variables.sh) } ) (C {(.)} { (word_part.BracedVarSub token: <VSub_Name BASH_SOURCE> suffix_op: (suffix_op.StringUnary op_id:VOp1_Percent arg_word:{(Lit_Slash /) ('*')}) ) (/variables.atom.sh) } ) (C {(variable) (Lit_Other ':') (Lit_Other ':') (type) (Lit_Other ':') (Lit_Other ':') (define)} {(ArrayList)} ) (command.FuncDef name: 'variable::ArrayList::new' body: (command.BraceGroup children: [ (C {(variable) (Lit_Other ':') (Lit_Other ':') (new)} {(ArrayList)} {(DQ (${ VSub_At '@'))}) ] ) ) (command.FuncDef name: 'variable::ArrayList::append' body: (command.BraceGroup children: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: {(${ VSub_Name VARIABLES_DEBUG)} right: {(1)} ) ) terminator: <Op_Semi ';'> ) ] action: [ (command.Sentence child: (C {(stderr)} {(DQ ('variable::ArrayList::append ') (${ VSub_At '@'))}) terminator: <Op_Semi ';'> ) ] ) ] ) (command.Assignment keyword: Assign_Declare pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:list_token) op: Equal rhs: {($ VSub_Number '$1')} ) ] ) (command.Assignment keyword: Assign_Declare pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:value_token) op: Equal rhs: {($ VSub_Number '$2')} ) ] ) (C {(variable) (Lit_Other ':') (Lit_Other ':') (type) (Lit_Other ':') (Lit_Other ':') (instanceOfOrExit) } {(DQ (${ VSub_Name list_token))} {(ArrayList)} ) (command.Assignment keyword: Assign_Declare flags: [-a] pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:list_value) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.BracedVarSub token: <VSub_Name VARIABLES_VALUES> bracket_op: (bracket_op.ArrayIndex expr: (arith_expr.ArithWord w:{($ VSub_DollarName '$list_token')}) ) ) } ] ) } ) ] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:list_value) op: PlusEqual rhs: {(word_part.ArrayLiteralPart words:[{(${ VSub_Name value_token)}])} ) ] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsIndexedName name: VARIABLES_VALUES index: (arith_expr.ArithWord w:{($ VSub_DollarName '$list_token')}) ) op: Equal rhs: { (word_part.BracedVarSub token: <VSub_Name list_value> bracket_op: (bracket_op.WholeArray op_id:Lit_At) ) } ) ] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:RESULT) op: Equal rhs: { (word_part.BracedVarSub token: <VSub_Name list_value> prefix_op: VSub_Pound bracket_op: (bracket_op.WholeArray op_id:Lit_At) ) } ) ] ) ] ) ) (command.FuncDef name: 'variable::ArrayList::prepend' body: (command.BraceGroup children: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: {(${ VSub_Name VARIABLES_DEBUG)} right: {(1)} ) ) terminator: <Op_Semi ';'> ) ] action: [ (command.Sentence child: (C {(stderr)} {(DQ ('variable::ArrayList::prepend ') (${ VSub_At '@'))}) terminator: <Op_Semi ';'> ) ] ) ] ) (command.Assignment keyword: Assign_Declare pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:list_token) op: Equal rhs: {($ VSub_Number '$1')} ) ] ) (command.Assignment keyword: Assign_Declare pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:value_token) op: Equal rhs: {($ VSub_Number '$2')} ) ] ) (C {(variable) (Lit_Other ':') (Lit_Other ':') (type) (Lit_Other ':') (Lit_Other ':') (instanceOfOrExit) } {(DQ (${ VSub_Name list_token))} {(ArrayList)} ) (command.Assignment keyword: Assign_Declare flags: [-a] pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:list_value) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.BracedVarSub token: <VSub_Name VARIABLES_VALUES> bracket_op: (bracket_op.ArrayIndex expr: (arith_expr.ArithWord w:{($ VSub_DollarName '$list_token')}) ) ) } ] ) } ) ] ) (command.Assignment keyword: Assign_Declare flags: [-a] pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:new_value) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ {(DQ (${ VSub_Name value_token))} { (DQ (word_part.BracedVarSub token: <VSub_Name list_value> bracket_op: (bracket_op.WholeArray op_id:Lit_At) suffix_op: (suffix_op.StringUnary op_id: VTest_ColonPlus arg_word: { (word_part.BracedVarSub token: <VSub_Name list_value> bracket_op: (bracket_op.WholeArray op_id:Lit_At) ) } ) ) ) } ] ) } ) ] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsIndexedName name: VARIABLES_VALUES index: (arith_expr.ArithWord w:{($ VSub_DollarName '$list_token')}) ) op: Equal rhs: { (word_part.BracedVarSub token: <VSub_Name new_value> bracket_op: (bracket_op.WholeArray op_id:Lit_At) ) } ) ] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:RESULT) op: Equal rhs: { (word_part.BracedVarSub token: <VSub_Name list_value> prefix_op: VSub_Pound bracket_op: (bracket_op.WholeArray op_id:Lit_At) ) } ) ] ) ] ) ) (command.FuncDef name: 'variable::ArrayList::length' body: (command.BraceGroup children: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: {(${ VSub_Name VARIABLES_DEBUG)} right: {(1)} ) ) terminator: <Op_Semi ';'> ) ] action: [ (command.Sentence child: (C {(stderr)} {(DQ ('variable::ArrayList::length ') (${ VSub_At '@'))}) terminator: <Op_Semi ';'> ) ] ) ] ) (command.Assignment keyword: Assign_Declare pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:list_token) op: Equal rhs: {($ VSub_Number '$1')} ) ] ) (C {(variable) (Lit_Other ':') (Lit_Other ':') (type) (Lit_Other ':') (Lit_Other ':') (instanceOfOrExit) } {(DQ (${ VSub_Name list_token))} {(ArrayList)} ) (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (value)} {(DQ (${ VSub_Name list_token))}) terminator: <Op_Semi ';'> ) (command.Assignment keyword: Assign_Declare flags: [-a] pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:value) op: Equal rhs: {(word_part.ArrayLiteralPart words:[{(DQ (${ VSub_Name RESULT))}])} ) ] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:RESULT) op: Equal rhs: { (DQ (word_part.BracedVarSub token: <VSub_Name value> prefix_op: VSub_Pound bracket_op: (bracket_op.WholeArray op_id:Lit_At) ) ) } ) ] ) ] ) ) (command.FuncDef name: 'variable::ArrayList::index' body: (command.BraceGroup children: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: {(${ VSub_Name VARIABLES_DEBUG)} right: {(1)} ) ) terminator: <Op_Semi ';'> ) ] action: [ (command.Sentence child: (C {(stderr)} {(DQ ('variables_list::index ') (${ VSub_At '@'))}) terminator: <Op_Semi ';'> ) ] ) ] ) (command.Assignment keyword: Assign_Declare pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:list_token) op: Equal rhs: {($ VSub_Number '$1')} ) ] ) (C {(variable) (Lit_Other ':') (Lit_Other ':') (type) (Lit_Other ':') (Lit_Other ':') (instanceOfOrExit) } {(DQ (${ VSub_Name list_token))} {(ArrayList)} ) (command.Assignment keyword: Assign_Declare pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:index) op: Equal rhs: {($ VSub_Number '$2')} ) ] ) (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (value)} {(DQ (${ VSub_Name list_token))}) terminator: <Op_Semi ';'> ) (command.Assignment keyword: Assign_Declare flags: [-a] pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:value) op: Equal rhs: {(word_part.ArrayLiteralPart words:[{(${ VSub_Name RESULT)}])} ) ] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:RESULT) op: Equal rhs: { (word_part.BracedVarSub token: <VSub_Name value> bracket_op: (bracket_op.ArrayIndex expr: (arith_expr.ArithWord w:{($ VSub_DollarName '$index')}) ) ) } ) ] ) ] ) ) (command.FuncDef name: '_variable::ArrayList::index_p' body: (command.BraceGroup children: [ (C {(variable) (Lit_Other ':') (Lit_Other ':') (ArrayList) (Lit_Other ':') (Lit_Other ':') (index) } {(DQ (${ VSub_At '@'))} ) (C {(echo)} {(DQ ($ VSub_DollarName '$RESULT'))}) ] ) ) (command.FuncDef name: 'variable::ArrayList::first' body: (command.BraceGroup children: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: {(${ VSub_Name VARIABLES_DEBUG)} right: {(1)} ) ) terminator: <Op_Semi ';'> ) ] action: [ (command.Sentence child: (C {(stderr)} {(DQ ('variable::ArrayList::first ') (${ VSub_At '@'))}) terminator: <Op_Semi ';'> ) ] ) ] ) (command.Assignment keyword: Assign_Declare pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:list_token) op: Equal rhs: {($ VSub_Number '$1')} ) ] ) (C {(variable) (Lit_Other ':') (Lit_Other ':') (type) (Lit_Other ':') (Lit_Other ':') (instanceOfOrExit) } {(DQ (${ VSub_Name list_token))} {(ArrayList)} ) (C {(variable) (Lit_Other ':') (Lit_Other ':') (ArrayList) (Lit_Other ':') (Lit_Other ':') (index) } {(${ VSub_Name list_token)} {(0)} ) ] ) ) (command.FuncDef name: '_variable::ArrayList::first_p' body: (command.BraceGroup children: [ (C {(variable) (Lit_Other ':') (Lit_Other ':') (ArrayList) (Lit_Other ':') (Lit_Other ':') (first) } {(DQ (${ VSub_At '@'))} ) (C {(echo)} {(DQ (${ VSub_Name RESULT))}) ] ) ) (command.FuncDef name: 'variable::ArrayList::rest' body: (command.BraceGroup children: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: {(${ VSub_Name VARIABLES_DEBUG)} right: {(1)} ) ) terminator: <Op_Semi ';'> ) ] action: [ (command.Sentence child: (C {(stderr)} {(DQ ('variable::ArrayList::rest ') (${ VSub_At '@'))}) terminator: <Op_Semi ';'> ) ] ) ] ) (command.Assignment keyword: Assign_Declare pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:list_token) op: Equal rhs: {($ VSub_Number '$1')} ) ] ) (C {(variable) (Lit_Other ':') (Lit_Other ':') (type) (Lit_Other ':') (Lit_Other ':') (instanceOfOrExit) } {(DQ (${ VSub_Name list_token))} {(ArrayList)} ) (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (value)} {(DQ (${ VSub_Name list_token))}) terminator: <Op_Semi ';'> ) (command.Assignment keyword: Assign_Declare flags: [-a] pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:values) op: Equal rhs: {(word_part.ArrayLiteralPart words:[{($ VSub_DollarName '$RESULT')}])} ) ] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:RESULT) op: Equal rhs: { (DQ (word_part.BracedVarSub token: <VSub_Name values> bracket_op: (bracket_op.WholeArray op_id:Lit_At) suffix_op: (suffix_op.Slice begin:(arith_expr.ArithWord w:{(Lit_Digits 1)})) ) ) } ) ] ) ] ) ) (command.FuncDef name: '_variable::ArrayList::rest_p' body: (command.BraceGroup children: [ (C {(variable) (Lit_Other ':') (Lit_Other ':') (ArrayList) (Lit_Other ':') (Lit_Other ':') (rest) } {(DQ (${ VSub_At '@'))} ) (C {(echo)} {(DQ (${ VSub_Name RESULT))}) ] ) ) (command.FuncDef name: 'variable::ArrayList::isEmpty_c' body: (command.BraceGroup children: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: {(${ VSub_Name VARIABLES_DEBUG)} right: {(1)} ) ) terminator: <Op_Semi ';'> ) ] action: [ (command.Sentence child: (C {(stderr)} {(DQ ('variable::ArrayList::isEmpty_c ') (${ VSub_At '@'))}) terminator: <Op_Semi ';'> ) ] ) ] ) (command.Assignment keyword: Assign_Declare pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:token) op: Equal rhs: {(DQ (${ VSub_Number 1))} ) ] ) (C {(variable) (Lit_Other ':') (Lit_Other ':') (type) (Lit_Other ':') (Lit_Other ':') (instanceOfOrExit) } {(DQ (${ VSub_Name token))} {(ArrayList)} ) (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (value)} {(DQ (${ VSub_Name token))}) terminator: <Op_Semi ';'> ) (command.Assignment keyword: Assign_Declare flags: [-a] pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:value) op: Equal rhs: {(word_part.ArrayLiteralPart words:[{(${ VSub_Name RESULT)}])} ) ] ) (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_eq left: { (word_part.BracedVarSub token: <VSub_Name value> prefix_op: VSub_Pound bracket_op: (bracket_op.WholeArray op_id:Lit_At) ) } right: {(0)} ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {($ VSub_QMark '$?')} ) ] ) ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(Lit_Other '[')} {($ VSub_Number '$0')} {(KW_Bang '!') (Lit_Other '=')} {($ VSub_DollarName '$BASH_SOURCE')} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [(command.ControlFlow token:<ControlFlow_Return return>)] ) ] ) (command.CommandList children: [ (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (ArrayList) (Lit_Other ':') (Lit_Other ':') (new) } ) terminator: <Op_Semi ';'> ) (command.Assignment keyword: Assign_None pairs: [(assign_pair lhs:(lhs_expr.LhsName name:vCode) op:Equal rhs:{(${ VSub_Name RESULT)})] ) ] ) (command.CommandList children: [ (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (new)} {(Identifier)} {(DQ ('+'))}) terminator: <Op_Semi ';'> ) (C {(variable) (Lit_Other ':') (Lit_Other ':') (ArrayList) (Lit_Other ':') (Lit_Other ':') (append)} {(${ VSub_Name vCode)} {(${ VSub_Name RESULT)} ) ] ) (command.CommandList children: [ (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (new)} {(Integer)} {(5)}) terminator: <Op_Semi ';'> ) (C {(variable) (Lit_Other ':') (Lit_Other ':') (ArrayList) (Lit_Other ':') (Lit_Other ':') (append)} {(${ VSub_Name vCode)} {(${ VSub_Name RESULT)} ) ] ) (command.CommandList children: [ (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (new)} {(Integer)} {(2)}) terminator: <Op_Semi ';'> ) (C {(variable) (Lit_Other ':') (Lit_Other ':') (ArrayList) (Lit_Other ':') (Lit_Other ':') (append)} {(${ VSub_Name vCode)} {(${ VSub_Name RESULT)} ) ] ) (command.CommandList children: [ (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (type)} {($ VSub_DollarName '$vCode')}) terminator: <Op_Semi ';'> ) (C {(assert) (Lit_Other ':') (Lit_Other ':') (equals)} {(ArrayList)} {(DQ ($ VSub_DollarName '$RESULT'))} {(DQ ('List type'))} ) ] ) (command.CommandList children: [ (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (ArrayList) (Lit_Other ':') (Lit_Other ':') (index) } {($ VSub_DollarName '$vCode')} {(0)} ) terminator: <Op_Semi ';'> ) (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (type)} {(DQ (${ VSub_Name RESULT))}) terminator: <Op_Semi ';'> ) (C {(assert) (Lit_Other ':') (Lit_Other ':') (equals)} {(Identifier)} {(DQ ($ VSub_DollarName '$RESULT'))} {(DQ ('List first item type'))} ) ] ) (command.CommandList children: [ (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (ArrayList) (Lit_Other ':') (Lit_Other ':') (index) } {($ VSub_DollarName '$vCode')} {(1)} ) terminator: <Op_Semi ';'> ) (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (type)} {(DQ (${ VSub_Name RESULT))}) terminator: <Op_Semi ';'> ) (C {(assert) (Lit_Other ':') (Lit_Other ':') (equals)} {(Integer)} {(DQ (${ VSub_Name RESULT))} {(DQ ('List first item type'))} ) ] ) (command.CommandList children: [ (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (ArrayList) (Lit_Other ':') (Lit_Other ':') (index) } {($ VSub_DollarName '$vCode')} {(2)} ) terminator: <Op_Semi ';'> ) (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (type)} {(DQ (${ VSub_Name RESULT))}) terminator: <Op_Semi ';'> ) (C {(assert) (Lit_Other ':') (Lit_Other ':') (equals)} {(Integer)} {(DQ (${ VSub_Name RESULT))} {(DQ ('List first item type'))} ) ] ) (command.CommandList children: [ (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (ArrayList) (Lit_Other ':') (Lit_Other ':') (new) } ) terminator: <Op_Semi ';'> ) (command.Assignment keyword: Assign_None pairs: [(assign_pair lhs:(lhs_expr.LhsName name:vCode) op:Equal rhs:{(${ VSub_Name RESULT)})] ) ] ) (command.CommandList children: [ (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (new)} {(String)} {(DQ (a))}) terminator: <Op_Semi ';'> ) (command.Sentence child: (command.Assignment keyword: Assign_None pairs: [(assign_pair lhs:(lhs_expr.LhsName name:A) op:Equal rhs:{(${ VSub_Name RESULT)})] ) terminator: <Op_Semi ';'> ) (C {(variable) (Lit_Other ':') (Lit_Other ':') (ArrayList) (Lit_Other ':') (Lit_Other ':') (append)} {(${ VSub_Name vCode)} {($ VSub_DollarName '$A')} ) ] ) (command.CommandList children: [ (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (new)} {(String)} {(DQ (b))}) terminator: <Op_Semi ';'> ) (command.Sentence child: (command.Assignment keyword: Assign_None pairs: [(assign_pair lhs:(lhs_expr.LhsName name:B) op:Equal rhs:{(${ VSub_Name RESULT)})] ) terminator: <Op_Semi ';'> ) (C {(variable) (Lit_Other ':') (Lit_Other ':') (ArrayList) (Lit_Other ':') (Lit_Other ':') (append)} {(${ VSub_Name vCode)} {($ VSub_DollarName '$B')} ) ] ) (command.CommandList children: [ (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (new)} {(String)} {(DQ (c))}) terminator: <Op_Semi ';'> ) (command.Sentence child: (command.Assignment keyword: Assign_None pairs: [(assign_pair lhs:(lhs_expr.LhsName name:C) op:Equal rhs:{(${ VSub_Name RESULT)})] ) terminator: <Op_Semi ';'> ) (C {(variable) (Lit_Other ':') (Lit_Other ':') (ArrayList) (Lit_Other ':') (Lit_Other ':') (append)} {(${ VSub_Name vCode)} {($ VSub_DollarName '$C')} ) ] ) (command.CommandList children: [ (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (ArrayList) (Lit_Other ':') (Lit_Other ':') (index) } {($ VSub_DollarName '$vCode')} {(1)} ) terminator: <Op_Semi ';'> ) (C {(assert) (Lit_Other ':') (Lit_Other ':') (equals)} {(DQ ($ VSub_DollarName '$B'))} {(DQ ($ VSub_DollarName '$RESULT'))} {(DQ (index_p))} ) ] ) (command.CommandList children: [ (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (ArrayList) (Lit_Other ':') (Lit_Other ':') (first) } {($ VSub_DollarName '$vCode')} ) terminator: <Op_Semi ';'> ) (C {(assert) (Lit_Other ':') (Lit_Other ':') (equals)} {(DQ ($ VSub_DollarName '$A'))} {(DQ ($ VSub_DollarName '$RESULT'))} {(DQ (first_p))} ) ] ) (command.CommandList children: [ (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (ArrayList) (Lit_Other ':') (Lit_Other ':') (rest) } {($ VSub_DollarName '$vCode')} {(0)} ) terminator: <Op_Semi ';'> ) (C {(assert) (Lit_Other ':') (Lit_Other ':') (equals)} {(DQ (${ VSub_Name B) (' ') (${ VSub_Name C))} {(DQ ($ VSub_DollarName '$RESULT'))} {(DQ (rest_p))} ) ] ) (command.CommandList children: [ (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (new)} {(-name)} {(DQ (EVAL_RESULT))} {(Integer)} {(4)} ) terminator: <Op_Semi ';'> ) (command.Assignment keyword: Assign_Declare pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:varname) op: Equal rhs: {(DQ (${ VSub_Name RESULT))} ) ] ) ] ) (C {(assert) (Lit_Other ':') (Lit_Other ':') (equals)} {(DQ (EVAL_RESULT))} {(DQ (${ VSub_Name varname))} {(DQ ('Non-auto variable name'))} ) (command.CommandList children: [ (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (type)} {(DQ (${ VSub_Name varname))}) terminator: <Op_Semi ';'> ) (C {(assert) (Lit_Other ':') (Lit_Other ':') (equals)} {(Integer)} {(DQ (${ VSub_Name RESULT))} {(DQ ('Non-auto type'))} ) ] ) (command.CommandList children: [ (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (value)} {(DQ (${ VSub_Name varname))}) terminator: <Op_Semi ';'> ) (C {(assert) (Lit_Other ':') (Lit_Other ':') (equals)} {(4)} {(DQ (${ VSub_Name RESULT))} {(DQ ('Non-auto value'))} ) ] ) (command.CommandList children: [ (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (ArrayList) (Lit_Other ':') (Lit_Other ':') (new) } ) terminator: <Op_Semi ';'> ) (command.Assignment keyword: Assign_None pairs: [(assign_pair lhs:(lhs_expr.LhsName name:vCode) op:Equal rhs:{(${ VSub_Name RESULT)})] ) ] ) (C {(variable) (Lit_Other ':') (Lit_Other ':') (ArrayList) (Lit_Other ':') (Lit_Other ':') (isEmpty_c)} {(${ VSub_Name vCode)} ) (C {(assert) (Lit_Other ':') (Lit_Other ':') (equals)} {(0)} {($ VSub_QMark '$?')} {(DQ ('Return code true (0)'))} ) (command.CommandList children: [ (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (new)} {(Identifier)} {(DQ ('+'))}) terminator: <Op_Semi ';'> ) (C {(variable) (Lit_Other ':') (Lit_Other ':') (ArrayList) (Lit_Other ':') (Lit_Other ':') (append)} {(${ VSub_Name vCode)} {(${ VSub_Name RESULT)} ) ] ) (C {(variable) (Lit_Other ':') (Lit_Other ':') (ArrayList) (Lit_Other ':') (Lit_Other ':') (isEmpty_c)} {(${ VSub_Name vCode)} ) (C {(assert) (Lit_Other ':') (Lit_Other ':') (equals)} {(1)} {($ VSub_QMark '$?')} {(DQ ('Return code false (1)'))} ) (command.CommandList children: [ (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (ArrayList) (Lit_Other ':') (Lit_Other ':') (new) } ) terminator: <Op_Semi ';'> ) (command.Assignment keyword: Assign_None pairs: [(assign_pair lhs:(lhs_expr.LhsName name:vCode) op:Equal rhs:{(${ VSub_Name RESULT)})] ) ] ) (command.CommandList children: [ (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (new)} {(Integer)} {(5)}) terminator: <Op_Semi ';'> ) (C {(variable) (Lit_Other ':') (Lit_Other ':') (ArrayList) (Lit_Other ':') (Lit_Other ':') (append)} {(${ VSub_Name vCode)} {(${ VSub_Name RESULT)} ) ] ) (command.CommandList children: [ (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (new)} {(Integer)} {(2)}) terminator: <Op_Semi ';'> ) (C {(variable) (Lit_Other ':') (Lit_Other ':') (ArrayList) (Lit_Other ':') (Lit_Other ':') (append)} {(${ VSub_Name vCode)} {(${ VSub_Name RESULT)} ) ] ) (command.CommandList children: [ (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (ArrayList) (Lit_Other ':') (Lit_Other ':') (index) } {($ VSub_DollarName '$vCode')} {(0)} ) terminator: <Op_Semi ';'> ) (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (value)} {(DQ (${ VSub_Name RESULT))}) terminator: <Op_Semi ';'> ) (C {(assert) (Lit_Other ':') (Lit_Other ':') (equals)} {(5)} {(DQ ($ VSub_DollarName '$RESULT'))} {(DQ ('append / 0'))} ) ] ) (command.CommandList children: [ (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (ArrayList) (Lit_Other ':') (Lit_Other ':') (index) } {($ VSub_DollarName '$vCode')} {(1)} ) terminator: <Op_Semi ';'> ) (command.Sentence child: (C {(variable) (Lit_Other ':') (Lit_Other ':') (value)} {(DQ ($ VSub_DollarName '$RESULT'))}) terminator: <Op_Semi ';'> ) (C {(assert) (Lit_Other ':') (Lit_Other ':') (equals)} {(2)} {(DQ ($ VSub_DollarName '$RESULT'))} {(DQ ('append / 1'))} ) ] ) (C {(assert) (Lit_Other ':') (Lit_Other ':') (report)}) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.AndOr ops: [Op_DAmp] children: [ (C {(Lit_Other '[')} { (word_part.BracedVarSub token: <VSub_Number 1> suffix_op: (suffix_op.StringUnary op_id:VTest_Plus arg_word:{(isset)}) ) } {(Lit_Other ']')} ) (C {(Lit_Other '[')} {(DQ ($ VSub_Number '$1'))} {(Lit_Other '=') (Lit_Other '=')} {(DQ (debug))} {(Lit_Other ']')} ) ] ) terminator: <Op_Semi ';'> ) ] action: [(C {(variable) (Lit_Other ':') (Lit_Other ':') (printMetadata)})] ) ] ) ] )