sjm.parse.tokens
Class SlashStarState

java.lang.Object
  |
  +--sjm.parse.tokens.TokenizerState
        |
        +--sjm.parse.tokens.SlashStarState

public class SlashStarState
extends TokenizerState

A slashStar state ignores everything up to a closing star and slash, and then returns the tokenizer's next token.

Version:
1.0
Author:
Steven J. Metsker

Constructor Summary
SlashStarState()
           
 
Method Summary
 Token nextToken(java.io.PushbackReader r, int theStar, Tokenizer t)
          Ignore everything up to a closing star and slash, and then return the tokenizer's next token.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlashStarState

public SlashStarState()
Method Detail

nextToken

public Token nextToken(java.io.PushbackReader r,
                       int theStar,
                       Tokenizer t)
                throws java.io.IOException
Ignore everything up to a closing star and slash, and then return the tokenizer's next token.
Overrides:
nextToken in class TokenizerState
Returns:
the tokenizer's next token