Frage

Some classes in the parboiled framework have a generic type parameter. E.g. the class BaseParser. In it's documentation it says:

Type Parameters:
    V - the type of the parser values

which I really not find a sufficient documentation. The documentation in the other classes is similiar or missing. Even in the wiki I didn't find information on that. They are just using Object.

Can anyone explain to me what this parameter is used for and what are valid types to hand over?

Keine korrekte Lösung

Andere Tipps

The Type of the parsed values, like Integer for "999". See the calc example: CalculatorParser0.java

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top