|
SWT LPEX v3.0.4 |
|||||||||||
| 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.jcl.JclParser
Document parser for MVS JCL.
The system-specific options used by JclParser are:
Actions and assigned keys added by this document parser for selective views of the cards and errors in the document:
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.
Action modified by this document parser:
getJclOptions()| Field Summary | |
|---|---|
static int |
OPTION_ESA
|
static int |
OPTION_JES2
|
static int |
OPTION_JES3
|
static int |
OPTION_XA
|
| Constructor Summary | |
|---|---|
JclParser(LpexView lpexView)
Constructor. |
|
| Method Summary | |
|---|---|
String |
getCommentStyleCharacters()
Returns the style character used for styling comments ("c"). |
int |
getJclOptions()
Returns parser's system-specific JCL options. |
String |
getLanguage()
Returns "JCL", 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. |
void |
parseAll()
Total parse of the entire document. |
void |
parseElement(int element)
Incremental parse. |
void |
setStyleAttributes()
Defines parser's style attributes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int OPTION_JES2
getJclOptions(),
Constant Field Valuespublic static final int OPTION_JES3
getJclOptions(),
Constant Field Valuespublic static final int OPTION_ESA
getJclOptions(),
Constant Field Valuespublic static final int OPTION_XA
getJclOptions(),
Constant Field Values| Constructor Detail |
public JclParser(LpexView lpexView)
lpexView - the document view associated with this parser| Method Detail |
public ResourceBundle getProfile()
getProfile in class LpexCommonParserLpexCommonParser.getProperty(java.lang.String),
Parser propertiespublic String getLanguage()
getLanguage in class LpexCommonParserLpexCommonParser.LANGUAGE_JCLpublic int getJclOptions()
To modify these settings, extend JclParser and override this method.
OPTION_JES2,
OPTION_JES3,
OPTION_ESA,
OPTION_XAprotected String getPopupItems(int popupLocation)
getPopupItems in class LpexCommonParserpopupLocation - 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()
'_' (blank/unparsed characters),
'i' (in-stream data),
'z' (sequence number),
'*' (delimiter),
'(' (first-level parenthesis),
')' (second-level parenthesis),
',' (comma),
'=' (equal sign),
'.' (period),
'j' (job name),
's' (step name),
'r' (proc name),
'p' (proc step name),
'd' (DD name),
'c' (comment),
'e' (error),
'k' (keyword),
'b' (subkeyword),
'y' (keyword - symbolic),
'q' (quoted string),
'/' (JCL statement prefix),
'o' (operation field),
'n' (command statement),
'x' (symbolic value),
'v' (parameter value),
'l' (control statement).
public String getCommentStyleCharacters()
getCommentStyleCharacters in class LpexCommonParserpublic void parseAll()
parseAll in class LpexCommonParserpublic void parseElement(int element)
parseElement in class LpexCommonParserelement - an element affected by a committed change in this viewLpexView.parsePending(int),
LpexView.elementParsed(int),
Total and incremental parse
|
SWT LPEX v3.0.4 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||