예제 #1
0
        override public void  initialize(Token tok)
        {
            CommonHiddenStreamToken t = (CommonHiddenStreamToken)tok;

            base.initialize(t);
            hiddenBefore = t.getHiddenBefore();
            hiddenAfter  = t.getHiddenAfter();
        }
 /*Return a ptr to the hidden token appearing immediately after
 *  token t in the input stream.
 */
 public virtual CommonHiddenStreamToken getHiddenAfter(CommonHiddenStreamToken t)
 {
     return t.getHiddenAfter();
 }
 /*Return a ptr to the hidden token appearing immediately after
  *  token t in the input stream.
  */
 public virtual CommonHiddenStreamToken getHiddenAfter(CommonHiddenStreamToken t)
 {
     return(t.getHiddenAfter());
 }