Package com.adbs.ast
Class BaseScanner
java.lang.Object
com.adbs.ast.BaseScanner
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected boolean
protected Buffer
protected int
protected BitSet
protected int
protected int
protected int
protected int
protected StartTable
protected char
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
boolean
boolean
int
getCount()
getToken
(int i) void
abstract void
protected void
nextCh()
abstract Token
void
setAllowComments
(boolean value) void
setAllowSpaces
(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()
-