Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(delete): Allows delete any element in a Spoon AST. #423

Merged
merged 1 commit into from
Dec 2, 2015
Merged

feat(delete): Allows delete any element in a Spoon AST. #423

merged 1 commit into from
Dec 2, 2015

Conversation

GerardPaligot
Copy link
Contributor

Closes #403

@@ -224,4 +224,8 @@
*/
<E extends CtElement> E setAnnotations(List<CtAnnotation<? extends Annotation>> annotation);

/**
* Deletes the statement in its block.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deletes the element. For instance, delete a statement from its containing block. Warning: it may result in an incorrect AST, use at your own risk.

@GerardPaligot
Copy link
Contributor Author

@monperrus PR okay here.

@GerardPaligot
Copy link
Contributor Author

@monperrus PR ok.

monperrus added a commit that referenced this pull request Dec 2, 2015
@monperrus monperrus merged commit e7325b6 into INRIA:master Dec 2, 2015
@GerardPaligot GerardPaligot deleted the feat_403 branch December 2, 2015 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants