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

Add a Tokenizer API. #163

Closed
wants to merge 1 commit into from
Closed

Add a Tokenizer API. #163

wants to merge 1 commit into from

Commits on Feb 22, 2013

  1. Add a Tokenizer API.

    This adds a `tokenize(code, options)` function to the exported object.
    
    It uses the same API as when `options.tokens` is set.
    
    It also uses Tim Disney's algorithm documented here:
    https://github.com/mozilla/sweet.js/wiki/design
    
    http://code.google.com/p/esprima/issues/detail?id=398
    espadrine committed Feb 22, 2013
    Configuration menu
    Copy the full SHA
    1178a96 View commit details
    Browse the repository at this point in the history