Class IPALexer

java.lang.Object
ca.phon.ipa.parser.IPALexer
All Implemented Interfaces:
org.antlr.runtime.TokenSource

public class IPALexer extends Object implements org.antlr.runtime.TokenSource

Tokenize IPA strings for an ANTLR parser.

  • Constructor Details

    • IPALexer

      public IPALexer(String string)
      Constructor
      Parameters:
      string - the string to tokenize
  • Method Details

    • nextToken

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

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