LPEX
3.6.7

com.ibm.lpex.fortran
Class FortranLexerStyles

java.lang.Object
  extended by com.ibm.lpex.fortran.FortranLexerStyles

public final class FortranLexerStyles
extends Object

Styles for the Fortran lexers. The style characters used by the Fortran lexers 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 Fortran lexer.


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

Constructor Detail

FortranLexerStyles

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

Parameters:
styles - string of 16 style characters, in the following order: comment, commentTag, remark, error, executable statement keyword, non-executable statement keyword, special program keyword, special program end keyword, numeric constant, character literal name, label, punctuation/operator, compiler directive, continuation indicator, ignored

LPEX
3.6.7

Copyright © 2012 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.