code: private boolean is(final String mName, final boolean mIgnoreWhitespace) {
  
          if (!mName.equals(mToken.getContent())) {
              return false;
          }
  
          if (mToken.getType() == TokenType.COMP || mToken.getType() == TokenType.EQ
              || mToken.getType() == TokenType.N_EQ || mToken.getType() == TokenType.PLUS
              || mToken.getType() == TokenType.MINUS || mToken.getType() == TokenType.STAR) {
              return is(mToken.getType(), mIgnoreWhitespace);
          } else {
              return is(TokenType.TEXT, mIgnoreWhitespace);
          }
      }
docs: Returns true or false if a token has the expected name. If the token has
  the given name, it gets a new token from the scanner. If that new token
  is of type whitespace and the ignoreWhitespace parameter is true, a new
  token is retrieved, until the current token is not of type whitespace.
  
  @param mName
  the specified token content
  @param mIgnoreWhitespace
  if true all new tokens with type whitespace are ignored and
  the next token is retrieved from the scanner
  @return is