Closed shurizzle closed 12 years ago
This is backwards - .as(nil) in production code? Really? If this is serious, it should be called atom.ignore or such.
And please write to the mailing list with an example of why you cannot use parslet without that feature. Let's discuss first.
I might seem stubborn here, but I am trying hard to keep things orthogonal and small. Parslet is not about fighting complexity with more complexity.
I need to ignore a whole subtree, so i wrote a patch to ignore it using Parslet::Atoms::Base#as(nil), i think this can be a good feature :)