com.ibm.lpex.cics
Class CicsLexerStyles

java.lang.Object
  |
  +--com.ibm.lpex.cics.CicsLexerStyles

public final class CicsLexerStyles
extends java.lang.Object

Styles for the CICS lexer. The style characters used by the CICS lexer must be defined by the host parser.

The default style character set in the LpexCharStream by the host parser (usually '_' for layout blanks) will also appear in elements tokenized by the CICS lexer.


Constructor Summary
CicsLexerStyles()
           
CicsLexerStyles(java.lang.String styles)
          Construct a set of CICS lexer styles.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CicsLexerStyles

public CicsLexerStyles(java.lang.String styles)
Construct a set of CICS lexer styles. If the styles string is null or too short, all the CICS lexer styles are set to '!'.
Parameters:
styles - string of 7 style characters, in the following order: comment, error, keyword, numeric constant, character string constant, identifier, punctuation

CicsLexerStyles

public CicsLexerStyles()