Uses of Interface
ch.andre601.expressionparser.templates.ExpressionTemplate
Packages that use ExpressionTemplate
Package
Description
-
Uses of ExpressionTemplate in ch.andre601.expressionparser
Methods in ch.andre601.expressionparser that return ExpressionTemplateModifier and TypeMethodDescriptionDefaultExpressionParserEngine.compile(String text, ParseWarnCollector collector) Parses the provided text into aExpressionTemplateto use.ExpressionParserEngine.compile(String text, ParseWarnCollector collector) Converts the provided String into a ExpressionTemplate instance to use. -
Uses of ExpressionTemplate in ch.andre601.expressionparser.operator
Methods in ch.andre601.expressionparser.operator that return ExpressionTemplateModifier and TypeMethodDescriptionListOperator.createTemplate(ExpressionTemplate a, ExpressionTemplate b) Method to create anExpressionTemplatefrom two ExpressionTemplates.abstract ExpressionTemplateListOperator.createTemplate(List<ExpressionTemplate> operands) Method to create anExpressionTemplatefrom a Collection of ExpressionTemplates.abstract ExpressionTemplateOperator.createTemplate(ExpressionTemplate a, ExpressionTemplate b) Method to create anExpressionTemplatefrom two ExpressionTemplates.Methods in ch.andre601.expressionparser.operator with parameters of type ExpressionTemplateModifier and TypeMethodDescriptionListOperator.createTemplate(ExpressionTemplate a, ExpressionTemplate b) Method to create anExpressionTemplatefrom two ExpressionTemplates.abstract ExpressionTemplateOperator.createTemplate(ExpressionTemplate a, ExpressionTemplate b) Method to create anExpressionTemplatefrom two ExpressionTemplates.Method parameters in ch.andre601.expressionparser.operator with type arguments of type ExpressionTemplateModifier and TypeMethodDescriptionabstract ExpressionTemplateListOperator.createTemplate(List<ExpressionTemplate> operands) Method to create anExpressionTemplatefrom a Collection of ExpressionTemplates.static ListOperatorListOperator.of(int priority, Function<Collection<ExpressionTemplate>, ExpressionTemplate> function) Static method to create a new ListOperator with its createTemplate method utilizing the provided Function.static ListOperatorListOperator.of(int priority, Function<Collection<ExpressionTemplate>, ExpressionTemplate> function) Static method to create a new ListOperator with its createTemplate method utilizing the provided Function.static OperatorOperator.of(int priority, BiFunction<ExpressionTemplate, ExpressionTemplate, ExpressionTemplate> function) Static method to create a new Operator with its createTemplate method utilizing the provided BiFunction.static OperatorOperator.of(int priority, BiFunction<ExpressionTemplate, ExpressionTemplate, ExpressionTemplate> function) Static method to create a new Operator with its createTemplate method utilizing the provided BiFunction.static OperatorOperator.of(int priority, BiFunction<ExpressionTemplate, ExpressionTemplate, ExpressionTemplate> function) Static method to create a new Operator with its createTemplate method utilizing the provided BiFunction. -
Uses of ExpressionTemplate in ch.andre601.expressionparser.parsers
Methods in ch.andre601.expressionparser.parsers that return ExpressionTemplateModifier and TypeMethodDescriptionExpressionTemplateParser.parse(List<Token> tokens, ParseWarnCollector collector) Takes a list of Tokens and converts them into aExpressionTemplateinstance.BooleanConstantReader.read(ExpressionTemplateParser parser, List<Token> tokens, ParseWarnCollector collector) Takes the first entry of the provided list of Tokens and returns aConstantExpressionTemplateusing the retrieved Token's boolean value, if it is aBooleanToken, ornull.NegatedExpressionReader.read(ExpressionTemplateParser parser, List<Token> tokens, ParseWarnCollector collector) Takes the first entry of the list of Tokens and returns a negated ExpressionTemplate if the retrieved token is the set negation Token, elsenull.NegatedNumberReader.read(ExpressionTemplateParser parser, List<Token> tokens, ParseWarnCollector collector) Takes the first token of the list of Tokens and returns aExpressionTemplatewho's number value is negated, if the retrieved Token is the set negation Token, ornull.NumberConstantReader.read(ExpressionTemplateParser parser, List<Token> tokens, ParseWarnCollector collector) Takes the first token of the list of Tokens and returns aConstantExpressionTemplatewith its double value set from the retrieved Token, if it is aNumberToken, elsenull.ParenthesisedExpressionReader.read(ExpressionTemplateParser parser, List<Token> tokens, ParseWarnCollector collector) Takes the first Token from the token list and checks, if it is the set opening parenthesis Token.StringConstantReader.read(ExpressionTemplateParser parser, List<Token> tokens, ParseWarnCollector collector) Takes the first Token in the list of Tokens and returns aConstantExpressionTemplatewhose String value is the one from the retrieved Token, if it is aStringToken, elsenull.abstract ExpressionTemplateValueReader.read(ExpressionTemplateParser parser, List<Token> tokens, ParseWarnCollector collector) Method called by theExpressionTemplateParserto convert a List ofTokeninto a singleExpressionTemplate. -
Uses of ExpressionTemplate in ch.andre601.expressionparser.templates
Classes in ch.andre601.expressionparser.templates that implement ExpressionTemplateModifier and TypeClassDescriptionclassAn ExpressionTemplate instance that holds aToBooleanExpression,ToDoubleExpressionandToStringExpressioninstance to call.Methods in ch.andre601.expressionparser.templates that return ExpressionTemplateModifier and TypeMethodDescriptionstatic ExpressionTemplateExpressionTemplates.and(Collection<ExpressionTemplate> operands) Returns aExpressionTemplatewho's boolean value returns true if and only if all provided ExpressionTemplates return true.static ExpressionTemplateExpressionTemplates.concat(Collection<ExpressionTemplate> operands) Returns aExpressionTemplatewith the String values of the provided ExpressionTemplates merged together.static ExpressionTemplateExpressionTemplates.contains(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's boolean value returns true when the String value of the first ExpressionTemplate contains the String value of the second ExpressionTemplate.static ExpressionTemplateExpressionTemplates.containsIgnoreCase(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's boolean value returns true when the String value of the first ExpressionTemplate contains the String value of the second ExpressionTemplate.static ExpressionTemplateExpressionTemplates.div(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's double value is the double value of the first ExpressionTemplate divided by the double value of the second ExpressionTemplate.static ExpressionTemplateExpressionTemplates.endsWith(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's boolean value returns true when the String value of the first ExpressionTemplate ends with the String value of the second ExpressionTemplate.static ExpressionTemplateExpressionTemplates.endsWithIgnoreCase(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's boolean value returns true when the String value of the first ExpressionTemplate ends with the String value of the second ExpressionTemplate.static ExpressionTemplateExpressionTemplates.equal(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's boolean value is true if and only if the two provided ExpressionTemplates do have equal String values.static ExpressionTemplateExpressionTemplates.equalIgnoreCase(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's boolean value is true if and only if the two provided ExpressionTemplates do have equal String values.static ExpressionTemplateExpressionTemplates.greater(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's boolean value returns true when the double value of the first ExpressionTemplate is larger than the double value of the second ExpressionTemplate.static ExpressionTemplateExpressionTemplates.greaterOrEqual(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's boolean value returns true when the double value of the first ExpressionTemplate is larger than or equal to the double value of the second ExpressionTemplate.static ExpressionTemplateExpressionTemplates.less(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's boolean value returns true when the double value of the first ExpressionTemplate is less than the double value of the second ExpressionTemplate.static ExpressionTemplateExpressionTemplates.lessOrEqual(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's boolean value returns true when the double value of the first ExpressionTemplate is less than or equal to the double value of the second ExpressionTemplate.static ExpressionTemplateExpressionTemplates.negate(ExpressionTemplate template) Negates the provided ExpressionTemplate's output.static ExpressionTemplateExpressionTemplates.negateNumber(ExpressionTemplate template) Negates the provided ExpressionTemplate's double value.static ExpressionTemplateExpressionTemplates.notEqual(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's boolean value is true if and only if the two provided ExpressionTemplates do not have equal String values.static ExpressionTemplateExpressionTemplates.notEqualIgnoreCase(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's boolean value is true if and only if the two provided ExpressionTemplates do not have equal String values.static ExpressionTemplateExpressionTemplates.or(Collection<ExpressionTemplate> operands) Returns aExpressionTemplatewho's boolean value returns true if any of the provided ExpressionTemplates returns true.static ExpressionTemplateExpressionTemplates.product(Collection<ExpressionTemplate> operands) Returns aExpressionTemplatewho's double value is the product of all double values from the provided ExpressionTemplates.static ExpressionTemplateExpressionTemplates.startsWith(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's boolean value returns true when the String value of the first ExpressionTemplate starts with the String value of the second ExpressionTemplate.static ExpressionTemplateExpressionTemplates.startsWithIgnoreCase(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's boolean value returns true when the String value of the first ExpressionTemplate starts with the String value of the second ExpressionTemplate.static ExpressionTemplateExpressionTemplates.sub(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's double value is the double value of the first ExpressionTemplate minus the double value of the second ExpressionTemplate.static ExpressionTemplateExpressionTemplates.sum(Collection<ExpressionTemplate> operands) Returns aExpressionTemplatewho's double value is the sum of all double values from the provided ExpressionTemplates.Methods in ch.andre601.expressionparser.templates with parameters of type ExpressionTemplateModifier and TypeMethodDescriptionstatic ExpressionTemplateExpressionTemplates.contains(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's boolean value returns true when the String value of the first ExpressionTemplate contains the String value of the second ExpressionTemplate.static ExpressionTemplateExpressionTemplates.containsIgnoreCase(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's boolean value returns true when the String value of the first ExpressionTemplate contains the String value of the second ExpressionTemplate.static ExpressionTemplateExpressionTemplates.div(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's double value is the double value of the first ExpressionTemplate divided by the double value of the second ExpressionTemplate.static ExpressionTemplateExpressionTemplates.endsWith(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's boolean value returns true when the String value of the first ExpressionTemplate ends with the String value of the second ExpressionTemplate.static ExpressionTemplateExpressionTemplates.endsWithIgnoreCase(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's boolean value returns true when the String value of the first ExpressionTemplate ends with the String value of the second ExpressionTemplate.static ExpressionTemplateExpressionTemplates.equal(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's boolean value is true if and only if the two provided ExpressionTemplates do have equal String values.static ExpressionTemplateExpressionTemplates.equalIgnoreCase(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's boolean value is true if and only if the two provided ExpressionTemplates do have equal String values.static ExpressionTemplateExpressionTemplates.greater(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's boolean value returns true when the double value of the first ExpressionTemplate is larger than the double value of the second ExpressionTemplate.static ExpressionTemplateExpressionTemplates.greaterOrEqual(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's boolean value returns true when the double value of the first ExpressionTemplate is larger than or equal to the double value of the second ExpressionTemplate.static ExpressionTemplateExpressionTemplates.less(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's boolean value returns true when the double value of the first ExpressionTemplate is less than the double value of the second ExpressionTemplate.static ExpressionTemplateExpressionTemplates.lessOrEqual(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's boolean value returns true when the double value of the first ExpressionTemplate is less than or equal to the double value of the second ExpressionTemplate.static ExpressionTemplateExpressionTemplates.negate(ExpressionTemplate template) Negates the provided ExpressionTemplate's output.static ExpressionTemplateExpressionTemplates.negateNumber(ExpressionTemplate template) Negates the provided ExpressionTemplate's double value.static ExpressionTemplateExpressionTemplates.notEqual(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's boolean value is true if and only if the two provided ExpressionTemplates do not have equal String values.static ExpressionTemplateExpressionTemplates.notEqualIgnoreCase(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's boolean value is true if and only if the two provided ExpressionTemplates do not have equal String values.static ExpressionTemplateExpressionTemplates.startsWith(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's boolean value returns true when the String value of the first ExpressionTemplate starts with the String value of the second ExpressionTemplate.static ExpressionTemplateExpressionTemplates.startsWithIgnoreCase(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's boolean value returns true when the String value of the first ExpressionTemplate starts with the String value of the second ExpressionTemplate.static ExpressionTemplateExpressionTemplates.sub(ExpressionTemplate a, ExpressionTemplate b) Returns aExpressionTemplatewho's double value is the double value of the first ExpressionTemplate minus the double value of the second ExpressionTemplate.Method parameters in ch.andre601.expressionparser.templates with type arguments of type ExpressionTemplateModifier and TypeMethodDescriptionstatic ExpressionTemplateExpressionTemplates.and(Collection<ExpressionTemplate> operands) Returns aExpressionTemplatewho's boolean value returns true if and only if all provided ExpressionTemplates return true.static ExpressionTemplateExpressionTemplates.concat(Collection<ExpressionTemplate> operands) Returns aExpressionTemplatewith the String values of the provided ExpressionTemplates merged together.static ExpressionTemplateExpressionTemplates.or(Collection<ExpressionTemplate> operands) Returns aExpressionTemplatewho's boolean value returns true if any of the provided ExpressionTemplates returns true.static ExpressionTemplateExpressionTemplates.product(Collection<ExpressionTemplate> operands) Returns aExpressionTemplatewho's double value is the product of all double values from the provided ExpressionTemplates.static ExpressionTemplateExpressionTemplates.sum(Collection<ExpressionTemplate> operands) Returns aExpressionTemplatewho's double value is the sum of all double values from the provided ExpressionTemplates. -
Uses of ExpressionTemplate in ch.andre601.expressionparser.templates.abstracted
Classes in ch.andre601.expressionparser.templates.abstracted that implement ExpressionTemplateModifier and TypeClassDescriptionclassAbstract class implementingExpressionTemplate.classAbstract class implementingExpressionTemplate.classAbstract class implementingExpressionTemplate.