SWT LPEX
v3.0.5

com.ibm.lpex.sql
Class SqlLexerStyles

java.lang.Object
  extended bycom.ibm.lpex.sql.SqlLexerStyles

public final class SqlLexerStyles
extends Object

Styles for the SQL lexer. The style characters used by the SQL lexer must be defined by the host document 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 SQL lexer.


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

Constructor Detail

SqlLexerStyles

public SqlLexerStyles(String styles)
Construct a set of SQL lexer styles. If the styles string is null or too short, all the SQL lexer styles are set to '!'.

Parameters:
styles - string of 8 style characters, in the following order: comment, error, keyword, built-in function, numeric constant, character string constant, identifier, punctuation

SWT LPEX
v3.0.5

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