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

Cannot find methods of Tokenizer #10

Open
Thefolle opened this issue Nov 24, 2021 · 0 comments
Open

Cannot find methods of Tokenizer #10

Thefolle opened this issue Nov 24, 2021 · 0 comments

Comments

@Thefolle
Copy link

Context

Bug fix?

I cannot call the member functions of Tokenizer, even if I follow the examples on the README.

Current v Expected Results

I should be able to call functions like tokenize. They are declared in _createClass, but how can I access them?
I would like to use even the basic function tokenize.

Repro Steps

  1. let lexr = require('lexr/dist/index');
  2. let jsLexer = new lexr.Tokenizer("Javascript")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant