Uses of Class
ch.andre601.expressionparser.ParseWarnCollector
Packages that use ParseWarnCollector
Package
Description
-
Uses of ParseWarnCollector in ch.andre601.expressionparser
Methods in ch.andre601.expressionparser with parameters of type ParseWarnCollectorModifier 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.default booleanExpressionParserEngine.compileToBoolean(String text, ParseWarnCollector collector) Parses the provided text into aExpressionTemplateand returns itsbooleanvalue to use.default booleanExpressionParserEngine.compileToBoolean(String text, ParseWarnCollector collector, boolean def) Parses the provided text into aExpressionTemplateand returns itsbooleanvalue to use.default doubleExpressionParserEngine.compileToDouble(String text, ParseWarnCollector collector) Parses the provided text into aExpressionTemplateand returns itsdoublevalue to use.default doubleExpressionParserEngine.compileToDouble(String text, ParseWarnCollector collector, double def) Parses the provided text into aExpressionTemplateand returns itsdoublevalue to use.default StringExpressionParserEngine.compileToString(String text, ParseWarnCollector collector) Parses the provided text into aExpressionTemplateand returns itsStringvalue to use.default StringExpressionParserEngine.compileToString(String text, ParseWarnCollector collector, String def) Parses the provided text into aExpressionTemplateand returns itsStringvalue to use. -
Uses of ParseWarnCollector in ch.andre601.expressionparser.expressions
Methods in ch.andre601.expressionparser.expressions with parameters of type ParseWarnCollector -
Uses of ParseWarnCollector in ch.andre601.expressionparser.parsers
Methods in ch.andre601.expressionparser.parsers with parameters of type ParseWarnCollectorModifier 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 ParseWarnCollector in ch.andre601.expressionparser.tokens.readers
Methods in ch.andre601.expressionparser.tokens.readers with parameters of type ParseWarnCollectorModifier and TypeMethodDescriptionNonQuotedLiteralTokenReader.read(String text, ParsePosition position, ParseWarnCollector collector) Iterates through the provided String until it finds a Whitespace Character at which point it returns a newStringTokenwhose value is the retrieved String up until the whitespace character.NumberTokenReader.read(String text, ParsePosition position, ParseWarnCollector collector) Takes the provided Text and parses the content from its current position using aNumberFormatinstance.PatternTokenReader.read(String text, ParsePosition position, ParseWarnCollector collector) Makes a region matches check to see if the String at the current position matches the provided pattern String.QuotedLiteralTokenReader.read(String text, ParsePosition position, ParseWarnCollector collector) Checks if the current position is less than the text length and if the character at current position is the character set in this TokenReader.abstract TokenTokenReader.read(String text, ParsePosition position, ParseWarnCollector collector) Abstract method that is called by the ExpressionparserEngine to turn the provided String into a token.