numberLexer

Only public method of the class, evaluates a ComplexList to convert the Tokens.IMAGINARY_UNIT and Tokens.NUMBER values into Tokens.REAL_NUMBER and Tokens.IMAGINARY_NUMBER values.

the returned value should be passed to the ComplexLexer class constructor

Return

a ComplexList with Tokens.REAL_NUMBER and Tokens.IMAGINARY_NUMBER values instead of Tokens.NUMBER and Tokens.IMAGINARY_UNIT

Since

Version 1.0

See also