SWT LPEX
v3.0.5

com.ibm.lpex.cobol
Class Cobol400SqlCicsParser

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

public class Cobol400SqlCicsParser
extends Cobol400Parser

Document parser for COBOL/400 with embedded SQL/CICS 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.Cobol400Parser
PARSE_MODE_PROCESS
 
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
Cobol400SqlCicsParser(LpexView lpexView)
          Constructor for Cobol400SqlCicsParser.
 
Method Summary
 CicsLexer getCicsLexer(LpexCharStream stream)
          Retrieve the CicsLexer.
 SqlLexer getSqlLexer(LpexCharStream stream)
          Retrieve the SqlLexer.
 
Methods inherited from class com.ibm.lpex.cobol.Cobol400Parser
findDirective, isDirectiveLine, isNumericLiteral, isProcessOption, isReservedWord, isUserDefinedWord, nonnumericLiteralTypes, parseNonnumericLiteral, parseProcessOption, parseProcessToken, parseReservedWord, parseToken
 
Methods inherited from class com.ibm.lpex.cobol.CobolParser
addErrorMessage, addErrorMessage, checkSequenceNumbersSetting, completeCurrentElement, continueParse, evaluateBeginElement, evaluateEndElement, findParseElement, flushElements, getCommentStyleCharacters, getDirectiveToken, getDliLexer, getLanguage, getLanguage, getLshToken, getNSYMBOL, getPopupItems, getProfile, getToken, initCurrentElement, initializeParser, isCommaOrSemicolon, isFunctionName, isNonnumericLiteral, isPeriod, isPreprocessorStart, isPseudoTextStart, isSeparator, linkElements, linkLexedElements, maxDigits, maxExponent, maxMantissa, maxPicture, nextCharacter, nextTokenCharacter, nextTokenElement, parse, parseAll, parseCodeToken, parseCommentEntryToken, parseDateFormatIsToken, parseDateFormatString, parseDateFormatToken, parseDateToken, parseDirectiveLine, parseElement, parseErrorToken, parseFunctionToken, parseIndicatorArea, parseNumericLiteral, parseOptionalIdParagraphToken, parsePictureIsToken, parsePictureString, parsePictureToken, parsePreprocessorStart, parsePreprocessorToken, parsePseudoTextStart, parsePseudoTextToken, parseSeparator, 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

Cobol400SqlCicsParser

public Cobol400SqlCicsParser(LpexView lpexView)
Constructor for Cobol400SqlCicsParser.

Method Detail

getSqlLexer

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

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

getCicsLexer

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

Overrides:
getCicsLexer 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.