jpicedt.format.input.latex
Class LaTeXInstanciationExpression
java.lang.Object
jpicedt.format.input.util.AbstractRegularExpression
jpicedt.format.input.util.LiteralExpression
jpicedt.format.input.latex.LaTeXInstanciationExpression
- All Implemented Interfaces:
- ExpressionConstants
public class LaTeXInstanciationExpression
- extends LiteralExpression
- implements ExpressionConstants
instanciates a new Element by cloning the given object, when it finds the given tag,
then adds it to the current PicGroup ; makes use of the PicAttributeSet associated with
the ATTRIBUTES key in LaTeXParser.
- Since:
- jpicedt 1.3
- Version:
- $Id: LaTeXInstanciationExpression.java,v 1.6.2.1 2007/09/02 11:56:01 reynal Exp $
- Author:
- Sylvain Reynal
Fields inherited from interface jpicedt.format.input.util.ExpressionConstants |
ANY_CHAR, ANY_CHAR_EOL, ANY_SIGN, AT_LEAST, AT_MOST, DEBUG, DOUBLE, EOL, EXACTLY, INTEGER, NEGATIVE, NON_NULL, POSITIVE, STRICTLY_NEGATIVE, STRICTLY_POSITIVE, WHITE_SPACES, WHITE_SPACES_OR_EOL |
Method Summary |
void |
action(ParserEvent e)
Called in the course of the interpret operation at the end of a SUCCESSFUL interpret operation. |
String |
toString()
|
LaTeXInstanciationExpression
public LaTeXInstanciationExpression(String tag,
Element prototype,
Pool pl)
- Parameters:
literal
- tag expression to matchprototype
- 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)
- 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
toString
public String toString()
- Overrides:
toString
in class LiteralExpression
Submit a bug : syd@jpicedt.org