- java.lang.Object
-
- org.mal_lang.lib.Lexer
-
public class Lexer extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Token
next()
static boolean
syntacticallyEqual(Lexer l1, Lexer l2)
-
-
-
Constructor Detail
-
Lexer
public Lexer(File file) throws IOException
- Throws:
IOException
-
Lexer
public Lexer(File file, boolean verbose, boolean debug) throws IOException
- Throws:
IOException
-
Lexer
public Lexer(File file, String relativeName) throws IOException
- Throws:
IOException
-
Lexer
public Lexer(File file, String relativeName, boolean verbose, boolean debug) throws IOException
- Throws:
IOException
-
-
Method Detail
-
next
public Token next() throws CompilerException
- Throws:
CompilerException
-
-