// Copyright 2014-2017 The html5ever Project Developers. See the
// COPYRIGHT file at the top-level directory of this distribution.
//
// Licensed under the Apache License, Version 2.0 or the MIT license
// , at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
/*!
Implements the `match_token!()` macro for use by the HTML tree builder
in `src/tree_builder/rules.rs`.
## Example
```rust
match_token!(token {
CommentToken(text) => 1,
tag @ => 2,
=> 3,