Class PSTDotStyleExpression

  • All Implemented Interfaces:
    ExpressionConstants, PicObjectConstants

    public class PSTDotStyleExpression
    extends SequenceExpression
    implements PicObjectConstants
    Parses statements similar to "dotstyle=style" where style is one of PicObjectConstants predefined dot styles.
    Since:
    jpicedt 1.4
    Version:
    $Id: PSTDotStyleExpression.java,v 1.3.2.1 2007/09/02 11:56:12 reynal Exp $

    Author:
    Sylvain Reynal
    • Constructor Detail

      • PSTDotStyleExpression

        public PSTDotStyleExpression​(Pool pl,
                                     Pool.Key attributeSetKey)
        Parameters:
        pl - parser's pool
        attributeSetKey - used to fetch the attribute set in which parsed parameters are stored.
    • Method Detail

      • interpret

        public boolean interpret​(Context context)
                          throws REParserException
        Description copied from class: AbstractRegularExpression
        Parses this expression, possibly using the given Context to fetch the String to interpret if this Expression is a leaf expression.
        Overrides:
        interpret in class SequenceExpression
        Returns:
        TRUE if and only if every expression contained in this SequenceExpression were found, in the same order as they were added to the sequence. FALSE otherwise.
        Throws:
        REParserException - if an error occur during parsing