_appendCharToCurrentCharacterToken(type, ch) {
        if (this.currentCharacterToken) {
            if (this.currentCharacterToken.type !== type) {
                this.currentLocation = this.getCurrentLocation(0);
                this._emitCurrentCharacterToken(this.currentLocation);
                this.preprocessor.dropParsedChunk();
            }
            else {
                this.currentCharacterToken.chars += ch;
                return;
            }
        }
        this._createCharacterToken(type, ch);
    }
//3)TokenType.CHARACTER - any character sequence which don't belong to groups 1 and 2 (e.g. 'abcdef1234@@#$%^')
3)TokenType.CHARACTER - any character sequence which don't belong to groups 1 and 2
3 ) TokenType . CHARACTER - any character sequence which don ' t belong to groups 1 and 2
_appendCharToCurrentCharacterToken(type, ch) {
        if (this.currentCharacterToken) {
            if (this.currentCharacterToken.type !== type) {
                this.currentLocation = this.getCurrentLocation(0);
                this._emitCurrentCharacterToken(this.currentLocation);
                this.preprocessor.dropParsedChunk();
            }
            else {
                this.currentCharacterToken.chars += ch;
                return;
            }
        }
        this._createCharacterToken(type, ch);
    }
_appendCharToCurrentCharacterToken ( type , ch ) { if ( this . currentCharacterToken ) { if ( this . currentCharacterToken . type !== type ) { this . currentLocation = this . getCurrentLocation ( 0 ) ; this . _emitCurrentCharacterToken ( this . currentLocation ) ; this . preprocessor . dropParsedChunk ( ) ; } else { this . currentCharacterToken . chars += ch ; return ; } } this . _createCharacterToken ( type , ch ) ; }
3)TokenType.CHARACTER - any character sequence which don't belong to groups 1 and 2 (e.g.
3 ) TokenType . CHARACTER - any character sequence which don ' t belong to groups 1 and 2 ( e . g .