类 TokenRewriteStream.RewriteOperation

  • 封闭类:
    TokenRewriteStream

    public class TokenRewriteStream.RewriteOperation
    extends java.lang.Object
    • 字段概要

      字段 
      修饰符和类型 字段 说明
      protected int index
      Token buffer index.
      protected int instructionIndex
      What index into rewrites List are we?
      protected java.lang.Object text  
    • 构造器概要

      构造器 
      限定符 构造器 说明
      protected RewriteOperation​(int index)  
      protected RewriteOperation​(int index, java.lang.Object text)  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      int execute​(java.lang.StringBuffer buf)
      Execute the rewrite operation by possibly adding to the buffer.
      java.lang.String toString()  
      • 从类继承的方法 java.lang.Object

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

      • instructionIndex

        protected int instructionIndex
        What index into rewrites List are we?
      • index

        protected int index
        Token buffer index.
      • text

        protected java.lang.Object text
    • 构造器详细资料

      • RewriteOperation

        protected RewriteOperation​(int index)
      • RewriteOperation

        protected RewriteOperation​(int index,
                                   java.lang.Object text)
    • 方法详细资料

      • execute

        public int execute​(java.lang.StringBuffer buf)
        Execute the rewrite operation by possibly adding to the buffer. Return the index of the next token to operate on.
      • toString

        public java.lang.String toString()
        覆盖:
        toString 在类中 java.lang.Object