|
LPEX 3.6.6 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.lpex.core.LpexCommonParser
com.ibm.lpex.rexx.RexxParser
public class RexxParser
Document parser for REXX.
Editor actions and assigned keys added by this document parser:
Keys already defined (for example, by the active base editor profile and by the user profile) to an action different from nullAction are not redefined in here.
Editor action modified by this document parser:
Parser property handled directly by this parser:
bidi
TODO
).
Field Summary |
---|
Constructor Summary | |
---|---|
RexxParser(LpexView lpexView)
Constructor. |
Method Summary | |
---|---|
String |
getCommentStyleCharacters()
Returns the style character used for styling comments ("c"). |
String |
getLanguage()
Returns "REXX", the language supported by this parser. |
protected String |
getPopupItems(int popupLocation)
Returns this parser's contribution to the popup. |
ResourceBundle |
getProfile()
Returns the parser's properties profile resource bundle. |
protected void |
initParser()
Initializes the parser. |
boolean |
isKeyword(String keyword)
Checks whether the passed-in keyword is a REXX keyword. |
void |
parseAll()
Total parse of the entire document. |
void |
parseElement(int element)
Incremental parse. |
protected void |
propertySet(String key)
Listens to changes to the taskTags parser property in this view. |
void |
setStyleAttributes()
Defines this parser's style attributes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RexxParser(LpexView lpexView)
lpexView
- the document view associated with this parserMethod Detail |
---|
protected void initParser()
initParser
in class LpexCommonParser
protected void propertySet(String key)
propertySet
in class LpexCommonParser
key
- base name of the parser property that was set, for example "autoIndent"LpexCommonParser.setProperty(String,String)
,
LpexCommonParser.getProperty(java.lang.String)
,
Parser propertiespublic void parseAll()
parseAll
in class LpexCommonParser
public void parseElement(int element)
parseElement
in class LpexCommonParser
element
- an element affected by a committed change in this viewLpexView.parsePending(int)
,
LpexView.elementParsed(int)
,
Total and incremental parsepublic ResourceBundle getProfile()
getProfile
in class LpexCommonParser
LpexCommonParser.getProperty(java.lang.String)
,
Parser propertiespublic String getLanguage()
getLanguage
in class LpexCommonParser
LpexCommonParser.LANGUAGE_REXX
public boolean isKeyword(String keyword)
keyword
- alphanumeric to checkprotected String getPopupItems(int popupLocation)
getPopupItems
in class LpexCommonParser
popupLocation
- the location on the pop-up menu of the items
requested, one of: LpexCommonParser.POPUP_TOP
, LpexCommonParser.POPUP_FILTERVIEW
,
LpexCommonParser.POPUP_SOURCE
, LpexCommonParser.POPUP_END
null
if noneLpexCommonParser.defineFilterAction(java.lang.String, java.lang.String)
public void setStyleAttributes()
'_'
(layout blanks),
'c'
(comment),
'$'
(comment task tag),
'e'
(error),
'k'
(keyword),
'n'
(numeric),
'h'
(hexadecimal string),
'l'
(string literal),
'a'
(alphanumeric),
's'
(special),
':'
(label).
public String getCommentStyleCharacters()
getCommentStyleCharacters
in class LpexCommonParser
|
LPEX 3.6.6 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |