java.lang.Object
jpicedt.graphic.io.parser.AbstractRegularExpression
jpicedt.format.latex.parser.PicEndExpression
- All Implemented Interfaces:
- jpicedt.graphic.io.parser.ExpressionConstants
- public class PicEndExpression
- extends jpicedt.graphic.io.parser.AbstractRegularExpression
Match "%End XXXX"-like expressions at the beginning of a line (or preceeded by whitespaces),
after skipping as many lines as necessary.
| Fields inherited from interface jpicedt.graphic.io.parser.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 |
literal
private java.lang.String literal
re
private gnu.regexp.RE re
PicEndExpression
public PicEndExpression(java.lang.String literal)
interpret
public boolean interpret(jpicedt.graphic.io.parser.Context context)
throws jpicedt.graphic.io.parser.ParserException
- Description copied from class:
jpicedt.graphic.io.parser.AbstractRegularExpression
- Parses this expression, possibly using Context to fetch the String to interpret
if this Expression is a leaf expression.
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object
- Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method
never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string
concatenation with this object. If the result is
null, string concatenation will instead
use "null".
The default implementation returns
getClass().getName() + "@" +
Integer.toHexString(hashCode()).