Created
December 8, 2014 05:14
-
-
Save why-jay/e6c1946b5d8808d81f6a to your computer and use it in GitHub Desktop.
A Mozilla Parser API snippet in Rust
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pub enum Pattern<'a> { | |
Expression(Expression<'a>), | |
ObjectPattern(ObjectPattern<'a>), | |
ArrayPattern(ArrayPattern<'a>) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment