Class ExpressionParser


  • public class ExpressionParser
    extends Object
    • Constructor Detail

      • ExpressionParser

        public ExpressionParser()
    • Method Detail

      • parseInterpolation

        public Interpolation parseInterpolation​(String expressionString)
                                         throws SightlyCompilerException
        Parses the expression string.
        Parameters:
        expressionString - as defined by the HTL spec (https://github.com/Adobe-Marketing-Cloud/htl-spec/blob/master/SPECIFICATION.md)
        Returns:
        Parsed Expression object
        Throws:
        NullPointerException - is the given exprString is null
        SightlyCompilerException - if an error occurs while parsing the expression