Class ASTStringLiteral

    • Constructor Detail

      • ASTStringLiteral

        public ASTStringLiteral​(int id)
      • ASTStringLiteral

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

      • getLiteral

        public java.lang.String getLiteral()
        Gets the literal value.
        Specified by:
        getLiteral in interface JexlNode.Literal<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)
        Accept the visitor.
        Specified by:
        jjtAccept in interface Node
        Overrides:
        jjtAccept in class SimpleNode
        Parameters:
        visitor - the visitor
        data - contextual data
        Returns:
        result of visit