content
Content of the lexer.
protected boolean
digit(int code)
protected static void
protected int
CNumberToken
from complex number string.protected void
putBackSymbol(int sym)
content
- - String representation of complex numbercode
- - ascii value of charactersym
- - symbol to place back into content stringCNumberToken
from complex number string. Also removes this
CNumberToken from the string. This method implements a finite automata which describes the legal arrangement of
tokens within a complex number.CNumberToken
in string.RuntimeException
- If the string is not a valid representation of a complex number.message
- - error message to print