SWT LPEX
v3.0.5

com.ibm.lpex.cobol
Class CobolSqlCicsParser

java.lang.Object
  extended bycom.ibm.lpex.core.LpexCommonParser
      extended bycom.ibm.lpex.cobol.CobolParser
          extended bycom.ibm.lpex.cobol.CobolSqlCicsParser
All Implemented Interfaces:
LpexConstants, LpexParser

public class CobolSqlCicsParser
extends CobolParser

Document parser for COBOL with embedded EXEC SQL/CICS/DLI statements.


Nested Class Summary
 
Nested classes inherited from class com.ibm.lpex.cobol.CobolParser
CobolParser.ParseElement, CobolParser.TokenFragment
 
Field Summary
 
Fields inherited from class com.ibm.lpex.cobol.CobolParser
_classAll, _classAreaA, _classAreaB, _classBackwardLink, _classBlank, _classCics, _classComment, _classDirective, _classDivision, _classDli, _classError, _classForwardLink, _classPreprocessor, _classSection, _classSql, _currentBytePosition, _currentCharacterPosition, _currentElement, _currentElementCompleted, _dbcsUserDefinedWord, _decimalLength, _directiveError, _directiveStartBytePosition, _directiveTokenStartBytePosition, _directiveTokenText, _endElement, _errorCount, _exponentLength, _firstTokenFragment, _freeParseElements, _inNonnumericLiteral, _integerLength, _lastTokenFragment, _multiTokenStartElement, _nonnumericLiteralDelimiter, _nonnumericLiteralHasClosingDelimiter, _nonnumericLiteralHasDBCS, _nonnumericLiteralHasNonbinary, _nonnumericLiteralHasNonhexadecimal, _nonnumericLiteralHasSBCS, _nonnumericLiteralLength, _nonnumericLiteralType, _nSymbolNational, _parseElements, _parseMode, _previousCharacterWidth, _reservedWord, _saveTokenCharacter, _saveTokenCharacterBytePosition, _saveTokenCharacterElement, _saveTokenCharacterPosition, _saveTokenCharacterValid, _sequenceNumbers7380, _startElement, _tokenHasDelimiter, _tokenText, CLASS_AREAA, CLASS_AREAB, CLASS_BLANK, CLASS_BWDLINK, CLASS_CICS, CLASS_COMMENT, CLASS_DIRECTIVE, CLASS_DIVISION, CLASS_DLI, CLASS_ERROR, CLASS_FWDLINK, CLASS_PREPROCESSOR, CLASS_SECTION, CLASS_SQL, PARSE_MODE_CODE, PARSE_MODE_COMMENT_ENTRY, PARSE_MODE_DATE, PARSE_MODE_DATE_FORMAT, PARSE_MODE_DATE_FORMAT_IS, PARSE_MODE_FUNCTION, PARSE_MODE_LAST, PARSE_MODE_OPTIONAL_ID_PARAGRAPH, PARSE_MODE_PICTURE, PARSE_MODE_PICTURE_IS, PARSE_MODE_PREPROCESSOR, PARSE_MODE_PSEUDO_TEXT
 
Fields inherited from class com.ibm.lpex.core.LpexCommonParser
ATTRIBUTES_COMMENT, ATTRIBUTES_COMMENT_KEYWORD, ATTRIBUTES_COMMENT1, ATTRIBUTES_DEFAULT, ATTRIBUTES_DIRECTIVE, ATTRIBUTES_ERROR, ATTRIBUTES_KEYWORD, ATTRIBUTES_KEYWORD1, ATTRIBUTES_LIBRARY, ATTRIBUTES_NONSOURCE, ATTRIBUTES_NUMERAL, ATTRIBUTES_STRING, ATTRIBUTES_STRING1, BACKGROUND_COLOR, CLASS_MESSAGE, LANGUAGE_CCPP, LANGUAGE_CICS, LANGUAGE_CL, LANGUAGE_COBOL, LANGUAGE_DDS, LANGUAGE_DLI, LANGUAGE_FORTRAN, LANGUAGE_HLASM, LANGUAGE_HTML, LANGUAGE_JAVA, LANGUAGE_JCL, LANGUAGE_LISP, LANGUAGE_PERL, LANGUAGE_PLI, LANGUAGE_REXX, LANGUAGE_RPG, LANGUAGE_SABRETALK, LANGUAGE_SQL, LANGUAGE_XMI, LANGUAGE_XML, LANGUAGE_XSL, LEXER_RC_END, LEXER_RC_EOF, LEXER_RC_MORE, LEXER_RC_OK, POPUP_END, POPUP_FILTERVIEW, POPUP_SOURCE, POPUP_TOP, PROTOKEY_EMPTY, STYLE_MESSAGE, STYLE_NAME, view
 
Fields inherited from interface com.ibm.lpex.core.LpexConstants
HELP_COMMAND_MAP, LPEX_VERSION, MSG_POPUP_ERRORS, MSG_POPUP_EXCLUDESELECTION, MSG_POPUP_FILTERVIEWMENU, MSG_POPUP_INSERTMENU, MSG_POPUP_SELECTEDMENU, MSG_POPUP_SHOWALL, MSG_POPUP_SOURCEMENU, PARSE_PENDING_CHANGE_MASK, PARSE_PENDING_INSERT_MASK, PARSE_PENDING_NEXT_DELETED_MASK, PARSE_PENDING_NEXT_SHOW_DELETED_MASK, PARSE_PENDING_PREV_DELETED_MASK, PARSE_PENDING_PREV_SHOW_DELETED_MASK, PLATFORM_AWT, PLATFORM_SWT, PLATFORM_SWT_KEY, STATUS_FILE_ERRORREADING, STATUS_FILE_INCORRECTENCODING, STATUS_FILE_NOTFOUND, STATUS_FINDTEXT_INVALIDPATTERN, STATUS_FINDTEXT_NOTFOUND, STATUS_FINDTEXT_ONLYOCCURRENCE, STATUS_FINDTEXT_READONLY, STATUS_FINDTEXT_WRAPPED, STATUS_LOCATE_NOSEQUENCETEXT, STATUS_LOCATE_NOTFOUND, STATUS_LOCATE_WRAPPED, STATUS_SAVE_CANCELLED, STATUS_SAVE_FAILED, STATUS_TEXTLIMIT_ENFORCED
 
Constructor Summary
CobolSqlCicsParser(LpexView lpexView)
          Constructor.
 
Method Summary
 CicsLexer getCicsLexer(LpexCharStream stream)
          Returns the CicsLexer.
 LpexSubparser getDliLexer(LpexCharStream stream)
          Returns the DliLexer.
 SqlLexer getSqlLexer(LpexCharStream stream)
          Returns the SqlLexer.
 
Methods inherited from class com.ibm.lpex.cobol.CobolParser
addErrorMessage, addErrorMessage, checkSequenceNumbersSetting, completeCurrentElement, continueParse, evaluateBeginElement, evaluateEndElement, findDirective, findParseElement, flushElements, getCommentStyleCharacters, getDirectiveToken, getLanguage, getLanguage, getLshToken, getNSYMBOL, getPopupItems, getProfile, getToken, initCurrentElement, initializeParser, isCommaOrSemicolon, isDirectiveLine, isFunctionName, isNonnumericLiteral, isNumericLiteral, isPeriod, isPreprocessorStart, isPseudoTextStart, isReservedWord, isSeparator, isUserDefinedWord, linkElements, linkLexedElements, maxDigits, maxExponent, maxMantissa, maxPicture, nextCharacter, nextTokenCharacter, nextTokenElement, nonnumericLiteralTypes, parse, parseAll, parseCodeToken, parseCommentEntryToken, parseDateFormatIsToken, parseDateFormatString, parseDateFormatToken, parseDateToken, parseDirectiveLine, parseElement, parseErrorToken, parseFunctionToken, parseIndicatorArea, parseNonnumericLiteral, parseNumericLiteral, parseOptionalIdParagraphToken, parsePictureIsToken, parsePictureString, parsePictureToken, parsePreprocessorStart, parsePreprocessorToken, parsePseudoTextStart, parsePseudoTextToken, parseReservedWord, parseSeparator, parseToken, parseUserDefinedWord, propertySet, reInitCurrentElement, saveTokenCharacter, setStyleAttributes, setToken, setToken, setToken, setToken, setTokenEnd
 
Methods inherited from class com.ibm.lpex.core.LpexCommonParser
addDocumentMessage, addMessage, addMessage, addMessage, blockMarkWord, copyDocumentMessages, cursorIndent, defineFilterAction, expandProtoKeyword, getInstallStyleAttributes, getPopupParserItems, getPopupViewItems, getProperty, getStyleName, getStyles, getTextIndent, getToken, getTokenLocation, indentText, indentText, indentText, isDebuggable, isTokenDelimiter, 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

CobolSqlCicsParser

public CobolSqlCicsParser(LpexView lpexView)
Constructor.

Method Detail

getSqlLexer

public SqlLexer getSqlLexer(LpexCharStream stream)
Returns the SqlLexer. This method constructs and returns an SqlLexer object for parsing COBOL embedded EXEC SQL statements.

Overrides:
getSqlLexer in class CobolParser
Parameters:
stream - input character stream for the lexer

getCicsLexer

public CicsLexer getCicsLexer(LpexCharStream stream)
Returns the CicsLexer. This method constructs and returns a CicsLexer object for parsing COBOL embedded EXEC CICS statements.

Overrides:
getCicsLexer in class CobolParser
Parameters:
stream - input character stream for the lexer

getDliLexer

public LpexSubparser getDliLexer(LpexCharStream stream)
Returns the DliLexer. This method constructs and returns a DliLexer object for parsing COBOL embedded EXEC DLI statements.

The current implementation of this method returns null.

Overrides:
getDliLexer in class CobolParser
Parameters:
stream - input character stream for the lexer

SWT LPEX
v3.0.5

(C) Copyright IBM Corporation 1998, 2005.  All Rights Reserved.