Class OrthoTokenSource

java.lang.Object
ca.phon.orthography.parser.OrthoTokenSource
All Implemented Interfaces:
org.antlr.runtime.TokenSource

public class OrthoTokenSource extends Object implements org.antlr.runtime.TokenSource
Chomps the given string into tokens usable by the PhonTranscriptionParser
  • Constructor Details

    • OrthoTokenSource

      public OrthoTokenSource(String str)
  • Method Details

    • getSourceName

      public String getSourceName()
      Specified by:
      getSourceName in interface org.antlr.runtime.TokenSource
    • nextToken

      public org.antlr.runtime.Token nextToken()
      Specified by:
      nextToken in interface org.antlr.runtime.TokenSource