Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
A
C
D
E
G
I
L
M
O
P
R
S
T
A
AbstractDocument
- class editor.
AbstractDocument
.
This class provides a skeleton implementation of
Document
interface abstracting from pattern syntax and semantic and using
listIterator
method to iterate over document's characters, wrapped by
java.lang.Character
objects
AbstractDocument()
- Constructor for class editor.
AbstractDocument
add_escapes(String)
- Method in class editor.pp.
ParseException
Used to convert raw characters to their escaped version when these raw version cannot be used as part of an ASCII string literal.
C
clear()
- Method in interface editor.
Document
Clears document content.
clear()
- Method in class editor.
AbstractDocument
Clears document content.
clear()
- Method in class editor.
EditorDocument
Clears document content.
clipboard
- Static variable in interface editor.
Document
A common clipboard for classes implementing this interface.
copy()
- Method in interface editor.
Document
Overwrites the currently selected region to the clipboard.
copy()
- Method in class editor.
AbstractDocument
Overwrites the currently selected region to the clipboard.
copyAll()
- Method in class editor.
AbstractDocument
Overwrites all document's content to the clipboard.
currentToken
- Variable in class editor.pp.
ParseException
This is the last token that has been consumed successfully.
cut()
- Method in interface editor.
Document
Removes the currently selected region and overwrites it to the clipboard.
cut()
- Method in class editor.
AbstractDocument
Removes the currently selected region and overwrites it to the clipboard.
cutAll()
- Method in class editor.
AbstractDocument
Cut all document's content and overwrites it to clipboard.
D
Document
- interface editor.
Document
.
Document interface must be implemented by all
Editor
implementations wishing to share a common
clipboard
.
E
editor
- package editor
Editor
is a language for searching and restructuring text documents.
EditorDocument
- class editor.
EditorDocument
.
A linked list based implementation of Document interface.
EditorDocument()
- Constructor for class editor.
EditorDocument
Constructs a new empty document.
EditorDocument(Reader)
- Constructor for class editor.
EditorDocument
Constructs a new document whose content is read from a characters-stream Reader.
eol
- Variable in class editor.pp.
ParseException
The end of line string for this machine.
expectedTokenSequences
- Variable in class editor.pp.
ParseException
Each entry in this array is an array of integers.
G
getCaseSensitive()
- Method in interface editor.
Document
Returns search and match sensitivity to characters case.
getCaseSensitive()
- Method in class editor.
EditorDocument
Returns search and match sensitivity to characters case.
getMessage()
- Method in class editor.pp.
ParseException
This method has the standard behavior when this object has been created using the standard constructors.
getPosition()
- Method in interface editor.
Document
Get current position.
getPosition()
- Method in class editor.
EditorDocument
Get current position.
getStartPoint()
- Method in interface editor.
Document
Get current start position.
getStartPoint()
- Method in class editor.
EditorDocument
Get current start position.
getVersion()
- Static method in class editor.
EditorDocument
Returns package version.
I
isEmpty()
- Method in interface editor.
Document
Returns
true
if document is empty.
isEmpty()
- Method in class editor.
AbstractDocument
Returns
true
if document is empty.
isEmpty()
- Method in class editor.
EditorDocument
Returns
true
if document is empty.
L
listIterator(int)
- Method in class editor.
AbstractDocument
This method returns an iterator over document's characters wrapped by
java.lang.Character
objects.
listIterator(int)
- Method in class editor.
EditorDocument
Returns a list iterator over document's characters wrapped inside
java.lang.Character
objects
loopSearch(String)
- Method in interface editor.
Document
A version of search to be used in loop conditions.
loopSearch(String)
- Method in class editor.
AbstractDocument
A version of search to be used in loop conditions.
M
makeList(Reader)
- Method in class editor.
EditorDocument
An utility method to instantiate the list with characters read from a characters-stream Reader.
match(String)
- Method in interface editor.
Document
Matches a pattern starting from current position.
match(String)
- Method in class editor.
EditorDocument
Matches a pattern starting from current position.
O
open(Reader)
- Method in interface editor.
Document
Reads document content from a characters-stream Reader.
open(Reader)
- Method in class editor.
AbstractDocument
Reads document content from a characters-stream Reader.
open(Reader)
- Method in class editor.
EditorDocument
Reads document content from a characters-stream Reader.
P
ParseException
- exception editor.pp.
ParseException
.
This exception is thrown when parse errors are encountered.
ParseException()
- Constructor for class editor.pp.
ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String)
- Constructor for class editor.pp.
ParseException
ParseException(Token, int[][], String[])
- Constructor for class editor.pp.
ParseException
This constructor is used by the method "generateParseException" in the generated parser.
paste()
- Method in interface editor.
Document
Pastes the clipboard content to document, immediately following the current position.
paste()
- Method in class editor.
AbstractDocument
Pastes the clipboard content to document, immediately following the current position.
put(String)
- Method in interface editor.
Document
Inserts a string after current position.
put(String)
- Method in class editor.
AbstractDocument
Inserts a string after current position.
R
remove()
- Method in interface editor.
Document
Removes current selection.
remove()
- Method in class editor.
AbstractDocument
Removes current selection.
remove()
- Method in class editor.
EditorDocument
Removes current selection.
replace(String, String)
- Method in interface editor.
Document
Replaces the first occurrence of a pattern with a string.
replace(String, String)
- Method in class editor.
AbstractDocument
Replaces the first occurrence of a pattern with a string.
replaceAll(String, String)
- Method in class editor.
AbstractDocument
Replaces all occurrences of a pattern with a string.
reset()
- Method in interface editor.
Document
Moves current selection to
(0,0)
.
reset()
- Method in class editor.
AbstractDocument
Moves current selection to
(0,0)
.
S
save(Writer)
- Method in interface editor.
Document
Saves document content into a characters-stream Writer.
save(Writer)
- Method in class editor.
AbstractDocument
Saves document content into a characters-stream Writer.
search(String)
- Method in interface editor.
Document
Searches for the next occurrence of pattern starting.
search(String)
- Method in class editor.
EditorDocument
Searches for the next occurrence of pattern starting.
setCaseSensitive(boolean)
- Method in interface editor.
Document
Set search and match sensitivity to characters case.
setCaseSensitive(boolean)
- Method in class editor.
EditorDocument
Set search and match sensitivity to characters case.
setPosition(int)
- Method in interface editor.
Document
Set current position (right delimeter of current selection).
setPosition(int)
- Method in class editor.
EditorDocument
Set current position (right delimeter of current selection).
setStartPoint(int)
- Method in interface editor.
Document
Set current start position (left delimeter of current selection).
setStartPoint(int)
- Method in class editor.
EditorDocument
Set current start position (left delimeter of current selection).
size()
- Method in interface editor.
Document
Return the number of characters composing this document.
size()
- Method in class editor.
AbstractDocument
Return the number of characters composing this document.
size()
- Method in class editor.
EditorDocument
Return the number of characters composing this document.
specialConstructor
- Variable in class editor.pp.
ParseException
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).
STAR
- Static variable in class editor.
EditorDocument
Wild card
used in patterns.
T
tokenImage
- Variable in class editor.pp.
ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
toString()
- Method in interface editor.
Document
Returns a String object representing document's content.
toString()
- Method in class editor.
AbstractDocument
Returns a String object representing document's content.
A
C
D
E
G
I
L
M
O
P
R
S
T
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES