jpicedt.format.input.pstricks
Class PSTDotStyleExpression
java.lang.Object
jpicedt.format.input.util.AbstractRegularExpression
jpicedt.format.input.util.SequenceExpression
jpicedt.format.input.pstricks.PSTDotStyleExpression
public class PSTDotStyleExpression
- extends SequenceExpression
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.7 2013/03/31 06:55:29 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. |
PSTDotStyleExpression
public PSTDotStyleExpression(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