Package com.adbs.ast
Class BaseScanner
- java.lang.Object
- 
- com.adbs.ast.BaseScanner
 
- 
 public abstract class BaseScanner extends java.lang.Object
- 
- 
Field SummaryFields Modifier and Type Field Description protected booleanallowCommentsprotected booleanallowSpacesprotected Bufferbufferprotected intchprotected java.util.BitSetignoreprotected intlineprotected intlineStartprotected intoldEolsprotected intposprotected StartTablestartprotected charvalCh
 - 
Constructor SummaryConstructors Constructor Description BaseScanner()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidcheckLiteral(Token t)booleangetAllowComments()booleangetAllowSpaces()intgetCount()TokengetToken(int i)voidinit(java.lang.String s)abstract voidinitInternal()protected voidnextCh()abstract TokennextToken()voidsetAllowComments(boolean value)voidsetAllowSpaces(boolean value)
 
- 
- 
- 
Field Detail- 
bufferprotected Buffer buffer 
 - 
chprotected int ch 
 - 
valChprotected char valCh 
 - 
posprotected int pos 
 - 
lineprotected int line 
 - 
lineStartprotected int lineStart 
 - 
oldEolsprotected int oldEols 
 - 
ignoreprotected java.util.BitSet ignore 
 - 
allowCommentsprotected boolean allowComments 
 - 
allowSpacesprotected boolean allowSpaces 
 - 
startprotected StartTable start 
 
- 
 - 
Method Detail- 
getCountpublic int getCount() 
 - 
getAllowCommentspublic boolean getAllowComments() 
 - 
setAllowCommentspublic void setAllowComments(boolean value) 
 - 
getAllowSpacespublic boolean getAllowSpaces() 
 - 
setAllowSpacespublic void setAllowSpaces(boolean value) 
 - 
initpublic void init(java.lang.String s) 
 - 
getTokenpublic Token getToken(int i) 
 - 
nextChprotected void nextCh() 
 - 
checkLiteralpublic abstract void checkLiteral(Token t) 
 - 
nextTokenpublic abstract Token nextToken() 
 - 
initInternalpublic abstract void initInternal() 
 
- 
 
-