|
SWT LPEX v3.0.5 |
|||||||||||
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.java.JavaParser
com.ibm.lpex.java.JavaSqlParser
Document parser for Java with embedded SQL.
Action added by this parser: sql for a selective view of the embedded SQL statements.
Field Summary |
---|
Constructor Summary | |
---|---|
JavaSqlParser(LpexView lpexView)
Constructor for JavaSqlParser. |
Method Summary | |
---|---|
protected String |
getPopupItems(int popupLocation)
Retrieve parser's contribution to the popup. |
protected SqlLexer |
getSqlLexer(LpexCharStream stream)
Retrieve the SqlLexer. |
protected void |
setStyleAttributes()
Define SQL-specific additional style attributes. |
Methods inherited from class com.ibm.lpex.java.JavaParser |
---|
addErrorMessage, delete, document, expandProtoKeyword, getCommentStyleCharacters, getLanguage, getLanguage, getProfile, getProperty, isTokenDelimiter, join, methods, openLine, outline, parseAll, parseElement, setLexer, split, splitLine, trace |
Methods inherited from class com.ibm.lpex.core.LpexCommonParser |
---|
addDocumentMessage, addMessage, addMessage, addMessage, blockMarkWord, copyDocumentMessages, cursorIndent, defineFilterAction, getInstallStyleAttributes, getLshToken, getPopupParserItems, getPopupViewItems, getStyleName, getStyles, getTextIndent, getToken, getTokenLocation, indentText, indentText, indentText, isDebuggable, lineComment, lpexView, matchToken, newLine, parse, propertySet, removeDocumentMessages, removeMessages, removeMessages, resetParser, setProperty, setStyle, 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 JavaSqlParser(LpexView lpexView)
Method Detail |
protected String getPopupItems(int popupLocation)
getPopupItems
in class JavaParser
protected void setStyleAttributes()
'f'
(SQL built-in function).
setStyleAttributes
in class JavaParser
protected SqlLexer getSqlLexer(LpexCharStream stream)
getSqlLexer
in class JavaParser
stream
- input character stream for the SQL lexer
|
SWT LPEX v3.0.5 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |