Uses of Interface
com.gengoai.parsing.PrefixHandler
-
Packages that use PrefixHandler Package Description com.gengoai.parsing -
-
Uses of PrefixHandler in com.gengoai.parsing
Fields in com.gengoai.parsing declared as PrefixHandler Modifier and Type Field Description static PrefixHandler
ValueExpression. BOOLEAN_HANDLER
Creates a boolean value handler which will parse theParserToken
text to generate the boolean valuestatic PrefixHandler
ValueExpression. NULL_HANDLER
Creates a null value handler which will always contain a null valuestatic PrefixHandler
ValueExpression. NUMERIC_HANDLER
Creates a numeric value handler which will parse theParserToken
text usingDouble.parseDouble
to generate the numeric valuestatic PrefixHandler
UnaryOperatorExpression. PREFIX_OPERATOR_HANDLER
Generic Handler for generatingUnaryOperatorExpression
s for prefix operators usingParser.parseExpression()
* to generate the value of the operator.static PrefixHandler
ValueExpression. STRING_HANDLER
Creates a string value handler which will use the text of theParserToken
as the valueMethods in com.gengoai.parsing that return PrefixHandler Modifier and Type Method Description static PrefixHandler
ListExpression. handler(Tag startOfListTag, Tag endOfListTag, Tag separatorTag, String startOfListStr, String endOfListStr, String separatorStr)
Handler prefix handler.static PrefixHandler
ValueExpression. handler(SerializableFunction<ParserToken,Object> converter)
Creates a generic handler which uses the givenSerializableFunction
to convert theParserToken
to a value.Methods in com.gengoai.parsing that return types with arguments of type PrefixHandler Modifier and Type Method Description Optional<PrefixHandler>
Grammar. getPrefixHandler(ParserToken token)
Gets the prefix handler associated with theTag
of the givenParserToken
Optional<PrefixHandler>
Grammar. getPrefixHandler(Tag tag)
Gets the prefix handler associated with the givenTag
.Methods in com.gengoai.parsing with parameters of type PrefixHandler Modifier and Type Method Description Grammar
Grammar. prefix(Tag tag, PrefixHandler handler)
Registers aPrefixHandler
for the givenTag
<E extends Expression>
GrammarGrammar. prefix(Tag tag, PrefixHandler handler, SerializablePredicate<E> validator)
Registers aPrefixHandler
for the givenTag
-