Package com.adbs.ast
Class BaseScanner
java.lang.Object
com.adbs.ast.BaseScanner
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected Bufferprotected intprotected BitSetprotected intprotected intprotected intprotected intprotected StartTableprotected char
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract voidbooleanbooleanintgetCount()getToken(int i) voidabstract voidprotected voidnextCh()abstract TokenvoidsetAllowComments(boolean value) voidsetAllowSpaces(boolean value) 
- 
Field Details- 
buffer
- 
chprotected int ch
- 
valChprotected char valCh
- 
posprotected int pos
- 
lineprotected int line
- 
lineStartprotected int lineStart
- 
oldEolsprotected int oldEols
- 
ignore
- 
allowCommentsprotected boolean allowComments
- 
allowSpacesprotected boolean allowSpaces
- 
start
 
- 
- 
Constructor Details- 
BaseScannerpublic BaseScanner()
 
- 
- 
Method Details- 
getCountpublic int getCount()
- 
getAllowCommentspublic boolean getAllowComments()
- 
setAllowCommentspublic void setAllowComments(boolean value) 
- 
getAllowSpacespublic boolean getAllowSpaces()
- 
setAllowSpacespublic void setAllowSpaces(boolean value) 
- 
init
- 
getToken
- 
nextChprotected void nextCh()
- 
checkLiteral
- 
nextToken
- 
initInternalpublic abstract void initInternal()
 
-