public class Lexer extends 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, ID_NO_WHITESPACE, 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
buffer, bufferLen, ptr, savedPtr
Modifier and Type | Method and Description |
---|---|
static String |
getHeaderName(String line)
get the header name of the line
|
static String |
getHeaderValue(String line)
get the header value of the line
|
void |
selectLexer(String lexerName) |
addKeyword, byteStringNoComma, byteStringNoSemicolon, byteStringNoSlash, charAsString, charAsString, comment, consumeValidChars, createParseException, getBuffer, getNextId, getNextIdNoWhiteSpace, getNextToken, getPtr, getRest, getString, isTokenChar, lookupToken, markInputPosition, match, number, peekNextId, peekNextToken, peekNextToken, quotedString, rewindInputPosition, SPorHT, startsId, startsIdNoWhiteSpace, startsSafeToken, ttoken, ttokenNoWhiteSpace, ttokenSafe
consume, consume, getLine, getLines, getNextChar, getNextToken, getSDPFieldName, hasMoreChars, isAlpha, isAlphaDigit, isDigit, isHexDigit, lookAhead, lookAhead, nextToken, peekLine
public static String getHeaderName(String line)
public static String getHeaderValue(String line)
public void selectLexer(String lexerName)
selectLexer
in class LexerCore
Copyright © 2015. All Rights Reserved.