jpicedt.format.input.pstricks
Class PSTInstanciationExpression
java.lang.Object
jpicedt.format.input.util.AbstractRegularExpression
jpicedt.format.input.util.LiteralExpression
jpicedt.format.input.pstricks.PSTInstanciationExpression
public class PSTInstanciationExpression
- extends LiteralExpression
Instanciates a new Element by cloning the given object, when a given tag gets found.
Then adds it to the current PicGroup in the Pool (i.e. Pool.currentGroup
)
- Version:
- $Id: PSTInstanciationExpression.java,v 1.10 2013/03/31 06:55:24 vincentb1 Exp $
- Author:
- Sylvain Reynal
Method Summary |
void |
action(ParserEvent e)
Called in the course of the interpret operation at the end of a SUCCESSFUL interpret operation. |
String |
toString()
|
PSTInstanciationExpression
public PSTInstanciationExpression(String tag,
Element prototype,
Pool pl)
- Parameters:
tag
- expression to be matchedprototype
- element to be instanciated by cloningpl
- pool where to add the instanciated element ; also used to fetch the current attribute set for PsTricks
action
public void action(ParserEvent e)
throws REParserException
- Description copied from class:
AbstractRegularExpression
- Called in the course of the interpret operation at the end of a SUCCESSFUL interpret operation.
Should be overriden by daughter classes to process proper action, e.g. set Element's attributes…
Current implementation does nothing, but sending a debugging string.
- Overrides:
action
in class AbstractRegularExpression
- Throws:
REParserException
toString
public String toString()
- Overrides:
toString
in class LiteralExpression
Submit a bug : syd@jpicedt.org