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

scanner expected() vs parser expected() #11

Open
nteetor opened this issue Dec 6, 2016 · 0 comments
Open

scanner expected() vs parser expected() #11

nteetor opened this issue Dec 6, 2016 · 0 comments

Comments

@nteetor
Copy link
Owner

nteetor commented Dec 6, 2016

Within the parser class, the expected() function returns a token if the token was expected, otherwise an error is thrown.

Within scanner expected() was removed from the traversal class, is now part of the scanner class, and behaves similarly to the parser expected function. However, the methods of scanner do not currently utilize the return value of expected(). Reviewing and refactoring scanner to utilize the return value of expected could prove useful.

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