Class JexlNode

    • Field Detail

      • image

        public java.lang.String image
        token value.
    • Constructor Detail

      • JexlNode

        public JexlNode​(int id)
      • JexlNode

        public JexlNode​(Parser p,
                        int id)
    • Method Detail

      • debugInfo

        public DebugInfo debugInfo()
        Gets the underlying debugging information.
        Specified by:
        debugInfo in interface JexlInfo
        Returns:
        a debug info instance
      • debugString

        public java.lang.String debugString()
        Formats this information for debugging purpose.
        Specified by:
        debugString in interface JexlInfo
        Returns:
        a human readable string.
      • isConstant

        public final boolean isConstant()
        Whether this node is a constant node Its value can not change after the first evaluation and can be cached indefinitely.
        Returns:
        true if constant, false otherwise
      • isConstant

        protected boolean isConstant​(boolean literal)