|
LPEX 4.4.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.lpex.core.LpexCommonParser com.ibm.lpex.cpp.CppParser com.ibm.lpex.cpp.CppSqlParser
public class CppSqlParser
Document parser for C/C++ with embedded SQL statements.
Action added by this parser: sql for a selective view of the embedded SQL statements.
Field Summary |
---|
Fields inherited from class com.ibm.lpex.cpp.CppParser |
---|
CLASS_BRACE, CLASS_BWDLINK, CLASS_CASE, CLASS_CICS, CLASS_CLASS, CLASS_CODE, CLASS_COMMENT, CLASS_COMMENTTASK, CLASS_CONTROL, CLASS_DEBUGGABLE, CLASS_DLI, CLASS_ERROR, CLASS_FUNCTION, CLASS_FWDLINK, CLASS_INCLUDE, CLASS_SEMICOLON, CLASS_SPACE, CLASS_SQL |
Constructor Summary | |
---|---|
CppSqlParser(LpexView lpexView)
Constructor. |
Method Summary | |
---|---|
protected String |
getPopupItems(int popupLocation)
Extended to return this parser's contribution to the popup. |
SqlLexer |
getSqlLexer(LpexCharStream stream)
Returns the SqlLexer. |
protected void |
initParser()
Extended to define the Filter view submenu editor action sql. |
Methods inherited from class com.ibm.lpex.cpp.CppParser |
---|
addErrorMessage, getCicsLexer, getCommentStyleCharacters, getDliLexer, getLanguage, getLanguage, getLshToken, getPopupItem, getProfile, getStream, isCLibraryFunction, isDebuggable, isExtensionKeyword, isTokenDelimiter, isWordCharacter, parseAll, parseElement, propertySet, setLexer, setStyleAttributes |
Methods inherited from class com.ibm.lpex.core.LpexCommonParser |
---|
addDocumentMessage, addMessage, addMessage, addMessage, blockMarkWord, copyDocumentMessages, cursorIndent, defineFilterAction, defineFilterAction, expandProtoKeyword, getInstallStyleAttributes, getProperty, getStyleName, getStyles, getTextIndent, getToken, getTokenLocation, indentText, indentText, indentText, isPrimaryParser, lineComment, lpexView, matchToken, newLine, openLine, parse, removeDocumentMessages, removeMessages, removeMessages, resetParser, setProperty, setStyle, splitLine, styleString, terminateParser, tokenBegin, tokenEnd, totalParse |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CppSqlParser(LpexView lpexView)
Method Detail |
---|
protected void initParser()
initParser
in class CppParser
protected String getPopupItems(int popupLocation)
getPopupItems
in class CppParser
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 SqlLexer getSqlLexer(LpexCharStream stream)
getSqlLexer
in class CppParser
stream
- input character stream for the lexer
|
LPEX 4.4.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |