public final class LexUtility extends Object
Modifier and Type | Method and Description |
---|---|
static void |
checkLexeme(Factory factory,
String lexeme,
String exceptionText) |
static LexicalElement |
get(LexicalAnalyzer lexicalAnalyzer) |
static boolean |
isLexeme(Factory factory,
String lexeme) |
static LexicalElement |
peek(LexicalAnalyzer lexicalAnalyzer) |
public static LexicalElement peek(LexicalAnalyzer lexicalAnalyzer) throws AnalysisException
AnalysisException
public static LexicalElement get(LexicalAnalyzer lexicalAnalyzer) throws AnalysisException
AnalysisException
public static boolean isLexeme(Factory factory, String lexeme) throws AnalysisException
AnalysisException
public static void checkLexeme(Factory factory, String lexeme, String exceptionText) throws AnalysisException
AnalysisException
Copyright © 2013 Verhas and Verhas Software Craftsmen. All Rights Reserved.