Class ExpressionScript

  • All Implemented Interfaces:
    Script

    public class ExpressionScript
    extends Object
    implements Script

    ExpressionScript outputs the value of an expression as text.

    Version:
    $Revision: 155420 $
    Author:
    James Strachan
    • Constructor Detail

      • ExpressionScript

        public ExpressionScript()
      • ExpressionScript

        public ExpressionScript​(Expression expression)
    • Method Detail

      • getExpression

        public Expression getExpression()
        Returns:
        the expression evaluated as a String and output by this script
      • setExpression

        public void setExpression​(Expression expression)
        Sets the expression evaluated as a String and output by this script
      • compile

        public Script compile()
        Description copied from interface: Script
        Called by the parser to allow a more efficient representation of the script to be used.
        Specified by:
        compile in interface Script