Tokenizer.parserError

Either return InvalidToken or throw parser exception depending on current errorTolerant flag

  1. Token parserError(string msg, Token incompleteToken)
  2. Token parserError(string msg, int startLine, int startPos, TokenType failedTokenType = TokenType.INVALID)
    class Tokenizer
    protected
    parserError
    (
    string msg
    ,,,
    TokenType failedTokenType = TokenType.INVALID
    )

Meta