package lexer;

import token.Token;

/**
 *
 * Created by liufengkai on 2017/7/18.
 */
public interface Lexer {

    Token peek(int index);

    Token read();
}

@@ -40,105 +40,394 @@
 *%0A *
-%0A * Created by liufengkai on 2017/7/18.%0A */%0Apublic interface Lexer %7B%0A%0A    Token peek(int index);%0A
+ Lexer%0A * File/String Lexer. We wont focus on%0A * the Lexer is a real Lexer or just a%0A * list message.%0A * Created by liufengkai on 2017/7/18.%0A */%0Apublic interface Lexer %7B%0A%0A    /**%0A     * peek first serial nodes%0A     *%0A     * @param index first serial nodes%0A     * @return Token%0A     */%0A    Token peek(int index);%0A%0A    /**%0A     * get first node of list%0A     *%0A     * @return Token%0A     */
 %0A   

update lexer