Class SMFTLineLexer


  • public final class SMFTLineLexer
    extends java.lang.Object
    A mindlessly trivial line lexer.
    • Constructor Summary

      Constructors 
      Constructor Description
      SMFTLineLexer()
      Create a new lexer.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> lex​(java.lang.String line)
      Lex the given line into tokens.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SMFTLineLexer

        public SMFTLineLexer()
        Create a new lexer.
    • Method Detail

      • lex

        public java.util.List<java.lang.String> lex​(java.lang.String line)
        Lex the given line into tokens.
        Parameters:
        line - The line
        Returns:
        A list of tokens