You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 ofexpected()
. Reviewing and refactoring scanner to utilize the return value of expected could prove useful.The text was updated successfully, but these errors were encountered: