类 Lexer


  • public class Lexer
    extends java.lang.Object
    Lexical analyzer to translate the code into tokens.
    • 字段概要

      字段 
      修饰符和类型 字段 说明
      int line  
      boolean state  
    • 构造器概要

      构造器 
      构造器 说明
      Lexer()  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void pushData​(java.lang.String data)  
      Token scan()  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 字段详细资料

      • line

        public int line
      • state

        public boolean state
    • 构造器详细资料

      • Lexer

        public Lexer()
    • 方法详细资料

      • pushData

        public void pushData​(java.lang.String data)
      • scan

        public Token scan()