public class Lexicon extends Object
Constructor and Description |
---|
Lexicon() |
Modifier and Type | Method and Description |
---|---|
Lexer |
compile() |
Token.Type |
define(String name,
String pattern) |
Token.Type |
eof(String name) |
static void |
main(String[] args) |
public Token.Type define(String name, String pattern)
public Token.Type eof(String name)
public Lexer compile()
public static final void main(String[] args)
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.