Class ASTStringLiteral

    • Field Detail

      • literal

        private java.lang.String literal
        The actual literal value; the inherited 'value' member may host a cached getter.
    • Constructor Detail

      • ASTStringLiteral

        ASTStringLiteral​(int id)
    • Method Detail

      • getLiteral

        public java.lang.String getLiteral()
        Gets the literal value.
        Specified by:
        getLiteral in interface JexlNode.Constant<java.lang.String>
        Returns:
        the string literal
      • isConstant

        protected boolean isConstant​(boolean literal)
        Overrides:
        isConstant in class JexlNode
      • jjtAccept

        public java.lang.Object jjtAccept​(ParserVisitor visitor,
                                          java.lang.Object data)
        Description copied from class: SimpleNode
        Accepts the visitor.
        Specified by:
        jjtAccept in interface Node
        Overrides:
        jjtAccept in class SimpleNode
        Parameters:
        visitor - the visitor
        data - contextual data
        Returns:
        result of visit
      • setLiteral

        void setLiteral​(java.lang.String literal)