Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep
A B C D E G H I J L M N O P R S T U V W X Y

A

ANY_CHAR - Static variable in interface jpicedt.graphic.io.parser.ExpressionConstants
constant for WildCharExpression
ANY_CHAR_EOL - Static variable in interface jpicedt.graphic.io.parser.ExpressionConstants
constant for WildCharExpression
ANY_SIGN - Static variable in interface jpicedt.graphic.io.parser.ExpressionConstants
sign for NumericalExpression
AT_LEAST - Static variable in interface jpicedt.graphic.io.parser.ExpressionConstants
RepeatExpression mode
AT_MOST - Static variable in interface jpicedt.graphic.io.parser.ExpressionConstants
RepeatExpression mode
AbstractRegularExpression - class jpicedt.graphic.io.parser.AbstractRegularExpression.
This is the abstract superclass for all regular expression that build up the LaTeX parser.
AbstractRegularExpression() - Constructor for class jpicedt.graphic.io.parser.AbstractRegularExpression
 
AlternateExpression - class jpicedt.graphic.io.parser.AlternateExpression.
A regular expression that mimics the "x|y" RegExp syntax.
AlternateExpression(AbstractRegularExpression) - Constructor for class jpicedt.graphic.io.parser.AlternateExpression
Creates a new AlternateExpression with the given expr as first element
AlternateExpression(AbstractRegularExpression, AbstractRegularExpression) - Constructor for class jpicedt.graphic.io.parser.AlternateExpression
Creates a new AlternateExpression with the given expr as first and second element
AlternateExpression(AbstractRegularExpression, AbstractRegularExpression, AbstractRegularExpression) - Constructor for class jpicedt.graphic.io.parser.AlternateExpression
Creates a new AlternateExpression with the given expr as first, second and third element
AlternateExpression() - Constructor for class jpicedt.graphic.io.parser.AlternateExpression
Creates a new AlternateExpression with no element
action(ParserEvent) - Method in class jpicedt.graphic.io.parser.AbstractRegularExpression
Called during interpret operation at the end of a SUCCESSFUL interpret operation.
action(ParserEvent) - Method in class jpicedt.graphic.io.parser.InstanciationExpression
Called when the tag-string was matched ; instanciate a new element, then add it to the current PicGroup.
action(ParserEvent) - Method in class jpicedt.graphic.io.parser.NotParsableExpression
 
add(AbstractRegularExpression) - Method in class jpicedt.graphic.io.parser.AlternateExpression
Add a new child to this AlternateExpression.
add(AbstractRegularExpression) - Method in class jpicedt.graphic.io.parser.SequenceExpression
add the given expression to the sequence
addGrammar(RootExpression) - Method in class jpicedt.graphic.io.parser.DefaultParser
Add a new sub-tree to this parser
allowDigit - Variable in class jpicedt.graphic.io.parser.WordExpression
 
as - Variable in class jpicedt.graphic.io.parser.StatementExpression
 
attributes - Variable in class jpicedt.graphic.io.parser.InstanciationExpression
 

B

beginBlockMarker - Variable in class jpicedt.graphic.io.parser.Context
 
blockMarkersStack - Variable in class jpicedt.graphic.io.parser.Context
 
buffer - Variable in class jpicedt.graphic.io.parser.Context
 

C

C - Variable in class jpicedt.graphic.io.parser.WildCharExpression
 
CURRENT_OBJ_ATTRIBUTES - Static variable in class jpicedt.graphic.io.parser.Pool
Key used to fetch the attribute set attached to the current element "currentObj"
CommentExpression - class jpicedt.graphic.io.parser.CommentExpression.
Parse comment strings.
CommentExpression(String) - Constructor for class jpicedt.graphic.io.parser.CommentExpression
 
Context - class jpicedt.graphic.io.parser.Context.
A class that stores context information about the parsing process, like : current line number, current parsed substring, block markers, stack for markers...
Context(Reader) - Constructor for class jpicedt.graphic.io.parser.Context
build a new Context fed by the given reader
caret - Variable in class jpicedt.graphic.io.parser.Context
 
child - Variable in class jpicedt.graphic.io.parser.EnclosingExpression
 
closingDelimiter - Variable in class jpicedt.graphic.io.parser.EnclosingExpression
 
context - Variable in class jpicedt.graphic.io.parser.DefaultParser
 
context - Variable in class jpicedt.graphic.io.parser.LaTeXParser
 
context - Variable in class jpicedt.graphic.io.parser.ParserEvent
 
context - Variable in class jpicedt.graphic.io.parser.ParserException
the current state of the Context
currentGroup - Variable in class jpicedt.graphic.io.parser.LaTeXParser.Pool
 
currentGroup - Variable in class jpicedt.graphic.io.parser.Pool
either the main drawing, or a subgroup ; each new parsed Element should be added to this group
currentObj - Variable in class jpicedt.graphic.io.parser.LaTeXParser.Pool
 
currentObj - Variable in class jpicedt.graphic.io.parser.Pool
Convenience used to share information (e.g.

D

DEBUG - Static variable in interface jpicedt.graphic.io.parser.ExpressionConstants
debug flag ; turn on for verbose parsing
DOUBLE - Static variable in interface jpicedt.graphic.io.parser.ExpressionConstants
type for NumericalExpression
DefaultParser - class jpicedt.graphic.io.parser.DefaultParser.
Default implementation of the parser interface [pending : create interface !].
DefaultParser() - Constructor for class jpicedt.graphic.io.parser.DefaultParser
Creates a new DefaultParser, and build grammar rules ; Tree structure = (WhiteSpaceOrEOL & (headExp | notParsable))* where : headExp = Root1 | Root2 | Root3 ...
delimiter - Variable in class jpicedt.graphic.io.parser.PicPointExpression
 

E

EOL - Static variable in interface jpicedt.graphic.io.parser.ExpressionConstants
constant for WildCharExpression
EXACTLY - Static variable in interface jpicedt.graphic.io.parser.ExpressionConstants
RepeatExpression mode
EnclosingExpression - class jpicedt.graphic.io.parser.EnclosingExpression.
An expression that can encompass a sub-expression it encloses with markers, e.g.
EnclosingExpression(String, AbstractRegularExpression, String, boolean) - Constructor for class jpicedt.graphic.io.parser.EnclosingExpression
 
EnclosingExpression(String, AbstractRegularExpression, String) - Constructor for class jpicedt.graphic.io.parser.EnclosingExpression
 
ExpressionConstants - interface jpicedt.graphic.io.parser.ExpressionConstants.
Constants used by subclasses of AbstractRegularExpression.
endBlockMarker - Variable in class jpicedt.graphic.io.parser.Context
 
enterBlock(int) - Method in class jpicedt.graphic.io.parser.Context
save current markers in the stack, and set new block borders : new endBlockMarker is set to the given position new beginBlockMarker is set to the current caret position convenience marker is saved, and a new one is initialized to the beginning of the (new) current block.
errorCode - Variable in class jpicedt.graphic.io.parser.ParserException
a string containing the error code message
exitBlock() - Method in class jpicedt.graphic.io.parser.Context
restore old markers (and forget current value), then move caret to the end of the block we just went out.
exp1 - Variable in class jpicedt.graphic.io.parser.PicPointExpression
 
exp1 - Variable in class jpicedt.graphic.io.parser.StatementExpression
 
exp2 - Variable in class jpicedt.graphic.io.parser.PicPointExpression
 
exp2 - Variable in class jpicedt.graphic.io.parser.StatementExpression
 
exp3 - Variable in class jpicedt.graphic.io.parser.PicPointExpression
 
exp3 - Variable in class jpicedt.graphic.io.parser.StatementExpression
 
exp4 - Variable in class jpicedt.graphic.io.parser.PicPointExpression
 
expr - Variable in class jpicedt.graphic.io.parser.LiteralExpression
 
expr - Variable in class jpicedt.graphic.io.parser.OptionalExpression
 
expr - Variable in class jpicedt.graphic.io.parser.ParserException
the expression that raised this exception
expr - Variable in class jpicedt.graphic.io.parser.RepeatExpression
 
expr - Variable in class jpicedt.graphic.io.parser.TerminalExpression
 
expressionList - Variable in class jpicedt.graphic.io.parser.AlternateExpression
 
expressionList - Variable in class jpicedt.graphic.io.parser.SequenceExpression
 

G

GNURegExpression - class jpicedt.graphic.io.parser.GNURegExpression.
An expression specified by a gnu.regexp.RE regular expression.
GNURegExpression(String) - Constructor for class jpicedt.graphic.io.parser.GNURegExpression
 
get(Pool.Key) - Method in class jpicedt.graphic.io.parser.Pool
Return the value associated with the given key
getAttributeSet(Pool.Key) - Method in class jpicedt.graphic.io.parser.Pool
Convenience for retrieving a "PicAttributeSet" value ; can be used in conjunction with jpicedt.graphic.model.StyleConstants static methods to retrieve attributes values with less burden.
getBOL() - Method in class jpicedt.graphic.io.parser.Context
Returns the position of the beginning of the current line, or the beginning of the current block if the caret is located b/w the B.of.Block and the first CR inside the current block.
getBeginningOfBlock() - Method in class jpicedt.graphic.io.parser.Context
 
getBlockContent() - Method in class jpicedt.graphic.io.parser.Context
Return the content of the current block.
getBuffer() - Method in class jpicedt.graphic.io.parser.Context
Return the entire buffer
getCaretPosition() - Method in class jpicedt.graphic.io.parser.Context
 
getCharAt(int) - Method in class jpicedt.graphic.io.parser.Context
Return the character at the given position, or null if index is negative, or past EOF
getCharacter() - Method in class jpicedt.graphic.io.parser.WildCharExpression
Return the last character parsed.
getContext() - Method in class jpicedt.graphic.io.parser.ParserEvent
 
getCurrentLine() - Method in class jpicedt.graphic.io.parser.Context
 
getDouble(Pool.Key) - Method in class jpicedt.graphic.io.parser.Pool
Convenience for retrieving a "double" value
getEOF() - Method in class jpicedt.graphic.io.parser.Context
 
getEOL() - Method in class jpicedt.graphic.io.parser.Context
Returns the position of the end of the current line, i.e.
getEnclosedString() - Method in class jpicedt.graphic.io.parser.EnclosingExpression
 
getEndOfBlock() - Method in class jpicedt.graphic.io.parser.Context
 
getExpressionList() - Method in class jpicedt.graphic.io.parser.AlternateExpression
Return a list containing every expression in this AlternateExpression
getLineNumber() - Method in class jpicedt.graphic.io.parser.Context
 
getLocale(String) - Method in class jpicedt.graphic.io.parser.ParserException
 
getMatch(RE) - Method in class jpicedt.graphic.io.parser.Context
match the given RE on the current block, starting at the caret position, then move the caret past the matched string if found.
getPicPoint() - Method in class jpicedt.graphic.io.parser.PicPointExpression
Returns the parsed PicPoint
getPool() - Method in class jpicedt.graphic.io.parser.DefaultParser
Return the pool containing variables shared across the grammar tree
getSource() - Method in class jpicedt.graphic.io.parser.ParserEvent
 
getType() - Method in class jpicedt.graphic.io.parser.WildCharExpression
 
getValue() - Method in class jpicedt.graphic.io.parser.NumericalExpression
Return the parsed value, wrapped in a Number (either Integer or Double)
getValue() - Method in class jpicedt.graphic.io.parser.ParserEvent
 
getValue() - Method in class jpicedt.graphic.io.parser.StatementExpression
Return the value of the RHS, wrapped in a Number (either Integer or Double)
getValue() - Method in class jpicedt.graphic.io.parser.WordExpression
Return the (last) parsed content of this expression

H

headExp - Variable in class jpicedt.graphic.io.parser.DefaultParser
 

I

INTEGER - Static variable in interface jpicedt.graphic.io.parser.ExpressionConstants
type for NumericalExpression
InstanciationExpression - class jpicedt.graphic.io.parser.InstanciationExpression.
An expression that can instanciate a new Element by cloning the given graphic element when it finds a given litteral tag, then add it to the current PicGroup in the pool.
InstanciationExpression(String, Element, PicAttributeSet, Pool) - Constructor for class jpicedt.graphic.io.parser.InstanciationExpression
 
indexOf(String) - Method in class jpicedt.graphic.io.parser.Context
Return the index of the first occurence of the given String, starting from the current caret position.
indexOf(String, int) - Method in class jpicedt.graphic.io.parser.Context
Return the index of the first occurence of the given String in the current block, starting from the given position
indexOfBeforeEOL(String) - Method in class jpicedt.graphic.io.parser.Context
Return the index of the first occurence of the given String, starting from the current caret position, ending at getEndOfBlock() (not included!).
interpret(Context) - Method in 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.
interpret(Context) - Method in class jpicedt.graphic.io.parser.AlternateExpression
Calls "action" with value=Integer(index of first expression parsed with success, starting from 0).
interpret(Context) - Method in class jpicedt.graphic.io.parser.EnclosingExpression
Call action() with value=enclosed string
interpret(Context) - Method in class jpicedt.graphic.io.parser.GNURegExpression
 
interpret(Context) - Method in class jpicedt.graphic.io.parser.LiteralExpression
 
interpret(Context) - Method in class jpicedt.graphic.io.parser.NumericalExpression
 
interpret(Context) - Method in class jpicedt.graphic.io.parser.OptionalExpression
 
interpret(Context) - Method in class jpicedt.graphic.io.parser.PicPointExpression
 
interpret(Context) - Method in class jpicedt.graphic.io.parser.RepeatExpression
 
interpret(Context) - Method in class jpicedt.graphic.io.parser.SequenceExpression
 
interpret(Context) - Method in class jpicedt.graphic.io.parser.StatementExpression
 
interpret(Context) - Method in class jpicedt.graphic.io.parser.TerminalExpression
Either : - swallow CR's on empty line, - or try to match the given expression, - or try to swallow the given wildchars.
interpret(Context) - Method in class jpicedt.graphic.io.parser.WildCharExpression
 
interpret(Context) - Method in class jpicedt.graphic.io.parser.WordExpression
 
isAtBeginningOfBlock() - Method in class jpicedt.graphic.io.parser.Context
Return true if the caret is located at the beginning of the current block
isAtEOF() - Method in class jpicedt.graphic.io.parser.Context
Return true if the caret is located at the end of the entire buffer
isAtEndOfBlock() - Method in class jpicedt.graphic.io.parser.Context
Return true if the caret is located at the end of the current block
isSuccessful() - Method in class jpicedt.graphic.io.parser.ParserEvent
 

J

jpicedt.graphic.io.parser - package jpicedt.graphic.io.parser
 

L

LaTeXParser - class jpicedt.graphic.io.parser.LaTeXParser.
LaTeX (including epic/eepic and pstricks macros) parser This class consists essentially of LaTeX grammar rules (subexpression included in the "root" sequence expression) and a method "parse()" which kicks off the parsing process.
LaTeXParser() - Constructor for class jpicedt.graphic.io.parser.LaTeXParser
Creates a new LaTeXParser, and build grammar rules As of jPicEdt 1.3.2 (when I started implementing PsTricks support), I decided to allow for both LaTeX/eepic and PsTricks to be mixed in the same grammar, instead of implementing two distinct subtrees (one for LaTeX/eepic, the other one for PsTricks), each starting with its own environment opening expression (e.g.
LaTeXParser.Pool - class jpicedt.graphic.io.parser.LaTeXParser.Pool.
an inner class that serves as a parameter stack for the parser, i.e.
LaTeXParser.Pool() - Constructor for class jpicedt.graphic.io.parser.LaTeXParser.Pool
initializes all shared variables
LiteralExpression - class jpicedt.graphic.io.parser.LiteralExpression.
An expression specified by a String to be exactly matched at the current cursor position.
LiteralExpression(String) - Constructor for class jpicedt.graphic.io.parser.LiteralExpression
 
leadingStr - Variable in class jpicedt.graphic.io.parser.TerminalExpression
 
lhs - Variable in class jpicedt.graphic.io.parser.StatementExpression
 
lineBreaks - Variable in class jpicedt.graphic.io.parser.Context
 
lineFeed() - Method in class jpicedt.graphic.io.parser.Context
Move cursor to the beginning of the next line, EVEN if we aren't at an EOL
ltxSet - Variable in class jpicedt.graphic.io.parser.LaTeXParser.Pool
 

M

main(String[]) - Static method in class jpicedt.graphic.io.parser.Context
context standalone test
main(String[]) - Static method in class jpicedt.graphic.io.parser.DefaultParser
parser standalone test
main(String[]) - Static method in class jpicedt.graphic.io.parser.LaTeXParser
parser standalone test
map - Variable in class jpicedt.graphic.io.parser.Pool
 
mark() - Method in class jpicedt.graphic.io.parser.Context
Set the convenience marker to the current caret position.
marker - Variable in class jpicedt.graphic.io.parser.Context
 
matchAndMove(String) - Method in class jpicedt.graphic.io.parser.Context
Test if the string at the caret position starts with the given string, and in case of success moves the caret past this string ; return false otherwise.
mode - Variable in class jpicedt.graphic.io.parser.RepeatExpression
 
moveCaretBy(int) - Method in class jpicedt.graphic.io.parser.Context
Move cursor position forward by the given increment, possibly proceeding to linefeeds.
moveCaretTo(int) - Method in class jpicedt.graphic.io.parser.Context
Move cursor position forward to the given position, possibly proceeding to linefeeds.

N

NEGATIVE - Static variable in interface jpicedt.graphic.io.parser.ExpressionConstants
sign for NumericalExpression
NON_NULL - Static variable in interface jpicedt.graphic.io.parser.ExpressionConstants
sign for NumericalExpression
NotParsableExpression - class jpicedt.graphic.io.parser.NotParsableExpression.
Any string (but w/o line-feeds !)
NotParsableExpression(Pool) - Constructor for class jpicedt.graphic.io.parser.NotParsableExpression
 
NumericalExpression - class jpicedt.graphic.io.parser.NumericalExpression.
An expression containing only digits, possibly preceded by whitespaces ; a post-delimiters can be specified, as well as the number's type (int or double) and its sign
NumericalExpression(int, int, String, boolean) - Constructor for class jpicedt.graphic.io.parser.NumericalExpression
 
NumericalExpression(int, int) - Constructor for class jpicedt.graphic.io.parser.NumericalExpression
Constructor w/o postfix, i.e.
NumericalExpression() - Constructor for class jpicedt.graphic.io.parser.NumericalExpression
Constructor w/o postfix, type=DOUBLE and sign=ANY_SIGN.
noLineFeed - Variable in class jpicedt.graphic.io.parser.EnclosingExpression
 
noLineFeed - Variable in class jpicedt.graphic.io.parser.WordExpression
 
notParsed - Variable in class jpicedt.graphic.io.parser.LaTeXParser.Pool
 
notParsed - Variable in class jpicedt.graphic.io.parser.Pool
a string that stores commands that couldn't be parsed in the current context (e.g.
numberType - Variable in class jpicedt.graphic.io.parser.NumericalExpression
 

O

OptionalExpression - class jpicedt.graphic.io.parser.OptionalExpression.
an expression that represents a pattern repeating at most once
OptionalExpression(AbstractRegularExpression) - Constructor for class jpicedt.graphic.io.parser.OptionalExpression
the expression to be matched (yet optionally)
openingDelimiter - Variable in class jpicedt.graphic.io.parser.EnclosingExpression
 

P

POSITIVE - Static variable in interface jpicedt.graphic.io.parser.ExpressionConstants
sign for NumericalExpression
Parser - interface jpicedt.graphic.io.parser.Parser.
This is the interface from which every parser passed as a parameter to "PECanvas.read()" (or similar methods from related classes) must inherit.
ParserEvent - class jpicedt.graphic.io.parser.ParserEvent.
An event that gets sent as an argument of the "action" method during an interpret operation
ParserEvent(AbstractRegularExpression, Context, boolean, Object) - Constructor for class jpicedt.graphic.io.parser.ParserEvent
 
ParserException - exception jpicedt.graphic.io.parser.ParserException.
An Exception manager used by Parsers The main purpose is to build a meaningfull string so that the user may be able to know where the syntax error comes from and what kind of error it is.
ParserException(String, Context) - Constructor for class jpicedt.graphic.io.parser.ParserException
create a new ParserException with the specified error code and line number
ParserException(String, Context, AbstractRegularExpression) - Constructor for class jpicedt.graphic.io.parser.ParserException
create a new ParserException, raised by the given Expression
ParserException.BeginGroupMismatch - exception jpicedt.graphic.io.parser.ParserException.BeginGroupMismatch.
signals that a "begin group" has no matching "end group"
ParserException.BeginGroupMismatch(Context, AbstractRegularExpression) - Constructor for class jpicedt.graphic.io.parser.ParserException.BeginGroupMismatch
 
ParserException.BlockMismatch - exception jpicedt.graphic.io.parser.ParserException.BlockMismatch.
signals that a closing delimiter has no matching opening delimiter (see EnclosingExpression)
ParserException.BlockMismatch(Context, AbstractRegularExpression) - Constructor for class jpicedt.graphic.io.parser.ParserException.BlockMismatch
 
ParserException.EOF - exception jpicedt.graphic.io.parser.ParserException.EOF.
signals that the end of the file has been reached anormally (i.e.
ParserException.EOF() - Constructor for class jpicedt.graphic.io.parser.ParserException.EOF
 
ParserException.EOF(Context, AbstractRegularExpression) - Constructor for class jpicedt.graphic.io.parser.ParserException.EOF
 
ParserException.EndGroupMismatch - exception jpicedt.graphic.io.parser.ParserException.EndGroupMismatch.
signals that a "end group" has no matching "begin group"
ParserException.EndGroupMismatch(Context, AbstractRegularExpression) - Constructor for class jpicedt.graphic.io.parser.ParserException.EndGroupMismatch
 
ParserException.EndOfPicture - exception jpicedt.graphic.io.parser.ParserException.EndOfPicture.
signals that the end of the picture has been encoutered (this is NOT an error)
ParserException.EndOfPicture() - Constructor for class jpicedt.graphic.io.parser.ParserException.EndOfPicture
 
ParserException.EndOfPictureNotFound - exception jpicedt.graphic.io.parser.ParserException.EndOfPictureNotFound.
signals that the end of the picture hasn't been found
ParserException.EndOfPictureNotFound() - Constructor for class jpicedt.graphic.io.parser.ParserException.EndOfPictureNotFound
 
ParserException.IncompleteSequence - exception jpicedt.graphic.io.parser.ParserException.IncompleteSequence.
signals an incomplete SequenceExpression
ParserException.IncompleteSequence(Context, AbstractRegularExpression) - Constructor for class jpicedt.graphic.io.parser.ParserException.IncompleteSequence
 
ParserException.NotFoundInFile - exception jpicedt.graphic.io.parser.ParserException.NotFoundInFile.
signals that a mandatory expression wasn't found
ParserException.NotFoundInFile(Context, AbstractRegularExpression) - Constructor for class jpicedt.graphic.io.parser.ParserException.NotFoundInFile
 
ParserException.NumberFormat - exception jpicedt.graphic.io.parser.ParserException.NumberFormat.
aka NumberFormatException
ParserException.NumberFormat(Context, AbstractRegularExpression) - Constructor for class jpicedt.graphic.io.parser.ParserException.NumberFormat
 
ParserException.NumberSign - exception jpicedt.graphic.io.parser.ParserException.NumberSign.
signals an error concerning the sign of a number (see NumericalExpression)
ParserException.NumberSign(Context, AbstractRegularExpression) - Constructor for class jpicedt.graphic.io.parser.ParserException.NumberSign
 
ParserException.SyntaxError - exception jpicedt.graphic.io.parser.ParserException.SyntaxError.
signals that a syntax error has occured
ParserException.SyntaxError(Context, AbstractRegularExpression) - Constructor for class jpicedt.graphic.io.parser.ParserException.SyntaxError
 
PicPointExpression - class jpicedt.graphic.io.parser.PicPointExpression.
An expression for 2D-Point parsing e.g.
PicPointExpression(String, String, String) - Constructor for class jpicedt.graphic.io.parser.PicPointExpression
 
Pool - class jpicedt.graphic.io.parser.Pool.
Offers a means for expressions belonging to the parser-tree to share variables across the tree.
Pool() - Constructor for class jpicedt.graphic.io.parser.Pool
 
Pool.Key - class jpicedt.graphic.io.parser.Pool.Key.
Enforces use of strong typing for keys being put the map
Pool.Key(String) - Constructor for class jpicedt.graphic.io.parser.Pool.Key
 
parse(Reader) - Method in class jpicedt.graphic.io.parser.DefaultParser
kicks off the parsing process
parse(Reader) - Method in class jpicedt.graphic.io.parser.LaTeXParser
kicks off the parsing process this method is thread-safe, and can be called from outside AWTEventDispatchThread ; every call to the paint mechanism (e.g.
parse(Reader) - Method in interface jpicedt.graphic.io.parser.Parser
kicks off the parsing process
parsingSuccessful - Variable in class jpicedt.graphic.io.parser.ParserEvent
 
pf - Variable in class jpicedt.graphic.io.parser.StatementExpression
 
picGroupStack - Variable in class jpicedt.graphic.io.parser.LaTeXParser.Pool
 
picGroupStack - Variable in class jpicedt.graphic.io.parser.Pool
a fifo-like stack used to store the main drawing and its subgroups ; each time a "begin group" is encountered, the current PicGroup is pushed onto the stack, and a new PicGroup is instanciated, which then represents the current PicGroup ; the opposite operations are executed in the reverse order when a "end group" is found.
pool - Variable in class jpicedt.graphic.io.parser.DefaultParser
 
pool - Variable in class jpicedt.graphic.io.parser.InstanciationExpression
 
pool - Variable in class jpicedt.graphic.io.parser.LaTeXParser
 
pool - Variable in class jpicedt.graphic.io.parser.NotParsableExpression
 
postfix - Variable in class jpicedt.graphic.io.parser.NumericalExpression
 
postfix - Variable in class jpicedt.graphic.io.parser.PicPointExpression
 
postfix - Variable in class jpicedt.graphic.io.parser.WordExpression
 
prefix - Variable in class jpicedt.graphic.io.parser.PicPointExpression
 
prefix - Variable in class jpicedt.graphic.io.parser.WordExpression
 
prototype - Variable in class jpicedt.graphic.io.parser.InstanciationExpression
 
pstRunit - Variable in class jpicedt.graphic.io.parser.LaTeXParser.Pool
 
pstSet - Variable in class jpicedt.graphic.io.parser.LaTeXParser.Pool
 
pstXunit - Variable in class jpicedt.graphic.io.parser.LaTeXParser.Pool
 
pstYunit - Variable in class jpicedt.graphic.io.parser.LaTeXParser.Pool
 
pushBack() - Method in class jpicedt.graphic.io.parser.Context
After a read(), pushes back the char that has been read
put(Pool.Key, Object) - Method in class jpicedt.graphic.io.parser.Pool
Associates the specified value with the given key in the pool
put(Pool.Key, double) - Method in class jpicedt.graphic.io.parser.Pool
Convenience for store a "double" value
putPoint - Variable in class jpicedt.graphic.io.parser.LaTeXParser.Pool
 

R

RepeatExpression - class jpicedt.graphic.io.parser.RepeatExpression.
an expression that represents a pattern repeating a given number of times
RepeatExpression(AbstractRegularExpression, int, int) - Constructor for class jpicedt.graphic.io.parser.RepeatExpression
 
RootExpression - class jpicedt.graphic.io.parser.RootExpression.
This is the super-class for head-expressions that contain grammar rule for a given format.
RootExpression() - Constructor for class jpicedt.graphic.io.parser.RootExpression
 
re - Variable in class jpicedt.graphic.io.parser.GNURegExpression
 
read() - Method in class jpicedt.graphic.io.parser.Context
read a character, and increment the caret position by one, if this is possible.
read(int) - Method in class jpicedt.graphic.io.parser.Context
read the given number of character, wrapped in a String, and move the caret past the String being returned.
readTo(int) - Method in class jpicedt.graphic.io.parser.Context
 
readToEOL() - Method in class jpicedt.graphic.io.parser.Context
Returns the remaining substring up to the end of the current line, EOL NOT INCLUDED ! Doesn't proceed to any linefeed, i.e.
reinit() - Method in class jpicedt.graphic.io.parser.Pool
 
reinit() - Method in class jpicedt.graphic.io.parser.RootExpression
reinit sub-tree (e.g.
reinitAll() - Method in class jpicedt.graphic.io.parser.LaTeXParser.Pool
 
reinitGenericParameters() - Method in class jpicedt.graphic.io.parser.LaTeXParser.Pool
reinit pool w/o a need to call the constructor from the outside (and run the risk of loosing the reference to this object)
reinitLatexParameters() - Method in class jpicedt.graphic.io.parser.LaTeXParser.Pool
reinit LaTeX/eepic related parameters
reinitPstricksParameters() - Method in class jpicedt.graphic.io.parser.LaTeXParser.Pool
 
removeLineFeeds(String) - Static method in class jpicedt.graphic.io.parser.Context
Remove '\n' and '\r' from a given string, and return a new string.
removeRedundantWhiteSpaces(String) - Static method in class jpicedt.graphic.io.parser.Context
Replace " " (double-space) or tabs by ' ' ; always return a new String.
repeat - Variable in class jpicedt.graphic.io.parser.RepeatExpression
 
reset() - Method in class jpicedt.graphic.io.parser.Context
reset caret position to the convenience marker position, or to the beginning of the current block if no marker has been set.

S

STRICTLY_NEGATIVE - Static variable in interface jpicedt.graphic.io.parser.ExpressionConstants
sign for NumericalExpression
STRICTLY_POSITIVE - Static variable in interface jpicedt.graphic.io.parser.ExpressionConstants
sign for NumericalExpression
SequenceExpression - class jpicedt.graphic.io.parser.SequenceExpression.
An expression that represents a sequence of expressions to be matched exactly in the same order they're being added to the sequence.
SequenceExpression() - Constructor for class jpicedt.graphic.io.parser.SequenceExpression
constructs a sequence that contains no sub-expression and doesn't throw IncompleteSequenceException
SequenceExpression(boolean) - Constructor for class jpicedt.graphic.io.parser.SequenceExpression
constructs a sequence that contains no sub-expression.
SequenceExpression(AbstractRegularExpression) - Constructor for class jpicedt.graphic.io.parser.SequenceExpression
constructs a sequence with the given expression as the first sub-expression and which doesn't throw IncompleteSequenceException.
SequenceExpression(AbstractRegularExpression, boolean) - Constructor for class jpicedt.graphic.io.parser.SequenceExpression
constructs a sequence with the given expression as the first sub-expression.
SequenceExpression(AbstractRegularExpression, AbstractRegularExpression) - Constructor for class jpicedt.graphic.io.parser.SequenceExpression
constructs a sequence with the given expression as the first and second sub-expression and which doesn't throw Exception
SequenceExpression(AbstractRegularExpression, AbstractRegularExpression, boolean) - Constructor for class jpicedt.graphic.io.parser.SequenceExpression
constructs a sequence with the given expression as the first and second sub-expression
SequenceExpression(AbstractRegularExpression, AbstractRegularExpression, AbstractRegularExpression, boolean) - Constructor for class jpicedt.graphic.io.parser.SequenceExpression
constructs a sequence with three sub-expressions
StatementExpression - class jpicedt.graphic.io.parser.StatementExpression.
An expression for "statement"-parsing, i.e.
StatementExpression(String, String, String, int, int) - Constructor for class jpicedt.graphic.io.parser.StatementExpression
 
setAttribute(Pool.Key, PicAttributeName, Object) - Method in class jpicedt.graphic.io.parser.Pool
Add a name/value attribute pair to the attribute set with the given key, i.e.
setChild(AbstractRegularExpression) - Method in class jpicedt.graphic.io.parser.EnclosingExpression
Change the child of this expression to the given expression
setPattern(AbstractRegularExpression) - Method in class jpicedt.graphic.io.parser.RepeatExpression
set the base-pattern to the given expression
sign - Variable in class jpicedt.graphic.io.parser.NumericalExpression
 
source - Variable in class jpicedt.graphic.io.parser.ParserEvent
 
stackLevel - Variable in class jpicedt.graphic.io.parser.Context
 
startsWith(String) - Method in class jpicedt.graphic.io.parser.Context
Return whether the string at the caret position starts with the given string or not.
str - Variable in class jpicedt.graphic.io.parser.Pool.Key
 
swallowPostFix - Variable in class jpicedt.graphic.io.parser.NumericalExpression
 
swallowPostFix - Variable in class jpicedt.graphic.io.parser.WordExpression
 

T

TerminalExpression - class jpicedt.graphic.io.parser.TerminalExpression.
This expression works a bit like a "CR-greedy" expression : it scans each line until it can successfully parse the reg-exp given in the constructor, POSSIBLY preceded by wild-chars (as given in the construror).
TerminalExpression(AbstractRegularExpression) - Constructor for class jpicedt.graphic.io.parser.TerminalExpression
Calls TerminalExpression(expr, WHITESPACES) => "expr" can only be preceded by whitespaces
TerminalExpression(AbstractRegularExpression, int) - Constructor for class jpicedt.graphic.io.parser.TerminalExpression
 
tag - Variable in class jpicedt.graphic.io.parser.InstanciationExpression
 
throwIncompleteSequenceException - Variable in class jpicedt.graphic.io.parser.SequenceExpression
 
toString() - Method in class jpicedt.graphic.io.parser.AlternateExpression
 
toString() - Method in class jpicedt.graphic.io.parser.Context
 
toString() - Method in class jpicedt.graphic.io.parser.DefaultParser
 
toString() - Method in class jpicedt.graphic.io.parser.EnclosingExpression
 
toString() - Method in class jpicedt.graphic.io.parser.GNURegExpression
 
toString() - Method in class jpicedt.graphic.io.parser.InstanciationExpression
 
toString() - Method in class jpicedt.graphic.io.parser.LaTeXParser.Pool
 
toString() - Method in class jpicedt.graphic.io.parser.LaTeXParser
 
toString() - Method in class jpicedt.graphic.io.parser.LiteralExpression
 
toString() - Method in class jpicedt.graphic.io.parser.NumericalExpression
 
toString() - Method in class jpicedt.graphic.io.parser.OptionalExpression
 
toString() - Method in class jpicedt.graphic.io.parser.ParserEvent
 
toString() - Method in class jpicedt.graphic.io.parser.ParserException
 
toString() - Method in class jpicedt.graphic.io.parser.PicPointExpression
 
toString() - Method in class jpicedt.graphic.io.parser.Pool.Key
 
toString() - Method in class jpicedt.graphic.io.parser.Pool
 
toString() - Method in class jpicedt.graphic.io.parser.RepeatExpression
 
toString() - Method in class jpicedt.graphic.io.parser.SequenceExpression
 
toString() - Method in class jpicedt.graphic.io.parser.StatementExpression
 
toString() - Method in class jpicedt.graphic.io.parser.TerminalExpression
 
toString() - Method in class jpicedt.graphic.io.parser.WhiteSpacesOrEOL
 
toString() - Method in class jpicedt.graphic.io.parser.WildCharExpression
 
toString() - Method in class jpicedt.graphic.io.parser.WordExpression
 
type - Variable in class jpicedt.graphic.io.parser.WildCharExpression
 

U

unitLength - Variable in class jpicedt.graphic.io.parser.LaTeXParser.Pool
 
userDefinedColors - Variable in class jpicedt.graphic.io.parser.LaTeXParser.Pool
 

V

value - Variable in class jpicedt.graphic.io.parser.EnclosingExpression
 
value - Variable in class jpicedt.graphic.io.parser.NumericalExpression
 
value - Variable in class jpicedt.graphic.io.parser.ParserEvent
 
value - Variable in class jpicedt.graphic.io.parser.StatementExpression
 
value - Variable in class jpicedt.graphic.io.parser.WordExpression
 

W

WHITE_SPACES - Static variable in interface jpicedt.graphic.io.parser.ExpressionConstants
placeholder for WildSpaces expression (which is used pretty often)
WHITE_SPACES_OR_EOL - Static variable in interface jpicedt.graphic.io.parser.ExpressionConstants
placeholder for WildSpacesOrEOL expression (which is used pretty often)
WhiteSpaces - class jpicedt.graphic.io.parser.WhiteSpaces.
Multiple white spaces (w/o line-feeds)
WhiteSpaces() - Constructor for class jpicedt.graphic.io.parser.WhiteSpaces
 
WhiteSpacesOrEOL - class jpicedt.graphic.io.parser.WhiteSpacesOrEOL.
multiple white spaces and/or '\n'
WhiteSpacesOrEOL() - Constructor for class jpicedt.graphic.io.parser.WhiteSpacesOrEOL
 
WildCharExpression - class jpicedt.graphic.io.parser.WildCharExpression.
an Expression that represents a single occurence of a wild-char (ANY_CHAR or one of the predefinite fields in java.lang.Character)
WildCharExpression(int) - Constructor for class jpicedt.graphic.io.parser.WildCharExpression
 
WordExpression - class jpicedt.graphic.io.parser.WordExpression.
A string, - either composed of letters only, or letters and digits (see java.lang.Character.isLetter() for details) only, - or ended by the specified end-delimiter (in which case it may contain other chars than letters)
WordExpression(String, boolean, boolean, boolean) - Constructor for class jpicedt.graphic.io.parser.WordExpression
 
WordExpression(String, boolean, boolean) - Constructor for class jpicedt.graphic.io.parser.WordExpression
Allow line-feed's, i.e.
WordExpression(String, boolean) - Constructor for class jpicedt.graphic.io.parser.WordExpression
Constructor with allowsDigit=false (i.e.
WordExpression() - Constructor for class jpicedt.graphic.io.parser.WordExpression
Parse an expression containing letters only, and stops when a non-letter char is found.
wildExpr - Variable in class jpicedt.graphic.io.parser.TerminalExpression
 

X

x - Variable in class jpicedt.graphic.io.parser.PicPointExpression
 

Y

y - Variable in class jpicedt.graphic.io.parser.PicPointExpression
 

A B C D E G H I J L M N O P R S T U V W X Y