jfun.parsec

Class String2TokenWord

public class String2TokenWord extends Object implements FromString<TypedToken<TokenType>>

This implementation of FromString creates a TypedToken instance from the string.

Author: Ben Yu Mar 29, 2006 9:54:23 PM

Method Summary
TypedToken<TokenType>fromString(int from, int len, String s)
static FromString<TypedToken<TokenType>>instance()
Get an instance of this implementation.
StringtoString()

Method Detail

fromString

public TypedToken<TokenType> fromString(int from, int len, String s)

instance

public static FromString<TypedToken<TokenType>> instance()
Get an instance of this implementation.

toString

public String toString()