org.ourgrid.common.spec.token
Class Pointing

java.lang.Object
  extended by org.ourgrid.common.spec.token.Token
      extended by org.ourgrid.common.spec.token.Pointing

public class Pointing
extends Token

This is a token entity that recognize punctuation symbols.

See Also:
CodesTable

Constructor Summary
Pointing()
          The constructor.
 
Method Summary
 Token readPointing(char theChar, CharReader reader)
          Tries to recognize a punctuation symbol and return a token using this symbol.
 
Methods inherited from class org.ourgrid.common.spec.token.Token
getCode, getLine, getSymbol, setCode, setLine, setSymbol, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Pointing

public Pointing()
The constructor.

Method Detail

readPointing

public Token readPointing(char theChar,
                          CharReader reader)
Tries to recognize a punctuation symbol and return a token using this symbol.

Parameters:
theChar - The symbol to be analyzed.
reader - The reader able to read characters from source.
Returns:
this Pointing token object if theChar was recognized as punctuation symbol and null otherwise.