question: public static Vector SubstituteInStmtSeq ( Vector stmts , Vector args , Vector params , int macroLine , int macroCol ) throws ParseAlgorithmException { Vector result = new Vector ( ) ; int i = 0 ; while ( i < stmts . size ( ) ) { result . addElement ( SubstituteInStmt ( ( AST ) stmts . elementAt ( i ) , args , params , macroLine , macroCol ) ) ; i = i + 1 ; } ; return result ; }
target:  The SubstituteInStmtSeq method does substitutions only in the class of    statements found in the body of a macro.  However, it is simple to        define a SubstituteInLabeledStmtSeq method and enhance                    SubstituteInStmtSeq so the SubstituteInLabeledStmtSeq can be used to do   arbitrary substitutions in the body of a process or uniprocess            algorithm.                                                               