|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lastbamboo.common.sdp.StringTokenizer
org.lastbamboo.common.sdp.LexerCore
org.lastbamboo.common.sdp.parser.Lexer
public class Lexer
| Field Summary |
|---|
| Fields inherited from class org.lastbamboo.common.sdp.LexerCore |
|---|
ALPHA, AND, AT, BACK_QUOTE, BACKSLASH, BAR, COLON, currentLexer, currentLexerName, currentMatch, DIGIT, DOLLAR, DOT, DOUBLEQUOTE, END, EQUALS, EXCLAMATION, globalSymbolTable, GREATER_THAN, HAT, HT, ID, L_CURLY, L_SQUARE_BRACKET, LESS_THAN, lexerTables, LPAREN, MINUS, NULL, PERCENT, PLUS, POUND, QUESTION, QUOTE, R_CURLY, R_SQUARE_BRACKET, RPAREN, SAFE, SEMICOLON, SLASH, SP, STAR, START, TILDE, UNDERSCORE, WHITESPACE |
| Fields inherited from class org.lastbamboo.common.sdp.StringTokenizer |
|---|
buffer, ptr, savedPtr |
| Constructor Summary | |
|---|---|
Lexer(String lexerName,
String buffer)
|
|
| Method Summary | |
|---|---|
static String |
getFieldName(String line)
|
void |
selectLexer(String lexerName)
|
| Methods inherited from class org.lastbamboo.common.sdp.LexerCore |
|---|
addKeyword, addLexer, byteStringNoComma, byteStringNoSemicolon, charAsString, charAsString, comment, createParseException, getBuffer, getNextId, getNextToken, getPtr, getRest, getString, lookupToken, markInputPosition, match, number, peekNextId, peekNextToken, peekNextToken, quotedString, rewindInputPosition, SPorHT, startsId, startsSafeToken, ttoken, ttokenAllowSpace, ttokenSafe |
| Methods inherited from class org.lastbamboo.common.sdp.StringTokenizer |
|---|
consume, consume, getLine, getLines, getNextChar, getNextToken, getSDPFieldName, hasMoreChars, isAlpha, isDigit, isHexDigit, lookAhead, lookAhead, nextToken, peekLine |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Lexer(String lexerName,
String buffer)
| Method Detail |
|---|
public void selectLexer(String lexerName)
selectLexer in class LexerCorepublic static String getFieldName(String line)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||