Package com.adbs.ast
Class BaseScanner
java.lang.Object
com.adbs.ast.BaseScanner
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected Bufferprotected intprotected BitSetprotected intprotected intprotected intprotected intprotected StartTableprotected char -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidbooleanbooleanintgetCount()getToken(int i) voidabstract voidprotected voidnextCh()abstract TokenvoidsetAllowComments(boolean value) voidsetAllowSpaces(boolean value)
-
Field Details
-
buffer
-
ch
protected int ch -
valCh
protected char valCh -
pos
protected int pos -
line
protected int line -
lineStart
protected int lineStart -
oldEols
protected int oldEols -
ignore
-
allowComments
protected boolean allowComments -
allowSpaces
protected boolean allowSpaces -
start
-
-
Constructor Details
-
BaseScanner
public BaseScanner()
-
-
Method Details
-
getCount
public int getCount() -
getAllowComments
public boolean getAllowComments() -
setAllowComments
public void setAllowComments(boolean value) -
getAllowSpaces
public boolean getAllowSpaces() -
setAllowSpaces
public void setAllowSpaces(boolean value) -
init
-
getToken
-
nextCh
protected void nextCh() -
checkLiteral
-
nextToken
-
initInternal
public abstract void initInternal()
-