org.codehaus.jparsec
Interface TokenMap<T>


public interface TokenMap<T>

Maps a Token to a an object of type T, or null if the token isn't recognized.

Author:
Ben Yu

Method Summary
 T map(Token token)
          Transforms token to an instance of T.
 

Method Detail

map

T map(Token token)
Transforms token to an instance of T. null is returned if the token isn't recognized.



Copyright © 2014. All rights reserved.