public class HopeLangParser extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HopeLangParser.Builder |
| Modifier and Type | Method and Description |
|---|---|
static HopeLangParser.Builder |
builder()
Create a builder for the parser.
|
boolean |
evaluate(io.appform.hope.core.Evaluatable rule,
com.fasterxml.jackson.databind.JsonNode node)
Evaluate a hope lang parsed expression
|
io.appform.hope.core.Evaluatable |
parse(String payload)
Parse a hope lang string.
|
public io.appform.hope.core.Evaluatable parse(String payload) throws io.appform.hope.core.exceptions.impl.HopeExpressionParserError
payload - Parse a stringio.appform.hope.core.exceptions.impl.HopeExpressionParserErrorpublic boolean evaluate(io.appform.hope.core.Evaluatable rule,
com.fasterxml.jackson.databind.JsonNode node)
rule - Parsed rulenode - JsonNode for which the match rule is to be evaluatedpublic static HopeLangParser.Builder builder()
Copyright © 2019. All rights reserved.