Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Cannot find methods of Tokenizer #10

@Thefolle

Description

@Thefolle

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")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions