jpicedt.format.input.pstricks
Class PSTFillStyleExpression
java.lang.Object
jpicedt.format.input.util.AbstractRegularExpression
jpicedt.format.input.util.SequenceExpression
jpicedt.format.input.pstricks.PSTFillStyleExpression
public class PSTFillStyleExpression
- extends SequenceExpression
Parses statements similar to "fillstyle=style" where style is one of PicObjectConstants predefined fill styles.
- Version:
- $Id: PSTFillStyleExpression.java,v 1.8 2013/03/31 06:54:39 vincentb1 Exp $
- Author:
- Sylvain Reynal
Method Summary |
boolean |
interpret(Context context)
Parses this expression, possibly using the given Context to fetch the String to interpret
if this Expression is a leaf expression. |
PSTFillStyleExpression
public PSTFillStyleExpression(Pool pl,
Pool.Key<PicAttributeSet> attributeSetKey)
- Parameters:
pl
- parser's poolattributeSetKey
- used to fetch the attribute set in which parsed parameters are stored.
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
Submit a bug : syd@jpicedt.org