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

A

ABOUT_INFO - Static variable in class pmp.gui.AboutFrame
 
AboutFrame - Class in pmp.gui
"About" dialog.
AboutFrame() - Constructor for class pmp.gui.AboutFrame
 
AbstractMacro - Class in pmp
Abstract superclass for all macros.
AbstractMacro() - Constructor for class pmp.AbstractMacro
Instances of macros are instantiated using nullary constructors.
ACTION_EXPORT - Static variable in class pmp.macro.MacroTable
Exports current list of macros into file given in the second argument.
ACTION_IMPORT - Static variable in class pmp.macro.MacroTable
Imports macros from given configuration file.
ACTION_REPLACE - Static variable in class pmp.macro.MacroTable
Replaces macro list with given list.
actionPerformed(ActionEvent) - Method in class pmp.applet.PMPApplet
 
actionPerformed(ActionEvent) - Method in class pmp.gui.MainPanel
Menu events dispatcher.
actionPerformed(ActionEvent) - Method in class pmp.gui.MainWindow
 
addActionListener(ActionListener) - Method in class pmp.io.StringIO
Adds new listeners for message events from macroprocessor.
addAll(Map<String, AbstractMacro>) - Method in class pmp.MacroList
Add all macros from given Map to this MacroList.
addField(String) - Method in class pmp.CallStack
Adds new field into array on top of the stack.
addModifyListener(MacroListModifyListener) - Method in class pmp.MacroList
Adds new listener for macro list modification events.
addNullObject(String) - Method in class pmp.macro.java.ObjectManager
Adds null object to list.
addObject(Object) - Method in class pmp.macro.java.ObjectManager
Adds object to list.
addRegExp(String, Token) - Method in class pmp.RegExps
Adds new regular expression.
Adler32 - Class in pmp.macro.str
Macro for calculating Adler32 checksum.
Adler32() - Constructor for class pmp.macro.str.Adler32
 
Analyzer - Class in pmp
Syntactic analyzer.
Analyzer(Macroprocessor) - Constructor for class pmp.Analyzer
Constructs lexical analyzer.
Analyzer.State - Enum in pmp
States of syntactic analyzer.
appendRequiredParams() - Method in class pmp.CallStackItem
Adds empty strings into parameter list until it has enough items to safely invoke macro.
appendToLastField(String) - Method in class pmp.CallStack
Appends strto last field in array on top of the stack.
assignIO(InputOutput) - Method in class pmp.Macroprocessor
Assigns InputOutput class to macroprocessor.
ATTR_ENCODING - Static variable in class pmp.xml.XMLTools
 
ATTR_FORMAT - Static variable in class pmp.xml.XMLTools
Common attribute for macro definitions.
ATTR_NAME - Static variable in class pmp.xml.XMLTools
Common attribute for macro definitions.
ATTR_OUTPUT_ENCODER - Static variable in class pmp.xml.XMLTools
 
ATTR_READONLY - Static variable in class pmp.xml.XMLTools
Allow any further changes of this macro definitions.
AUTHOR - Static variable in class pmp.Version
Author of this project.

B

BOTH - Static variable in class pmp.macro.str.Trim
 
Builtin - Class in pmp.macro
Loads Java-class macro.
Builtin() - Constructor for class pmp.macro.Builtin
 
BUTTON_CANCEL - Static variable in class pmp.gui.Const
 
BUTTON_CHANGE - Static variable in class pmp.gui.Const
 
BUTTON_OK - Static variable in class pmp.gui.Const
 

C

Call - Class in pmp.macro
Calls macro given in first parameters.
Call() - Constructor for class pmp.macro.Call
 
callStack - Variable in class pmp.Analyzer
Macro call stack.
CallStack - Class in pmp
Stack for storing macro parameters.
CallStack() - Constructor for class pmp.CallStack
 
CallStackItem - Class in pmp
Class representing item of call-stack.
CallStackItem(CallStackItem.Type, String[], AbstractMacro) - Constructor for class pmp.CallStackItem
 
CallStackItem(CallStackItem.Type, String[]) - Constructor for class pmp.CallStackItem
 
CallStackItem.Type - Enum in pmp
 
Cast - Class in pmp.macro.java
Class casting.
Cast() - Constructor for class pmp.macro.java.Cast
 
CEncoder - Class in pmp.macro.lex
Converts given parameter into C/C++ style string.
CEncoder() - Constructor for class pmp.macro.lex.CEncoder
 
centreWindow(Window) - Static method in class pmp.gui.GUITools
Sets window's position to screen centre.
CEscDecoder - Class in pmp.macro.lex
Decodes C style escape sequence.
CEscDecoder() - Constructor for class pmp.macro.lex.CEscDecoder
 
Chr - Class in pmp.macro.str
Returns character with given code.
Chr() - Constructor for class pmp.macro.str.Chr
 
CHUNK_SIZE - Static variable in class pmp.RegExps
 
clear() - Method in class pmp.CallStack
Removes all items from stack.
clear(boolean) - Method in class pmp.MacroList
Removes all macro definitions.
clear() - Method in class pmp.RegExps
Remove all active regular expressions.
clearString() - Method in class pmp.Token
Clears token carried by this object.
close() - Method in interface pmp.InputSource
Closes source.
close() - Method in class pmp.io.RandomInputSource
 
close() - Method in class pmp.io.StringInputSource
 
closeableOut - Variable in class pmp.io.FileIO
Should be output closed when nott needed.
closeFiles(boolean) - Method in class pmp.io.FileIO
Close output file.
closingBracket - Variable in class pmp.CallStackItem
 
CODE_END - Static variable in class pmp.ConfigDirectives
Symbol marking start of block with macros.
CODE_MARKS_OUTPUT - Static variable in class pmp.ConfigDirectives
Controls handling with code marks.
CODE_START - Static variable in class pmp.ConfigDirectives
Symbol marking start of block with macros.
commit() - Method in class pmp.InputQueue
Throws away all characters processed by InputQueue.getChar().
commit(int) - Method in class pmp.InputQueue
Throws away first length characters processed by InputQueue.getChar().
COMPACT - Static variable in class pmp.macro.str.UUID
Returns new UUID without hyphens.
Compare - Class in pmp.macro.str
Compare two strings.
Compare() - Constructor for class pmp.macro.str.Compare
 
compilePattern(String) - Static method in class pmp.RegExps
Creates Pattern objects using cache if possible.
ConfigDirectives - Class in pmp
Contains names of configuration dorectives.
ConfigDirectives() - Constructor for class pmp.ConfigDirectives
 
Const - Class in pmp.gui
Constant strings for GUI.
Const - Class in pmp.macro.math
Mathematical constants.
Const() - Constructor for class pmp.macro.math.Const
 
Construct - Class in pmp.macro.java
Creates new instance of given class.
Construct() - Constructor for class pmp.macro.java.Construct
 
convertToString(String) - Static method in class pmp.macro.lex.Tools
Converts given parameter to C++/Java style string.
Copydef - Class in pmp.macro
Copies macro definition.
Copydef() - Constructor for class pmp.macro.Copydef
 
copyMacro(String, String) - Method in class pmp.MacroList
Copies macro.
CRC32 - Class in pmp.macro.str
Macro for calculating CRC32 checksum.
CRC32() - Constructor for class pmp.macro.str.CRC32
 
createAndShowGUI() - Method in class pmp.gui.MainWindow
Creates GUI.
createMenu() - Method in class pmp.gui.MainPanel
Creates main menu bar for main frame.
createMenuItem(MainPanel.MenuType, String, String, KeyStroke) - Method in class pmp.gui.MainPanel
Creates menu item.
createMenuItem(String, String, KeyStroke) - Method in class pmp.gui.MainPanel
 
currentLoc - Variable in class pmp.Macroprocessor
 
currentLocStr - Variable in class pmp.Macroprocessor
 
CVS_AUTHOR - Static variable in class pmp.Version
Last user who commited this file.
CVS_DATE - Static variable in class pmp.Version
Date of last commit.
CVS_ID - Static variable in class pmp.Version
CVS Id of this file.
CVS_NAME - Static variable in class pmp.Version
CVS tag name.
CVS_RCSFILE - Static variable in class pmp.Version
Name of this source file in repository.
CVS_REVISION - Static variable in class pmp.Version
Revision number of this file.
CVS_ROOT - Static variable in class pmp.Version
Location of CVS repository.
CVS_SOURCE - Static variable in class pmp.Version
Full path to this source file in repository.

D

debug(Object, int) - Method in class pmp.Macroprocessor
 
DEBUG_EVENT - Static variable in class pmp.io.StringIO
 
DEBUG_EVERY_TOKEN - Static variable in class pmp.Macroprocessor
Debug level: Print every processed token
DEBUG_MACRO_CALLS - Static variable in class pmp.Macroprocessor
Debug level: Print macro calls
DEBUG_MACRO_RESULTS - Static variable in class pmp.Macroprocessor
Debug level: Print macro call results
DEBUG_NODEBUG - Static variable in class pmp.Macroprocessor
Debug level: No debugging
DEBUG_NOTICES - Static variable in class pmp.Macroprocessor
Debug level: Print notice messages
debugHandler(String) - Method in class pmp.InputOutput
 
debugHandler(String) - Method in class pmp.io.FileIO
 
debugHandler(String) - Method in class pmp.io.StringIO
 
DEBUGLEVEL - Static variable in class pmp.ConfigDirectives
Current level of debug output
Dec - Class in pmp.macro.math
Returns given integer decremented by one.
Dec() - Constructor for class pmp.macro.math.Dec
 
DEFAULT_CONFIG - Static variable in class pmp.macro.MacroTable
If given in second parameter, this macro will load default configuration instead of reading external file.
DEFAULT_CONFIG - Static variable in class pmp.xml.XMLConfig
Location of default configuration file.
DEFAULT_PREFIX - Static variable in class pmp.Macroprocessor
 
Define - Class in pmp.macro
Macro that creates user-defined macro.
Define() - Constructor for class pmp.macro.Define
 
DEFINED_ENCODER - Static variable in class pmp.ConfigDirectives
Encoder used by all $(...)
DEFINED_SEPARATOR - Static variable in class pmp.ConfigDirectives
Separator used by $(nnn-mmm) constructions in defined macros.
DefinedMacro - Class in pmp
User-defined macro.
DefinedMacro(String) - Constructor for class pmp.DefinedMacro
 
Defn - Class in pmp.macro
Returns definition of macro.
Defn() - Constructor for class pmp.macro.Defn
 
duplicate() - Method in class pmp.MacroListItem
Returns new instance of MacroListItem with identical contents as this object.

E

E - Static variable in class pmp.macro.math.Const
Returns natural log base.
Echo - Class in pmp.macro
Prints string directly into macroprocessor output.
Echo() - Constructor for class pmp.macro.Echo
 
ELEMENT_CLASS - Static variable in class pmp.xml.XMLTools
Load macro from given class file.
ELEMENT_DEFINE - Static variable in class pmp.xml.XMLTools
Define macro.
ELEMENT_IMPORT - Static variable in class pmp.xml.XMLTools
Import another configuration file.
ELEMENT_LIBRARY - Static variable in class pmp.xml.XMLTools
Load library with class files.
ELEMENT_ROOT - Static variable in class pmp.xml.XMLTools
Root element of configuration file.
ELEMENT_UNDEF - Static variable in class pmp.xml.XMLTools
 
EMPTY_PATTERN - Static variable in class pmp.EmptyMatcher
This is fast matcher for empty expression.
EmptyMatcher - Class in pmp
Represents empty regular expression matcher.
EmptyMatcher(Token) - Constructor for class pmp.EmptyMatcher
Creates new instance.
END_OF_OPTIONS - Static variable in class pmp.cli.Main
End of options is signalized by "--"
ENT_COMPAT - Static variable in class pmp.macro.lex.HTMLSpecialChars
Translate only double quotes.
ENT_NOQUOTES - Static variable in class pmp.macro.lex.HTMLSpecialChars
Do not translate single or double quotes.
ENT_QUOTES - Static variable in class pmp.macro.lex.HTMLSpecialChars
Translate both single and double quotes.
ERR_OUTPUT - Static variable in class pmp.InputOutput
Use stderr as output.
Error - Class in pmp.macro
Produces a error message.
Error() - Constructor for class pmp.macro.Error
 
error(String) - Method in class pmp.Macroprocessor.Component
 
error(String) - Method in class pmp.Macroprocessor
Produces fatal error.
ERROR_CODE_MESSAGE - Static variable in error pmp.InternalMPError
Error message used by InternalMPError.InternalMPError(int) constructor.
ERROR_EVENT - Static variable in class pmp.io.StringIO
 
errorHandler(String) - Method in class pmp.InputOutput
This method should produce some kind of error message and then raise FatalParserException.
errorHandler(String) - Method in class pmp.io.FileIO
 
errorHandler(String) - Method in class pmp.io.StringIO
 
EULER - Static variable in class pmp.macro.math.Const
Returns Euler constant.
Eval - Class in pmp.macro.math
Evaluates given expression.
Eval() - Constructor for class pmp.macro.math.Eval
 
Eval.Function - Enum in pmp.macro.math
This enumerated type handles function calling.
Exec - Class in pmp.macro.tools
Executes given command.
Exec() - Constructor for class pmp.macro.tools.Exec
 
expansion - Variable in class pmp.DefinedMacro
expansion string
exportConfig(Map<String, AbstractMacro>, String) - Static method in class pmp.xml.XMLTools
Exports list of macros into XML file.
extractClassName(String) - Method in class pmp.macro.java.ObjectManager
Extracts class name from object identifier.
extractObjectId(String) - Method in class pmp.macro.java.ObjectManager
Extracts object number from object identifier.

F

FAILING_PATTERN - Static variable in class pmp.FailingMatcher
Extension to Java regular expressions.
FailingMatcher - Class in pmp
Represents never-matching regular expression matcher.
FailingMatcher(Token) - Constructor for class pmp.FailingMatcher
Creates new instance.
FatalParserException - Exception in pmp
Signals fatal error in macroprocessor.
FatalParserException(String) - Constructor for exception pmp.FatalParserException
Creates exception with specified message.
feed(int) - Method in class pmp.EmptyMatcher
 
feed(int) - Method in class pmp.FailingMatcher
 
feed(int) - Method in class pmp.JavaMatcher
 
feed(int) - Method in interface pmp.MatcherIface
Appends character to matched string snd updates stato of this matcher.
Field - Class in pmp.macro.java
Returns value of field as object index.
Field() - Constructor for class pmp.macro.java.Field
 
FileIO - Class in pmp.io
Implements filesystem InputOutput.
FileIO(Macroprocessor, String, boolean) - Constructor for class pmp.io.FileIO
 
forName(String) - Method in class pmp.MacroList
Returns name of configuration directive for given name.
forName(String, String) - Method in class pmp.MacroList
Returns name of configuration directive for given template and id.
frame - Static variable in class pmp.gui.AboutFrame
Help frame

G

generate(String) - Static method in class pmp.macro.str.UUID
Generates new UUID.
getAll() - Method in class pmp.MacroList
Returns map with all defined macros.
getAppletInfo() - Method in class pmp.applet.PMPApplet
Returns info about applet.
getBool(String) - Method in class pmp.MacroList
Returns boolean value associated with given directive name.
getBool(String, String) - Method in class pmp.MacroList
Returns boolean value associated with given directive name.
getChar() - Method in class pmp.InputQueue
Reads single character from input.
getClasses(String[], int) - Method in class pmp.macro.java.ObjectManager
Converts array of object identifiers to array of appropriate Class objects.
getCommittedBytes() - Method in class pmp.InputQueue
 
getComponentValue(JComponent) - Static method in class pmp.gui.GUITools
Tries to obtain String value from JComponent.
getDebugLevel() - Method in class pmp.Macroprocessor
Get current level of debugging output.
getDefaultInput() - Method in class pmp.InputOutput
Returns default input source.
getDefaultInput() - Method in class pmp.io.FileIO
This class doesn't provide default input source.
getDefaultInput() - Method in class pmp.io.StringIO
 
getDefinition() - Method in class pmp.MacroListItem
Returns current macro definition.
getDirectiveName() - Method in class pmp.MacroListModifyEvent
If this event was invoked by changing value of a configuration directive this method returns its name (without prefix).
getElementPCDATA(Element) - Static method in class pmp.xml.XMLTools
Returns text data from xml document element.
getExecutableFlag() - Method in class pmp.MacroListItem
 
getIcon(String) - Static method in class pmp.gui.GUITools
Looks for icon in cache or loads image from file using GUITools.loadIcon(String).
getIDsByMask(String) - Method in class pmp.MacroList
Returns array of indices for given mask.
getInput(String) - Method in class pmp.InputOutput
Return new Input object for given source.
getInput(String) - Method in class pmp.io.FileIO
 
getInput(String) - Method in class pmp.io.StringIO
 
getInstance() - Static method in class pmp.macro.java.ObjectManager
Returns instance of ObjectManager object
getInt(String) - Method in class pmp.MacroList
Returns integer value associated with given directive name.
getInt(String, String) - Method in class pmp.MacroList
Returns integer value associated with given directive name.
getLocale() - Method in class pmp.Macroprocessor
 
getMacro() - Method in class pmp.CallStackItem
 
getMacro() - Method in class pmp.MacroChain
 
getMacro(String) - Method in class pmp.MacroList
Returns macro object assicated with given name.
getMacroCI(String) - Method in class pmp.MacroList
Returns macro object assicated with given name.
getMacroNames() - Method in class pmp.MacroList
Returns array of macro names.
getMask() - Method in class pmp.MacroListModifyEvent
 
getMatchingLength() - Method in class pmp.EmptyMatcher
 
getMatchingLength() - Method in class pmp.FailingMatcher
 
getMatchingLength() - Method in class pmp.JavaMatcher
 
getMatchingLength() - Method in interface pmp.MatcherIface
Returns length of input subsequence that matches pattern.
getMP() - Method in class pmp.Macroprocessor.Component
 
getMP() - Method in class pmp.Macroprocessor
 
getMPAnalyzer() - Method in class pmp.Macroprocessor.Component
 
getMPAnalyzer() - Method in class pmp.Macroprocessor
 
getMPIO() - Method in class pmp.Macroprocessor.Component
 
getMPIO() - Method in class pmp.Macroprocessor
 
getMPIQ() - Method in class pmp.Macroprocessor.Component
 
getMPIQ() - Method in class pmp.Macroprocessor
 
getMPMacros() - Method in class pmp.Macroprocessor.Component
 
getMPMacros() - Method in class pmp.Macroprocessor
 
getObject(String) - Method in class pmp.macro.java.ObjectManager
Returns object with specified index.
getObjects(String[], int) - Method in class pmp.macro.java.ObjectManager
Fetches objects with given identifiers as Object array.
getOutputBuilder() - Method in class pmp.io.StringIO
 
getOutputEncoder() - Method in class pmp.MacroChain
 
getParam(int) - Method in class pmp.CallStackItem
Returns paramater at given index.
getParam0() - Method in class pmp.CallStackItem
Returns first paramater (index 0).
getParamCount() - Method in class pmp.CallStackItem
Returns number of actual parameters.
getPattern() - Method in class pmp.EmptyMatcher
 
getPattern() - Method in class pmp.FailingMatcher
 
getPattern() - Method in class pmp.JavaMatcher
 
getPattern() - Method in interface pmp.MatcherIface
Returns pattern associated with this matcher.
getPrefix() - Method in class pmp.Macroprocessor
Returns prefix of configuration directives.
getProgram() - Method in class pmp.io.StringIO
 
GetProperty - Class in pmp.macro.tools
Returns value of system property passed in first parameter.
GetProperty() - Constructor for class pmp.macro.tools.GetProperty
 
getRandom() - Static method in class pmp.macro.math.Tools
 
getReadOnlyFlag() - Method in class pmp.MacroListItem
 
getRequiredParams() - Method in class pmp.AbstractMacro
Number of required parameters.
getSource() - Method in enum pmp.InternalMPError.Source
 
getSpaceCharacters() - Static method in class pmp.macro.str.Tools
Returns sorted array of whitespace characters.
getState() - Method in class pmp.EmptyMatcher
 
getState() - Method in class pmp.FailingMatcher
 
getState() - Method in class pmp.JavaMatcher
 
getState() - Method in interface pmp.MatcherIface
Returns state of matcher.
getString(String) - Method in class pmp.MacroList
Returns configuration directive as string value.
getString(String, String) - Method in class pmp.MacroList
Returns configuration directive as string value.
getString() - Method in class pmp.Token
Returns token carried by this object.
getStringL(String) - Method in class pmp.MacroList
Returns result of MacroList.getString(String) after being converted to lower-case.
getStringL(String, String) - Method in class pmp.MacroList
Returns result of MacroList.getString(String) after being converted to lower-case.
getStrParams() - Method in class pmp.CallStackItem
 
getToken() - Method in class pmp.EmptyMatcher
 
getToken() - Method in class pmp.FailingMatcher
 
getToken() - Method in class pmp.JavaMatcher
 
getToken() - Method in interface pmp.MatcherIface
Returns token that would be produced by this class.
getType() - Method in class pmp.CallStackItem
 
getType() - Method in class pmp.Token
Returns lexical type of this token.
getTypeID() - Method in class pmp.Token
Returns type identifier.
getXmlFilter() - Static method in class pmp.gui.GUITools
Returns FileFilter for selecting XML files.
GUITools - Class in pmp.gui
Tools for GUI.

H

Halt - Class in pmp.macro
Halts macroprocessor.
Halt() - Constructor for class pmp.macro.Halt
 
HALT_ERROR - Static variable in class pmp.macro.Halt
 
HALT_NOTICE - Static variable in class pmp.macro.Halt
 
HALT_SILENT - Static variable in class pmp.macro.Halt
 
HALT_WARNING - Static variable in class pmp.macro.Halt
 
HELP_FILE - Static variable in class pmp.cli.Launcher
Location of short help with syntax.
HELP_FILE - Static variable in class pmp.gui.AboutFrame
Location of help file for GUI.
HTMLEntityDecoder - Class in pmp.macro.lex
Converts HTML entity to string.
HTMLEntityDecoder() - Constructor for class pmp.macro.lex.HTMLEntityDecoder
 
HTMLSpecialChars - Class in pmp.macro.lex
Converts special characters to XML/HTML entities.
HTMLSpecialChars() - Constructor for class pmp.macro.lex.HTMLSpecialChars
 

I

I_SQRT_2 - Static variable in class pmp.macro.math.Const
Returns 1 / √2.
I_SQRT_3 - Static variable in class pmp.macro.math.Const
Returns 1 / √3.
I_SQRT_PI - Static variable in class pmp.macro.math.Const
Returns 1 / √π.
ICON_ABOUT - Static variable in class pmp.gui.GUITools
 
ICON_CLOSE - Static variable in class pmp.gui.GUITools
 
ICON_EMPTY - Static variable in class pmp.gui.GUITools
Empty icon.
ICON_EXIT - Static variable in class pmp.gui.GUITools
 
ICON_HELP - Static variable in class pmp.gui.GUITools
 
ICON_LOADDEF - Static variable in class pmp.gui.GUITools
 
ICON_LOADXML - Static variable in class pmp.gui.GUITools
 
ICON_MACROS - Static variable in class pmp.gui.GUITools
 
ICON_RUN - Static variable in class pmp.gui.GUITools
 
icons - Static variable in class pmp.gui.GUITools
Cache for icons loaded from disk.
ID_FORMAT - Static variable in class pmp.macro.math.Eval
 
IfElse - Class in pmp.macro
Title: PMP: Macroprocessor Description: Java macroprocessor Copyright: Copyright (c) 2005
IfElse() - Constructor for class pmp.macro.IfElse
 
IfNotZero - Class in pmp.macro.math
Evaluates given expression and returns the second parameter if expression is not zero.
IfNotZero() - Constructor for class pmp.macro.math.IfNotZero
 
IGNORE_CASE - Static variable in class pmp.macro.str.Compare
Value of the optional third parameter
importConfig(String) - Method in class pmp.xml.XMLConfig
Imports configuration data from file given by url into this configuration.
importLibrary(String) - Method in class pmp.Macroprocessor
Adds given library to library list.
Inc - Class in pmp.macro.math
Returns given macro asinteger and incremented its content by one.
Inc() - Constructor for class pmp.macro.math.Inc
 
Include - Class in pmp.macro
Includes file into input stream of macroprocessor.
Include() - Constructor for class pmp.macro.Include
 
init() - Method in class pmp.applet.PMPApplet
 
INPUT_ENCODING - Static variable in class pmp.ConfigDirectives
Encoding of input files.
InputOutput - Class in pmp
Interface for Macroprocessor input/output system.
InputOutput(Macroprocessor) - Constructor for class pmp.InputOutput
 
InputQueue - Class in pmp
Internal structure of macroprocessor which provides input source for parser.
InputQueue(Macroprocessor) - Constructor for class pmp.InputQueue
 
InputSource - Interface in pmp
Represents abstract input source used by macroprocessor's InputQueue.
InstanceOf - Class in pmp.macro.java
Returns "1" if given object is instance of specified class.
InstanceOf() - Constructor for class pmp.macro.java.InstanceOf
 
InternalMPError - Error in pmp
Signals internal error in macroprocessor.
InternalMPError(int) - Constructor for error pmp.InternalMPError
Creates error with specified error code.
InternalMPError(InternalMPError.Source, int) - Constructor for error pmp.InternalMPError
 
InternalMPError(int, int) - Constructor for error pmp.InternalMPError
 
InternalMPError.Source - Enum in pmp
 
INTR - Static variable in class pmp.macro.tools.Pause
Waits until elapses given amount of time or until keypress.
Invoke - Class in pmp.macro.java
Invokes method of specified object.
Invoke() - Constructor for class pmp.macro.java.Invoke
 
IsBuiltin - Class in pmp.macro
Returns "1" if macro with name specified by first parameter exists and is builtin (not instance of DefinedMacro).
IsBuiltin() - Constructor for class pmp.macro.IsBuiltin
 
IsDefined - Class in pmp.macro
Returns "1" if macro with name specified by first parameter exists and is defined (not builtin).
IsDefined() - Constructor for class pmp.macro.IsDefined
 
isDefined(String) - Method in class pmp.MacroList
Returns true if macro with specified name exists.
isDigit(char, int) - Static method in class pmp.macro.lex.Tools
Returns true if given character is digit in specified radix.
isDirectiveDefined(String) - Method in class pmp.MacroList
Returns true when specified directive is defined.
isDirectiveDefined(String, String) - Method in class pmp.MacroList
Returns true when specified directive is defined.
isEmpty() - Method in class pmp.CallStack
Returns true if stack is empty.
isEmpty() - Method in class pmp.InputQueue
Returns true when input queue is empty.
isFlagSet(int) - Method in class pmp.MacroListModifyEvent
Tests if all of given bits are set in mask
isInt(String) - Static method in class pmp.macro.math.Tools
 
IsNumber - Class in pmp.macro.str
Returns "1" if given parameter is integer number.
IsNumber() - Constructor for class pmp.macro.str.IsNumber
 
isReadOnly(String) - Method in class pmp.MacroList
Returns true if macro is marked as read-only.
isReadOnly() - Method in class pmp.MacroListItem
Returns true if this definition is immutable.
isReady() - Method in class pmp.Macroprocessor
Returns true if macroprocessor is ready.
IsSet - Class in pmp.macro
Returns non empty string if exists macro with given name otherwise returns empty string.
IsSet() - Constructor for class pmp.macro.IsSet
 

J

JavaEncoder - Class in pmp.macro.lex
Converts given string to Java-style string.
JavaEncoder() - Constructor for class pmp.macro.lex.JavaEncoder
 
JavaEscDecoder - Class in pmp.macro.lex
Decodes Java style escape sequence.
JavaEscDecoder() - Constructor for class pmp.macro.lex.JavaEscDecoder
 
JavaMatcher - Class in pmp
Represents regular expression analyzer.
JavaMatcher(Token, Pattern) - Constructor for class pmp.JavaMatcher
 

L

LAST_ERROR - Static variable in class pmp.ConfigDirectives
This directive contains last error message
LAST_MODIFIED - Static variable in class pmp.Version
Last modified date.
LAST_NOTICE - Static variable in class pmp.ConfigDirectives
This directive contains last notice message
LAST_WARNING - Static variable in class pmp.ConfigDirectives
This directive contains last warning message
Launcher - Class in pmp.cli
Default main class.
Launcher() - Constructor for class pmp.cli.Launcher
 
LEADING - Static variable in class pmp.macro.str.Trim
 
Length - Class in pmp.macro.str
Returns length of given string.
Length() - Constructor for class pmp.macro.str.Length
 
LN_10 - Static variable in class pmp.macro.math.Const
Returns value of ln(10).
LN_2 - Static variable in class pmp.macro.math.Const
Returns value of ln(2).
LN_PI - Static variable in class pmp.macro.math.Const
Returns value of ln(π).
loadFromClass(String) - Method in class pmp.Macroprocessor
Loads macro class.
loadIcon(String) - Static method in class pmp.gui.GUITools
Loads image from file.
LOCALE - Static variable in class pmp.ConfigDirectives
Current locale as comma separated list for Locale constructor.
Locate - Class in pmp.macro.str
Returns position of specified substring (parameter 1) in given string (parameter 1).
Locate() - Constructor for class pmp.macro.str.Locate
 
LOG10_E - Static variable in class pmp.macro.math.Const
Returns value of log10(e).
LOG2_E - Static variable in class pmp.macro.math.Const
Returns value of log2(e).
LowerCase - Class in pmp.macro.str
Converts given parameter to lower case.
LowerCase() - Constructor for class pmp.macro.str.LowerCase
 

M

MACRO_ARGUMENTS_REQUIRED - Static variable in class pmp.ConfigDirectives
Specifies whether arguments must be present to call macro.
MACRO_CASE_SENSITIVE - Static variable in class pmp.ConfigDirectives
Controls whether macro calls are case-sensitive.
MACRO_CLOSING_BRACKET - Static variable in class pmp.ConfigDirectives
default: "[ \t]*\)"
MACRO_FALLBACK - Static variable in class pmp.ConfigDirectives
Fallback macro is called whenever parser comes across possible macro name, but appropriate macro is not found.
MACRO_OPENING_BRACKET - Static variable in class pmp.ConfigDirectives
default: "\([ \t]*"
MACRO_PARAM_SEPARATOR - Static variable in class pmp.ConfigDirectives
default: "[ \t]*,[ \t]"
MACRO_PATTERN - Static variable in class pmp.ConfigDirectives
Regular expression that is used for looking for macro calls.
MacroChain - Class in pmp
Defines macro with assigned output encoder.
MacroChain(AbstractMacro, AbstractMacro) - Constructor for class pmp.MacroChain
 
macroIterator() - Method in class pmp.MacroList
Returns read-only iterator over macro names.
MacroList - Class in pmp
Maintains list of macros.
MacroList(Macroprocessor) - Constructor for class pmp.MacroList
 
MacroListItem - Class in pmp
Element of list of macros.
MacroListItem(AbstractMacro, Collection<AbstractMacro>) - Constructor for class pmp.MacroListItem
Conveninece constructor.
MacroListItem(AbstractMacro, boolean) - Constructor for class pmp.MacroListItem
Convenience constructor
MacroListItem(AbstractMacro, Collection<AbstractMacro>, boolean, boolean) - Constructor for class pmp.MacroListItem
Main constructor.
macroListModified(MacroListModifyEvent) - Method in class pmp.Analyzer
Listener method for macro list modifications.
macroListModified(MacroListModifyEvent) - Method in class pmp.gui.MainPanel
This method is invoked when change in the macro list occurs.
macroListModified(MacroListModifyEvent) - Method in interface pmp.MacroListModifyListener
Method invoked on event.
macroListModified(MacroListModifyEvent) - Method in class pmp.Macroprocessor
 
MacroListModifyEvent - Class in pmp
Event class for MacroListModifyListener.
MacroListModifyEvent(MacroList, String) - Constructor for class pmp.MacroListModifyEvent
Creates event object for given name and source
MacroListModifyListener - Interface in pmp
Listener interface for notifications of macro list modifications.
Macroprocessor - Class in pmp
Main class of Macroprocessor.
Macroprocessor() - Constructor for class pmp.Macroprocessor
 
Macroprocessor.Component - Class in pmp
 
Macroprocessor.Component() - Constructor for class pmp.Macroprocessor.Component
 
macros - Variable in class pmp.MacroList
list of macros
macros - Variable in class pmp.Macroprocessor
 
MacroTable - Class in pmp.macro
Allows manipulation with list of macros.
MacroTable() - Constructor for class pmp.macro.MacroTable
 
main(String[]) - Static method in class pmp.cli.Launcher
Main method of macroprocessor.
Main - Class in pmp.cli
Main class for CLI interface.
Main() - Constructor for class pmp.cli.Main
 
main(String[]) - Static method in class pmp.cli.Main
Main method.
main(String[]) - Static method in class pmp.gui.MainWindow
 
MainPanel - Class in pmp.gui
Main panel shared by GUI and Applet.
MainPanel(Container, ActionListener) - Constructor for class pmp.gui.MainPanel
 
MainPanel.MenuType - Enum in pmp.gui
 
MainWindow - Class in pmp.gui
Main class for GUI interface of PMP.
MainWindow() - Constructor for class pmp.gui.MainWindow
 
MASK_NON_PMP - Static variable in class pmp.MacroListModifyEvent
Mask for everything but "pmp:…"
MASK_PMP - Static variable in class pmp.MacroListModifyEvent
Mask for "pmp:…"
MASK_PMP_CODE - Static variable in class pmp.MacroListModifyEvent
Mask for "pmp:code.…"
MASK_PMP_INPUT - Static variable in class pmp.MacroListModifyEvent
Mask for "pmp:input.…"
MASK_PMP_IO - Static variable in class pmp.MacroListModifyEvent
MacroListModifyEvent.MASK_PMP_INPUT | MacroListModifyEvent.MASK_PMP_OUTPUT
MASK_PMP_LOG_EVENT - Static variable in class pmp.MacroListModifyEvent
Mask for "pmp:last.…"
MASK_PMP_MACRO - Static variable in class pmp.MacroListModifyEvent
Mask for "pmp:macro.…"
MASK_PMP_OUTPUT - Static variable in class pmp.MacroListModifyEvent
Mask for "pmp:output.…"
MASK_PMP_PREFIX - Static variable in class pmp.MacroListModifyEvent
Mask for "pmp:prefix"
MASK_PMP_SCHEME - Static variable in class pmp.MacroListModifyEvent
Mask for "pmp://…"
MASK_PMP_STACK - Static variable in class pmp.MacroListModifyEvent
Mask for "pmp:stack.…"
MASK_PMP_STRING - Static variable in class pmp.MacroListModifyEvent
Mask for "pmp:string.…"
Match - Class in pmp.macro.str
Returns "1" when string in first parameter matches regular expression in second parameter.
Match() - Constructor for class pmp.macro.str.Match
 
MatcherIface - Interface in pmp
Interface for regexp matcher class.
MatcherIface.State - Enum in pmp
State of matcher.
matches(StringBuilder) - Method in class pmp.EmptyMatcher
 
matches(StringBuilder) - Method in class pmp.FailingMatcher
 
matches(StringBuilder) - Method in class pmp.JavaMatcher
 
matches(StringBuilder) - Method in interface pmp.MatcherIface
Resets this matcher with given string.
Max - Class in pmp.macro.math
Returns maximal value found among the parameters.
Max() - Constructor for class pmp.macro.math.Max
 
MAX_TOKEN_LENGTH - Static variable in class pmp.JavaMatcher
maximal length of buffer.
MD5 - Class in pmp.macro.str
Macro for calculating MD5 checksum.
MD5() - Constructor for class pmp.macro.str.MD5
 
MENU_ABOUT - Static variable in class pmp.gui.Const
 
MENU_CLOSE - Static variable in class pmp.gui.Const
 
MENU_HELP - Static variable in class pmp.gui.Const
 
MENU_LOAD_DEF - Static variable in class pmp.gui.Const
 
MENU_LOAD_XML - Static variable in class pmp.gui.Const
 
MENU_QUIT - Static variable in class pmp.gui.Const
 
MENU_RELOAD_MACROS - Static variable in class pmp.gui.Const
 
MENU_RUN - Static variable in class pmp.gui.Const
 
MENU_SETTINGS - Static variable in class pmp.gui.Const
 
MENU_SHOW_ERROR_DIALOG - Static variable in class pmp.gui.Const
 
MENUBAR_HELP - Static variable in class pmp.gui.Const
 
MENUBAR_MACROS - Static variable in class pmp.gui.Const
 
MENUBAR_OPTIONS - Static variable in class pmp.gui.Const
 
MENUBAR_PROGRAM - Static variable in class pmp.gui.Const
 
Min - Class in pmp.macro.math
Returns lowest value found among the parameters.
Min() - Constructor for class pmp.macro.math.Min
 
modifyListeners - Variable in class pmp.MacroList
list of listeners for macro changes
mp - Variable in class pmp.gui.MainPanel
 
mpan - Variable in class pmp.Macroprocessor
 
mpio - Variable in class pmp.Macroprocessor
 
mpiq - Variable in class pmp.Macroprocessor
 

N

NAMESPACE - Static variable in class pmp.xml.XMLTools
Namespace.
New - Class in pmp.macro.java
Creates new instance of for given class (parameter 1) with given contents (parameter 2).
New() - Constructor for class pmp.macro.java.New
 
NewString - Class in pmp.macro.java
Creates new Instance of String object with given contents.
NewString() - Constructor for class pmp.macro.java.NewString
 
notice(String) - Method in class pmp.Macroprocessor.Component
 
notice(String) - Method in class pmp.Macroprocessor
Produces notice message.
NOTICE_EVENT - Static variable in class pmp.io.StringIO
 
noticeHandler(String) - Method in class pmp.InputOutput
 
noticeHandler(String) - Method in class pmp.io.FileIO
 
noticeHandler(String) - Method in class pmp.io.StringIO
 
NULL_INPUT - Static variable in class pmp.InputOutput
Use empty input.
NULL_OUTPUT - Static variable in class pmp.InputOutput
Discard output.
NUMBER_FORMAT_BIN - Static variable in class pmp.macro.math.Eval
 
NUMBER_FORMAT_FLOAT - Static variable in class pmp.macro.math.Eval
 
NUMBER_FORMAT_HEX - Static variable in class pmp.macro.math.Eval
 

O

OBJ_ID_CLASSNAME - Static variable in class pmp.macro.java.ObjectManager
 
OBJ_ID_INDEX - Static variable in class pmp.macro.java.ObjectManager
 
OBJ_ID_SEPARATOR - Static variable in class pmp.macro.java.ObjectManager
 
OBJECT_IDENTIFIER - Static variable in class pmp.macro.java.ObjectManager
Pattern which matches object identifiers.
ObjectManager - Class in pmp.macro.java
Internal class for manipulation with objects.
openingBracket - Variable in class pmp.CallStackItem
 
OPTION_BUILTIN - Static variable in class pmp.cli.Main
Load macro from class.
OPTION_CONFIGFILE - Static variable in class pmp.cli.Main
Configuration file.
OPTION_DEBUG - Static variable in class pmp.cli.Main
Debug level.
OPTION_DEFINE - Static variable in class pmp.cli.Main
Macro definition.
OPTION_GUI - Static variable in class pmp.cli.Launcher
Run GUI version
OPTION_HELP - Static variable in class pmp.cli.Launcher
Display help for syntax and options.
OPTION_HELP_QMARK - Static variable in class pmp.cli.Launcher
Display help for syntax and options (alternative syntax)
OPTION_INPUT_ENCODING - Static variable in class pmp.cli.Main
Input encoding.
OPTION_OUTPUT_ENCODING - Static variable in class pmp.cli.Main
Output encoding.
OPTION_OUTPUTFILE - Static variable in class pmp.cli.Main
Output file.
OPTION_VERSION - Static variable in class pmp.cli.Launcher
Displays version
Ord - Class in pmp.macro.str
Returns charcode of the first character in given string.
Ord() - Constructor for class pmp.macro.str.Ord
 
OUTPUT - Static variable in class pmp.ConfigDirectives
Name of output file.
output - Variable in class pmp.io.FileIO
Current output
Output - Class in pmp.macro
Redirects output of macroprocessor to specified file.
Output() - Constructor for class pmp.macro.Output
 
OUTPUT_ENCODING - Static variable in class pmp.ConfigDirectives
Encoding of output file.
outputToken() - Method in class pmp.RegExps
Returns next token.

P

params - Variable in class pmp.CallStackItem
List of arguments.
PARAMS_REQUIRED - Variable in class pmp.AbstractMacro
Number of required parameters.
PARAMS_REQUIRED - Static variable in class pmp.macro.Builtin
 
PARAMS_REQUIRED - Static variable in class pmp.macro.Call
 
PARAMS_REQUIRED - Static variable in class pmp.macro.Copydef
 
PARAMS_REQUIRED - Static variable in class pmp.macro.Define
 
PARAMS_REQUIRED - Static variable in class pmp.macro.Defn
 
PARAMS_REQUIRED - Static variable in class pmp.macro.Echo
 
PARAMS_REQUIRED - Static variable in class pmp.macro.Error
 
PARAMS_REQUIRED - Static variable in class pmp.macro.Halt
 
PARAMS_REQUIRED - Static variable in class pmp.macro.IfElse
 
PARAMS_REQUIRED - Static variable in class pmp.macro.Include
 
PARAMS_REQUIRED - Static variable in class pmp.macro.IsBuiltin
 
PARAMS_REQUIRED - Static variable in class pmp.macro.IsDefined
 
PARAMS_REQUIRED - Static variable in class pmp.macro.IsSet
 
PARAMS_REQUIRED - Static variable in class pmp.macro.java.Construct
 
PARAMS_REQUIRED - Static variable in class pmp.macro.java.Field
 
PARAMS_REQUIRED - Static variable in class pmp.macro.java.InstanceOf
 
PARAMS_REQUIRED - Static variable in class pmp.macro.java.Invoke
 
PARAMS_REQUIRED - Static variable in class pmp.macro.java.New
 
PARAMS_REQUIRED - Static variable in class pmp.macro.java.NewString
 
PARAMS_REQUIRED - Static variable in class pmp.macro.lex.CEncoder
 
PARAMS_REQUIRED - Static variable in class pmp.macro.lex.CEscDecoder
 
PARAMS_REQUIRED - Static variable in class pmp.macro.lex.HTMLEntityDecoder
 
PARAMS_REQUIRED - Static variable in class pmp.macro.lex.HTMLSpecialChars
 
PARAMS_REQUIRED - Static variable in class pmp.macro.lex.JavaEncoder
 
PARAMS_REQUIRED - Static variable in class pmp.macro.lex.JavaEscDecoder
 
PARAMS_REQUIRED - Static variable in class pmp.macro.MacroTable
 
PARAMS_REQUIRED - Static variable in class pmp.macro.math.Const
 
PARAMS_REQUIRED - Static variable in class pmp.macro.math.Dec
 
PARAMS_REQUIRED - Static variable in class pmp.macro.math.Eval
 
PARAMS_REQUIRED - Static variable in class pmp.macro.math.IfNotZero
 
PARAMS_REQUIRED - Static variable in class pmp.macro.math.Inc
 
PARAMS_REQUIRED - Static variable in class pmp.macro.math.Max
 
PARAMS_REQUIRED - Static variable in class pmp.macro.math.Min
 
PARAMS_REQUIRED - Static variable in class pmp.macro.math.Random
 
PARAMS_REQUIRED - Static variable in class pmp.macro.Output
 
PARAMS_REQUIRED - Static variable in class pmp.macro.Popdef
 
PARAMS_REQUIRED - Static variable in class pmp.macro.Pushdef
 
PARAMS_REQUIRED - Static variable in class pmp.macro.str.Adler32
 
PARAMS_REQUIRED - Static variable in class pmp.macro.str.Chr
 
PARAMS_REQUIRED - Static variable in class pmp.macro.str.Compare
 
PARAMS_REQUIRED - Static variable in class pmp.macro.str.CRC32
 
PARAMS_REQUIRED - Static variable in class pmp.macro.str.IsNumber
 
PARAMS_REQUIRED - Static variable in class pmp.macro.str.Length
 
PARAMS_REQUIRED - Static variable in class pmp.macro.str.Locate
 
PARAMS_REQUIRED - Static variable in class pmp.macro.str.LowerCase
 
PARAMS_REQUIRED - Static variable in class pmp.macro.str.Match
 
PARAMS_REQUIRED - Static variable in class pmp.macro.str.MD5
 
PARAMS_REQUIRED - Static variable in class pmp.macro.str.Ord
 
PARAMS_REQUIRED - Static variable in class pmp.macro.str.Repeat
 
PARAMS_REQUIRED - Static variable in class pmp.macro.str.Replace
 
PARAMS_REQUIRED - Static variable in class pmp.macro.str.Reverse
 
PARAMS_REQUIRED - Static variable in class pmp.macro.str.Rot13
 
PARAMS_REQUIRED - Static variable in class pmp.macro.str.StrTok
 
PARAMS_REQUIRED - Static variable in class pmp.macro.str.SubStr
 
PARAMS_REQUIRED - Static variable in class pmp.macro.str.SubstrCount
 
PARAMS_REQUIRED - Static variable in class pmp.macro.str.Trim
 
PARAMS_REQUIRED - Static variable in class pmp.macro.str.UpperCase
 
PARAMS_REQUIRED - Static variable in class pmp.macro.str.UUID
 
PARAMS_REQUIRED - Static variable in class pmp.macro.tools.Exec
 
PARAMS_REQUIRED - Static variable in class pmp.macro.tools.Pause
 
PARAMS_REQUIRED - Static variable in class pmp.macro.tools.SilentExec
 
PARAMS_REQUIRED - Static variable in class pmp.macro.Undefine
 
PARAMS_REQUIRED - Static variable in class pmp.macro.Warning
 
PARAMS_REQUIRED - Static variable in class pmp.Version
 
parse(String) - Method in class pmp.macro.math.Eval
Parses string expresion.
parse() - Method in class pmp.Macroprocessor
Starts macroprocessor.
PARSER_TOKEN - Static variable in class pmp.ConfigDirectives
Defines format of tokens.
parseXMLDocument(Document) - Method in class pmp.xml.XMLConfig
Parses XML document.
Pause - Class in pmp.macro.tools
Pauses for given amount of time or until key is pressed if no value is given.
Pause() - Constructor for class pmp.macro.tools.Pause
 
PI - Static variable in class pmp.macro.math.Const
Returns value of π.
PI2 - Static variable in class pmp.macro.math.Const
Returns value of π².
pmp - package pmp
This package contains core classes of PMP macroprocessor.
pmp.applet - package pmp.applet
This package contains classes for Applet interface of PMP macroprocessor.
pmp.cli - package pmp.cli
This package contains classes for command-line interface of PMP macroprocessor.
pmp.gui - package pmp.gui
This package contains classes for command-line interface of PMP macroprocessor.
pmp.io - package pmp.io
Classes in this package provide input/output system for PMP macroprocessor.
pmp.macro - package pmp.macro
This package contains classes for builtin macros of PMP macroprocessor.
pmp.macro.java - package pmp.macro.java
This package contains classes for builtin macros of PMP:macroprocessor for manipulation with Java classes.
pmp.macro.lex - package pmp.macro.lex
This package contains classes for builtin macros of PMP:macroprocessor for lexical analysis.
pmp.macro.math - package pmp.macro.math
This package contains classes for builtin macros of PMP:macroprocessor for mathematical operations.
pmp.macro.str - package pmp.macro.str
This package contains classes for builtin macros of PMP:macroprocessor for string manipulation.
pmp.macro.tools - package pmp.macro.tools
 
pmp.xml - package pmp.xml
This package contains classes for manipulation with XML configuration files.
PMP_PREFIX - Static variable in class pmp.ConfigDirectives
Current prefix of configuration directives
PMPApplet - Class in pmp.applet
Macroprocessor applet.
PMPApplet() - Constructor for class pmp.applet.PMPApplet
 
pmpprefix - Variable in class pmp.Macroprocessor
 
Popdef - Class in pmp.macro
Restores previous definition of macro.
Popdef() - Constructor for class pmp.macro.Popdef
 
popDef() - Method in class pmp.MacroListItem
 
popItem() - Method in class pmp.CallStack
Pops item from stack.
popMacro(String) - Method in class pmp.MacroList
Restores previous macro definition and returns previous one.
PREFIX_JAVA - Static variable in class pmp.macro.Call
Load macro from class file.
PREFIX_PMP - Static variable in class pmp.macro.Call
Load macro from macro namespace.
primitives - Static variable in class pmp.macro.java.ObjectManager
Map of primitives and associated wrapper classes.
printHelp() - Static method in class pmp.cli.Launcher
 
printVersion() - Static method in class pmp.cli.Launcher
 
processInput() - Method in class pmp.Analyzer
Executes program.
PROJECT_NAME - Static variable in class pmp.Version
Name of this project.
pushBack(InputSource) - Method in class pmp.InputQueue
 
pushBack(CharSequence) - Method in class pmp.InputQueue
 
Pushdef - Class in pmp.macro
Sets new definition of macro and saves current one into stack.
Pushdef() - Constructor for class pmp.macro.Pushdef
 
pushDef(AbstractMacro) - Method in class pmp.MacroListItem
Replaces current macro definition and saves current definition to stack.
pushFront(InputSource) - Method in class pmp.InputQueue
Adds new source in front of queue.
pushFront(CharSequence) - Method in class pmp.InputQueue
Adds new source in front of queue.
pushItem(CallStackItem.Type, String[]) - Method in class pmp.CallStack
Pushes new item to stack.
pushItem(CallStackItem) - Method in class pmp.CallStack
Pushes new item to stack.
pushMacro(String, AbstractMacro) - Method in class pmp.MacroList
Replaces current macro definition with new one and stores previous one to definition stack.
pushMacroItem(String, AbstractMacro) - Method in class pmp.CallStack
Pushes new item to stack.

R

Random - Class in pmp.macro.math
Returns random number.
Random() - Constructor for class pmp.macro.math.Random
 
RANDOM_INPUT - Static variable in class pmp.InputOutput
Use random generator as input.
RandomInputSource - Class in pmp.io
This class allows to give random data as input to macroprocessor.
RandomInputSource(Random, int) - Constructor for class pmp.io.RandomInputSource
 
read(int) - Method in interface pmp.InputSource
Reads up to length bytes from input.
read(int) - Method in class pmp.io.RandomInputSource
 
read(int) - Method in class pmp.io.StringInputSource
 
RegExps - Class in pmp
List of regular expressions with associated tokens.
RegExps(Macroprocessor) - Constructor for class pmp.RegExps
 
REGISTRY - Static variable in class pmp.macro.str.UUID
Returns new UUID in Windows registry format (ie: surrounded with curly brackets).
removeActionListener(ActionListener) - Method in class pmp.io.StringIO
Removes given acion listener from list.
removeModifyListeners() - Method in class pmp.MacroList
Removes all listeners.
removeSpaces(CharSequence) - Static method in class pmp.macro.math.Tools
Removes all whitespace characters from string.
Repeat - Class in pmp.macro.str
Returns first parameter repeated number of times obtained from second parameter.
Repeat() - Constructor for class pmp.macro.str.Repeat
 
Replace - Class in pmp.macro.str
Replaces occurances of pattern (parameter 2) in source text (parameter 1) with given replacement (parametr 3).
Replace() - Constructor for class pmp.macro.str.Replace
 
REQUIRED_PARAMS - Static variable in class pmp.macro.java.Cast
 
reset() - Method in class pmp.EmptyMatcher
 
reset() - Method in class pmp.FailingMatcher
 
reset() - Method in class pmp.InputQueue
Clears input queue and closes InputSource objects and all input buffers
reset() - Method in class pmp.JavaMatcher
 
reset() - Method in class pmp.Macroprocessor
Resets macroprocessor.
reset() - Method in interface pmp.MatcherIface
Resets matcher.
reset() - Method in class pmp.RegExps
Returns all unprocessed input and resets all states of Matchers.
reset() - Method in class pmp.xml.XMLConfig
Clears the content of lists of macros and projects
Reverse - Class in pmp.macro.str
Macro that returns reversed string.
Reverse() - Constructor for class pmp.macro.str.Reverse
 
Rot13 - Class in pmp.macro.str
Performs Rot13 encoding of string.
Rot13() - Constructor for class pmp.macro.str.Rot13
 
run(Macroprocessor, String[]) - Method in class pmp.AbstractMacro
Main method of macro.
run(String[]) - Method in class pmp.cli.Main
Command line version of PMP.
run(Macroprocessor, String[]) - Method in class pmp.DefinedMacro
Expands given macro with given arguments.
run() - Method in class pmp.gui.MainWindow
Method specified by Runnable interface.
run(Macroprocessor, String[]) - Method in class pmp.macro.Builtin
 
run(Macroprocessor, String[]) - Method in class pmp.macro.Call
 
run(Macroprocessor, String[]) - Method in class pmp.macro.Copydef
 
run(Macroprocessor, String[]) - Method in class pmp.macro.Define
 
run(Macroprocessor, String[]) - Method in class pmp.macro.Defn
 
run(Macroprocessor, String[]) - Method in class pmp.macro.Echo
 
run(Macroprocessor, String[]) - Method in class pmp.macro.Error
 
run(Macroprocessor, String[]) - Method in class pmp.macro.Halt
 
run(Macroprocessor, String[]) - Method in class pmp.macro.IfElse
 
run(Macroprocessor, String[]) - Method in class pmp.macro.Include
 
run(Macroprocessor, String[]) - Method in class pmp.macro.IsBuiltin
 
run(Macroprocessor, String[]) - Method in class pmp.macro.IsDefined
 
run(Macroprocessor, String[]) - Method in class pmp.macro.IsSet
 
run(Macroprocessor, String[]) - Method in class pmp.macro.java.Cast
 
run(Macroprocessor, String[]) - Method in class pmp.macro.java.Construct
 
run(Macroprocessor, String[]) - Method in class pmp.macro.java.Field
 
run(Macroprocessor, String[]) - Method in class pmp.macro.java.InstanceOf
 
run(Macroprocessor, String[]) - Method in class pmp.macro.java.Invoke
 
run(Macroprocessor, String[]) - Method in class pmp.macro.java.New
 
run(Macroprocessor, String[]) - Method in class pmp.macro.java.NewString
 
run(Macroprocessor, String[]) - Method in class pmp.macro.java.ToClassName
 
run(Macroprocessor, String[]) - Method in class pmp.macro.java.ToString
 
run(Macroprocessor, String[]) - Method in class pmp.macro.lex.CEncoder
 
run(Macroprocessor, String[]) - Method in class pmp.macro.lex.CEscDecoder
 
run(Macroprocessor, String[]) - Method in class pmp.macro.lex.HTMLEntityDecoder
 
run(Macroprocessor, String[]) - Method in class pmp.macro.lex.HTMLSpecialChars
 
run(Macroprocessor, String[]) - Method in class pmp.macro.lex.JavaEncoder
 
run(Macroprocessor, String[]) - Method in class pmp.macro.lex.JavaEscDecoder
 
run(Macroprocessor, String[]) - Method in class pmp.macro.lex.Shift
 
run(Macroprocessor, String[]) - Method in class pmp.macro.MacroTable
 
run(Macroprocessor, String[]) - Method in class pmp.macro.math.Const
 
run(Macroprocessor, String[]) - Method in class pmp.macro.math.Dec
 
run(Macroprocessor, String[]) - Method in class pmp.macro.math.Eval
 
run(Macroprocessor, String[]) - Method in class pmp.macro.math.IfNotZero
 
run(Macroprocessor, String[]) - Method in class pmp.macro.math.Inc
 
run(Macroprocessor, String[]) - Method in class pmp.macro.math.Max
 
run(Macroprocessor, String[]) - Method in class pmp.macro.math.Min
 
run(Macroprocessor, String[]) - Method in class pmp.macro.math.Random
 
run(Macroprocessor, String[]) - Method in class pmp.macro.Output
 
run(Macroprocessor, String[]) - Method in class pmp.macro.Popdef
 
run(Macroprocessor, String[]) - Method in class pmp.macro.Pushdef
 
run(Macroprocessor, String[]) - Method in class pmp.macro.str.Adler32
 
run(Macroprocessor, String[]) - Method in class pmp.macro.str.Chr
 
run(Macroprocessor, String[]) - Method in class pmp.macro.str.Compare
 
run(Macroprocessor, String[]) - Method in class pmp.macro.str.CRC32
 
run(Macroprocessor, String[]) - Method in class pmp.macro.str.IsNumber
 
run(Macroprocessor, String[]) - Method in class pmp.macro.str.Length
 
run(Macroprocessor, String[]) - Method in class pmp.macro.str.Locate
 
run(Macroprocessor, String[]) - Method in class pmp.macro.str.LowerCase
 
run(Macroprocessor, String[]) - Method in class pmp.macro.str.Match
 
run(Macroprocessor, String[]) - Method in class pmp.macro.str.MD5
 
run(Macroprocessor, String[]) - Method in class pmp.macro.str.Ord
 
run(Macroprocessor, String[]) - Method in class pmp.macro.str.Repeat
 
run(Macroprocessor, String[]) - Method in class pmp.macro.str.Replace
 
run(Macroprocessor, String[]) - Method in class pmp.macro.str.Reverse
 
run(Macroprocessor, String[]) - Method in class pmp.macro.str.Rot13
 
run(Macroprocessor, String[]) - Method in class pmp.macro.str.StrTok
 
run(Macroprocessor, String[]) - Method in class pmp.macro.str.SubStr
 
run(Macroprocessor, String[]) - Method in class pmp.macro.str.SubstrCount
 
run(Macroprocessor, String[]) - Method in class pmp.macro.str.Trim
 
run(Macroprocessor, String[]) - Method in class pmp.macro.str.UpperCase
 
run(Macroprocessor, String[]) - Method in class pmp.macro.str.UUID
 
run(Macroprocessor, String[]) - Method in class pmp.macro.tools.Exec
 
run(Macroprocessor, String[]) - Method in class pmp.macro.tools.GetProperty
 
run(Macroprocessor, String[]) - Method in class pmp.macro.tools.Pause
 
run(Macroprocessor, String[]) - Method in class pmp.macro.tools.SetProperty
 
run(Macroprocessor, String[]) - Method in class pmp.macro.tools.SilentExec
 
run(Macroprocessor, String[]) - Method in class pmp.macro.Undefine
 
run(Macroprocessor, String[]) - Method in class pmp.macro.Warning
 
run(Macroprocessor, String[]) - Method in class pmp.MacroChain
 
run(Macroprocessor, String[]) - Method in class pmp.Version
 
runMacro(CallStackItem) - Method in class pmp.Macroprocessor
Invokes macro's AbstractMacro.run(Macroprocessor,String[]) method and returns result.

S

serialVersionUID - Static variable in class pmp.applet.PMPApplet
 
serialVersionUID - Static variable in class pmp.gui.MainPanel
 
setDebugLevel(int) - Method in class pmp.Macroprocessor
Sets new debugging level.
setDebugLevel(String) - Method in class pmp.Macroprocessor
Sets debugging level according to given string.
setMacro(String, String) - Method in class pmp.MacroList
Adds new user-defined macro.
setMacro(String, AbstractMacro) - Method in class pmp.MacroList
Defines macro.
setMacroForName(String, AbstractMacro) - Method in class pmp.MacroList
Defines macro.
setMacroForName(String, String) - Method in class pmp.MacroList
Defines macro.
setOutput(String) - Method in class pmp.InputOutput
Redirects output of macroprocessor to specified location.
setOutput(String) - Method in class pmp.io.FileIO
 
setOutput(String) - Method in class pmp.io.StringIO
 
setPrefix(String) - Method in class pmp.Macroprocessor
Changes prefix of configuration directives.
SetProperty - Class in pmp.macro.tools
Sets or clears system property passed in first parameter.
SetProperty() - Constructor for class pmp.macro.tools.SetProperty
 
setString(String) - Method in class pmp.Token
Changes token carried by this object.
Shift - Class in pmp.macro.lex
Returns comma separated list of given parameters excluding the first.
Shift() - Constructor for class pmp.macro.lex.Shift
 
SHORT_OPTION_GUI - Static variable in class pmp.cli.Launcher
Run GUI version (short option)
SHORT_OPTION_HELP - Static variable in class pmp.cli.Launcher
Display help for syntax and options (short option)
SHORT_OPTION_VERSION - Static variable in class pmp.cli.Launcher
Displays version (short option)
showAboutFrame(Component) - Static method in class pmp.gui.AboutFrame
Shows About dialog
showHelpFrame() - Static method in class pmp.gui.AboutFrame
Shows Help frame
SilentExec - Class in pmp.macro.tools
Executes given command.
SilentExec() - Constructor for class pmp.macro.tools.SilentExec
 
size() - Method in class pmp.RegExps
Returns number of active regular expressions.
SLEEP - Static variable in class pmp.macro.tools.Pause
Waits for given amount of time and then exits (default mode).
SOURCE_APPEND - Static variable in class pmp.ConfigDirectives
Code in this directive is automatically appended to program.
SOURCE_PREPEND - Static variable in class pmp.ConfigDirectives
Code in this directive is automatically prepended before program.
SQRT_2 - Static variable in class pmp.macro.math.Const
Returns √2.
SQRT_3 - Static variable in class pmp.macro.math.Const
Returns √3.
SQRT_PI - Static variable in class pmp.macro.math.Const
Returns √π.
STACK_CLOSING_BRACKET - Static variable in class pmp.ConfigDirectives
Symbol used as opening backet in current macro call.
STACK_ITEM__ - Static variable in class pmp.ConfigDirectives
Items of array on top of stack Meaning of items depends on invocation.
STACK_ITEMS_COUNT - Static variable in class pmp.ConfigDirectives
Number of items in array on top of te stack
STACK_OPENING_BRACKET - Static variable in class pmp.ConfigDirectives
Symbol used as opening backet in current macro call.
stateAsString() - Method in class pmp.Analyzer
Returns state of parser as string
stateAsString(Analyzer.State) - Method in class pmp.Analyzer
Converts integer representation of parser state to string
STD_INPUT - Static variable in class pmp.InputOutput
Use stdin as input.
STD_OUTPUT - Static variable in class pmp.InputOutput
Use stdout as output.
STRING__END - Static variable in class pmp.ConfigDirectives
End-of-string mark.
STRING__MARKS_MODE - Static variable in class pmp.ConfigDirectives
String marks processing mode.
STRING__MODE - Static variable in class pmp.ConfigDirectives
String processing mode.
STRING__OUTPUT - Static variable in class pmp.ConfigDirectives
Output produced instead of string in discard mode.
STRING__PARSER - Static variable in class pmp.ConfigDirectives
Parser which handles special symbols.
STRING__STANDALONE - Static variable in class pmp.ConfigDirectives
Defines wheter this string can appear outside macro parameter list.
STRING__START - Static variable in class pmp.ConfigDirectives
String opening symbol.
STRING__SYMBOLS - Static variable in class pmp.ConfigDirectives
Format of special symbols inside string.
STRING__TOKENS - Static variable in class pmp.ConfigDirectives
Format of string tokens
StringInputSource - Class in pmp.io
This class allows to place String into input queue list.
StringInputSource(CharSequence) - Constructor for class pmp.io.StringInputSource
 
StringIO - Class in pmp.io
Macroprocessor IO based on strings.
StringIO(Macroprocessor, String, StringBuilder) - Constructor for class pmp.io.StringIO
 
StringIO(Macroprocessor, String) - Constructor for class pmp.io.StringIO
 
stripParamFields() - Method in class pmp.CallStack
Removes all parameter fields from item on top of the stack.
StrTok - Class in pmp.macro.str
Tokenizes string.
StrTok() - Constructor for class pmp.macro.str.StrTok
 
SubStr - Class in pmp.macro.str
Returns substring of given string.
SubStr() - Constructor for class pmp.macro.str.SubStr
 
SubstrCount - Class in pmp.macro.str
Returns number of times string in the second parameter occurs in the first parameter.
SubstrCount() - Constructor for class pmp.macro.str.SubstrCount
 
synState - Variable in class pmp.Analyzer
Current state of lexical analyzer.

T

TAB_MACROS - Static variable in class pmp.gui.Const
 
TAB_OUTPUT - Static variable in class pmp.gui.Const
 
TAB_PROGRAM - Static variable in class pmp.gui.Const
 
testCompatibility(Class<?>[], Class<?>[]) - Static method in class pmp.macro.java.ObjectManager
Returns true if it is possible to call method with formal parameter types given in args and actual parameters given in values.
TITLE_HELP - Static variable in class pmp.gui.Const
 
TITLE_MACROS - Static variable in class pmp.gui.Const
 
TITLE_MAINFRAME - Static variable in class pmp.gui.Const
 
TITLE_SETTINGS - Static variable in class pmp.gui.Const
 
ToClassName - Class in pmp.macro.java
Returns class name of given object.
ToClassName() - Constructor for class pmp.macro.java.ToClassName
 
Token - Class in pmp
Source code token.
Token(Token.Type) - Constructor for class pmp.Token
 
Token(Token.Type, String) - Constructor for class pmp.Token
 
Token(Token.Type, String, String) - Constructor for class pmp.Token
 
Token.Type - Enum in pmp
 
Tools - Class in pmp.macro.lex
Tools for this package.
Tools - Class in pmp.macro.math
Tools for mathematical macros.
Tools - Class in pmp.macro.str
Title: PMP: Macroprocessor Description: Java macroprocessor Copyright: Copyright (c) 2005 Company:
Tools() - Constructor for class pmp.macro.str.Tools
 
topItem() - Method in class pmp.CallStack
Returns item on top of the stack or null if stack is empty.
topItemType() - Method in class pmp.CallStack
Returns type of item on top of the stack.
toString() - Method in class pmp.AbstractMacro
Returns string representation of macro.
toString() - Method in class pmp.Analyzer
Returns string representation of this object.
toString() - Method in class pmp.CallStackItem
Returns string representation of this object.
toString() - Method in class pmp.DefinedMacro
Returns expansion string.
toString() - Method in class pmp.EmptyMatcher
 
toString() - Method in class pmp.FailingMatcher
 
toString() - Method in class pmp.JavaMatcher
 
ToString - Class in pmp.macro.java
Returns string representation of given object.
ToString() - Constructor for class pmp.macro.java.ToString
 
toString() - Method in class pmp.MacroListModifyEvent
Returns a String representation of this EventObject.
toString() - Method in class pmp.RegExps
 
toString() - Method in class pmp.Token
 
toString() - Method in class pmp.Version
 
TRAILING - Static variable in class pmp.macro.str.Trim
 
Trim - Class in pmp.macro.str
Strips whitespace from the beginning and/or end of a string.
Trim() - Constructor for class pmp.macro.str.Trim
 

U

UC_ALL - Static variable in class pmp.macro.str.UpperCase
Change all letters to upper case.
UC_ASCII - Static variable in class pmp.macro.str.UpperCase
Ignore locale settings and modify only ASCII characters [a-zA-Z].
UC_FIRST - Static variable in class pmp.macro.str.UpperCase
Change only the first letter to upper case.
UC_WORDS - Static variable in class pmp.macro.str.UpperCase
Change to upper case only the first letters in words.
Undefine - Class in pmp.macro
Removes definition of macro.
Undefine() - Constructor for class pmp.macro.Undefine
 
unsetMacro(String) - Method in class pmp.MacroList
Removes macro definition by calling MacroList.setMacro(String,AbstractMacro) for given macroName with null as macro definition.
UpperCase - Class in pmp.macro.str
Converts parameter to upper case.
UpperCase() - Constructor for class pmp.macro.str.UpperCase
 
urls - Variable in class pmp.Macroprocessor
List of libraries with macro class files.
UUID - Class in pmp.macro.str
Generates random UUID/GUID.
UUID() - Constructor for class pmp.macro.str.UUID
 
UUID_SCHEME - Static variable in class pmp.macro.str.UUID
Returns new UUID with "uuid:" prefix

V

VALUE_BASE64 - Static variable in class pmp.xml.XMLTools
Base64 encoding.
VALUE_COPY - Static variable in class pmp.ConfigDirectives
Specifies string without special symbols.
VALUE_COPY_END - Static variable in class pmp.ConfigDirectives
Starting symbol will be copied to output
VALUE_COPY_START - Static variable in class pmp.ConfigDirectives
Starting symbol will be copied to output
VALUE_DISCARD - Static variable in class pmp.ConfigDirectives
Specifies string which should be discarded.
VALUE_NESTED - Static variable in class pmp.ConfigDirectives
Specifies nested strings.
VALUE_PARSE - Static variable in class pmp.ConfigDirectives
Specifies that string should be scanned for special symbols and then outputted.
VALUE_PLAIN - Static variable in class pmp.xml.XMLTools
No encoding.
valueChanged(ListSelectionEvent) - Method in class pmp.gui.MainPanel
Listener for MacroList selection changes.
valueOf(String) - Static method in enum pmp.Analyzer.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum pmp.CallStackItem.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum pmp.gui.MainPanel.MenuType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum pmp.InternalMPError.Source
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum pmp.macro.math.Eval.Function
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum pmp.MatcherIface.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum pmp.Token.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum pmp.Analyzer.State
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum pmp.CallStackItem.Type
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum pmp.gui.MainPanel.MenuType
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum pmp.InternalMPError.Source
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum pmp.macro.math.Eval.Function
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum pmp.MatcherIface.State
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum pmp.Token.Type
Returns an array containing the constants of this enum type, in the order they're declared.
Version - Class in pmp
Version info for PMP.
Version() - Constructor for class pmp.Version
 
VERSION - Static variable in class pmp.Version
Current version number.

W

WAIT - Static variable in class pmp.macro.tools.Pause
Waits for given amount of time and then waits for keypress.
Warning - Class in pmp.macro
Produces a warning message.
Warning() - Constructor for class pmp.macro.Warning
 
warning(String) - Method in class pmp.Macroprocessor.Component
 
warning(String) - Method in class pmp.Macroprocessor
Produces warning message.
WARNING_EVENT - Static variable in class pmp.io.StringIO
 
warningHandler(String) - Method in class pmp.InputOutput
 
warningHandler(String) - Method in class pmp.io.FileIO
 
warningHandler(String) - Method in class pmp.io.StringIO
 
write(String) - Method in class pmp.InputOutput
Provides direct connection to output Writer Must be reimplemented by subclasses.
write(String) - Method in class pmp.io.FileIO
Writes given string into output writer.
write(String) - Method in class pmp.io.StringIO
 
writeToMacroList(MacroList) - Method in class pmp.xml.XMLConfig
Writes list of macros into given MacroList.

X

xml - Variable in class pmp.gui.MainPanel
 
XMLConfig - Class in pmp.xml
Loads XML configuration files.
XMLConfig(Macroprocessor, boolean) - Constructor for class pmp.xml.XMLConfig
Reads configuration from default configuration file bundled with macroprocessor.
XMLConfig(Macroprocessor, String) - Constructor for class pmp.xml.XMLConfig
Reads configuration from file.
XMLCONFIG_VERSION - Static variable in class pmp.Version
Version of config files this build uses.
xmlEncode(String) - Static method in class pmp.xml.XMLTools
Encodes string to te be usable as value of element attribute or text element.
XMLTools - Class in pmp.xml
XML support routines.
XMLTools() - Constructor for class pmp.xml.XMLTools
 

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