Package ca.phon.phontalk.parser
Class TalkBankTokenSource
java.lang.Object
ca.phon.phontalk.parser.TalkBankTokenSource
- All Implemented Interfaces:
org.antlr.runtime.TokenSource
Uses StAX to generate tokens for the
ANTLR parser
UtteranceParser
.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
TalkBankTokenSource
Constructor- Parameters:
file
- the token def file
-
-
Method Details
-
getSourceName
- Specified by:
getSourceName
in interfaceorg.antlr.runtime.TokenSource
-
nextToken
public org.antlr.runtime.Token nextToken()- Specified by:
nextToken
in interfaceorg.antlr.runtime.TokenSource
-