static Selector parseFloatingLiteral ( String val ) { // Determine if this is a float constant by checking the suffix Number value ; // was NumericValue char tag = val . charAt ( val . length ( ) - 1 ) ; if ( tag == ' ' || tag == ' ' ) value = new Float ( val ) ; else value = new Double ( val ) ; return new LiteralImpl ( value ) ; }
Parse a floating point literal