org.lastbamboo.common.sdp.parser
Class Lexer

java.lang.Object
  extended by org.lastbamboo.common.sdp.StringTokenizer
      extended by org.lastbamboo.common.sdp.LexerCore
          extended by org.lastbamboo.common.sdp.parser.Lexer

public class Lexer
extends LexerCore


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

Lexer

public Lexer(String lexerName,
             String buffer)
Method Detail

selectLexer

public void selectLexer(String lexerName)
Overrides:
selectLexer in class LexerCore

getFieldName

public static String getFieldName(String line)


Copyright © 2013 LittleShoot. All Rights Reserved.