public class DecimalLexer extends IntegerLexer
Constructor and Description |
---|
DecimalLexer() |
Modifier and Type | Method and Description |
---|---|
protected Number |
convertToNumber(String value) |
Class<?> |
resolveType(Grammar grammar)
Resolves the type of the object parsed by this lexer.
|
getParser, isOrdered
equals, getDslDoc, getEnd, getId, getListener, getListenerClass, getMatcherAutoCompleteConfiguration, getStart, hashCode, isRoot, isRootOnly, resolveEnd, resolveStart, setDslDoc, setEnd, setId, setListenerClass, setMatcherAutoCompleteConfiguration, setRoot, setRootOnly, setStart, toString, validate
public Class<?> resolveType(Grammar grammar)
Lexer
resolveType
in interface Lexer
resolveType
in class IntegerLexer
protected Number convertToNumber(String value) throws NumberFormatException
convertToNumber
in class IntegerLexer
NumberFormatException