Package jflex.core
Class AbstractLexScan
java.lang.Object
jflex.core.AbstractLexScan
- All Implemented Interfaces:
ILexScan
- Direct Known Subclasses:
LexScan
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactions()
boolean
bolUsed()
int
boolean
boolean
static String
static String
ctorArg
(int i) int
ctorType
(int i) boolean
boolean
boolean
cupDebug()
int
Deprecated.boolean
boolean
eofclose()
eofCode()
eofThrow()
eofVal()
file()
int
getStateNumber
(String name) initCode()
boolean
boolean
Deprecated.boolean
isFinal()
boolean
boolean
boolean
isPublic()
protected abstract int
protected abstract int
lexLine()
protected abstract void
protected abstract String
lexText()
lexThrow()
boolean
void
boolean
userCode()
-
Field Details
-
scanErrorException
-
-
Constructor Details
-
AbstractLexScan
public AbstractLexScan()
-
-
Method Details
-
getUnicodeProperties
- Specified by:
getUnicodeProperties
in interfaceILexScan
-
getCharClasses
-
setFile
-
conc
-
concExc
-
actions
-
file
-
classCode
-
initCode
-
initThrow
-
eofCode
-
eofThrow
-
lexThrow
-
eofVal
-
scanErrorException
-
userCode
-
cupSymbol
-
charCount
public boolean charCount() -
lineCount
public boolean lineCount() -
columnCount
public boolean columnCount() -
cupCompatible
public boolean cupCompatible() -
cup2Compatible
public boolean cup2Compatible() -
cupDebug
public boolean cupDebug() -
isInteger
public boolean isInteger() -
isIntWrap
public boolean isIntWrap() -
isPublic
public boolean isPublic() -
isFinal
public boolean isFinal() -
isAbstract
public boolean isAbstract() -
bolUsed
public boolean bolUsed() -
standalone
public boolean standalone() -
debugOption
public boolean debugOption() -
eofclose
public boolean eofclose() -
isImplementing
-
isExtending
-
className
-
functionName
-
tokenType
-
visibility
-
stateNames
-
getStateNumber
-
ctorArgsCount
public int ctorArgsCount() -
ctorType
-
ctorArg
-
bufferSize
public int bufferSize() -
currentLine
Deprecated.UselexLine()
directly.Returns the current line number. -
isColumnCount
Deprecated. -
lexLine
protected abstract int lexLine() -
lexColumn
protected abstract int lexColumn() -
lexText
-
lexPushStream
- Throws:
IOException
-
lexLine()
directly.