Add base.token_decoder interface

This commit is contained in:
Nigel Tao committed 2020-02-26 10:19:49 +11:00
1 parent b319639bad
commit 014b935d95
5 files changed
+145 -34

No files matched your search

+1 -3
View File
@@ -12,9 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// TODO: "decoder implements base.token_decoder".
pub struct decoder?(
pub struct decoder? implements base.token_decoder(
)(
// stack is conceptually an array of bits, implemented as an array of u32.
// The N'th bit being 0 or 1 means that we're in an array or object, where