Uses of Class
asteroid.utils.StatementUtils.Group
-
Packages that use StatementUtils.Group Package Description asteroid.utils This package contains utility classes -
-
Uses of StatementUtils.Group in asteroid.utils
Methods in asteroid.utils that return StatementUtils.Group Modifier and Type Method Description StatementUtils.GroupStatementUtils.Group. copyWithStatements(List<Statement> newStatements)Utility method to clone a givenStatementUtils.Groupchanging the statement listMethods in asteroid.utils that return types with arguments of type StatementUtils.Group Modifier and Type Method Description List<StatementUtils.Group>StatementUtils. applyToStatementsByLabel(List<StatementUtils.Group> source, Map<String,Closure<Statement>> mappings)If you have a given list ofStatementUtils.Groupyou can apply a set of transformations on certain statements within a given group.List<StatementUtils.Group>StatementUtils. groupStatementsByLabel(BlockStatement blockStmt)Use this function to group expression statements found within a given block statement.Method parameters in asteroid.utils with type arguments of type StatementUtils.Group Modifier and Type Method Description List<StatementUtils.Group>StatementUtils. applyToStatementsByLabel(List<StatementUtils.Group> source, Map<String,Closure<Statement>> mappings)If you have a given list ofStatementUtils.Groupyou can apply a set of transformations on certain statements within a given group.List<Statement>StatementUtils. applyToStatementsByLabelFlatten(List<StatementUtils.Group> source, Map<String,Closure<Statement>> mappings)If you have a given list ofStatementUtils.Groupyou can apply a set of transformations on certain statements within a given group.
-