com.ibm.etools.iseries.parsers
Class ISeriesEditorRPGOPMTokenizer
java.lang.Object
com.ibm.etools.iseries.parsers.ISeriesEditorRPGOPMTokenizer
- All Implemented Interfaces:
- IISeriesEditorConstantsColors, IISeriesEditorConstantsRPG, IISeriesEditorConstantsRPGOPM
public class ISeriesEditorRPGOPMTokenizer
- extends Object
- implements IISeriesEditorConstantsRPGOPM
Fields inherited from interface com.ibm.etools.iseries.editor.IISeriesEditorConstantsRPGOPM |
_straControlWords, _straDataWords, _straMacroWords, _straRPGFonts, COLUMN_C_OPCODE, CSPECCOMMENT_POS, FACTOR2_POS, FIELDLEN_POS, LENGTH_C_OPCODE, PAGE_INDEX_OPM_C_Calculation, PAGE_INDEX_OPM_Comment, PAGE_INDEX_OPM_E_Extension, PAGE_INDEX_OPM_F_File_Description, PAGE_INDEX_OPM_F_File_Description_Continuation, PAGE_INDEX_OPM_F_File_Description_Continuation_SFILE_RENAME, PAGE_INDEX_OPM_F_File_Description_Externally_Described_File, PAGE_INDEX_OPM_Full_Line, PAGE_INDEX_OPM_H_Control, PAGE_INDEX_OPM_I_Input_Data_Structure, PAGE_INDEX_OPM_I_Input_Data_Structure_Subfield, PAGE_INDEX_OPM_I_Input_Field_Description, PAGE_INDEX_OPM_I_Input_Field_Description_Externally_Described_File, PAGE_INDEX_OPM_I_Input_Initialization_Value, PAGE_INDEX_OPM_I_Input_Named_Constant, PAGE_INDEX_OPM_I_Input_Record_Identification, PAGE_INDEX_OPM_I_Input_Record_Identification_Externally_Described_File, PAGE_INDEX_OPM_L_Line_Counter, PAGE_INDEX_OPM_O_Output_Field_Description, PAGE_INDEX_OPM_O_Output_Record_Description, PAGE_INDEX_OPM_O_Output_To_Disk, PROMPT_C, PROMPT_CIND, PROMPT_CM, PROMPT_DATA, PROMPT_DSS, PROMPT_DSS2, PROMPT_E, PROMPT_F, PROMPT_FC, PROMPT_FK, PROMPT_FX, PROMPT_H, PROMPT_IDS, PROMPT_IF, PROMPT_IFX, PROMPT_IR, PROMPT_IR2, PROMPT_IRX, PROMPT_L, PROMPT_LAST, PROMPT_MACRO, PROMPT_NC, PROMPT_NONE, PROMPT_OD, PROMPT_OF, PROMPT_OR, PROMPT_OR2, PROMPT_SPACE, PROMPT_SQL, PROMPT_SV, PROMPT_U, STRING_HELP_DOC_PLUGIN_ID, STRING_HELP_TABLE_FILENAME, STRING_HELP_TABLE_PLUGIN_ID, STRING_MESSAGE_HELP_DOC_PLUGIN_ID, STRING_MESSAGE_HELP_TABLE_FILENAME, STRING_MESSAGE_HELP_TABLE_PLUGIN_ID |
Fields inherited from interface com.ibm.etools.iseries.editor.IISeriesEditorConstantsRPG |
_straSQLWords, _straSQLWordsWithComment, CMD_SETFORMATLINETEXT, CMD_SETTABS, COLUMN_C_FREE, COLUMN_COMMENT, COLUMN_FACTOR1, COLUMN_FACTOR2, COLUMN_KEYWORDS, COLUMN_PROC_NAME_BEGIN, COLUMN_PROC_NAME_END, COLUMN_PROC_SPEC, COLUMN_SPEC, FIELD_FACTOR1, FIELD_FACTOR2, FIELD_FROM, FIELD_OPCODE, FIELD_TOLENGTH, OPM_COLUMN_FACTOR1 |
Fields inherited from interface com.ibm.etools.iseries.edit.IISeriesEditorConstantsColors |
COLOR_BLACK_WHITE, COLOR_BLUE_WHITE, COLOR_BRIGHTBLUE_WHITE, COLOR_BRIGHTGREEN_WHITE, COLOR_BRIGHTGREY_WHITE, COLOR_BRIGHTPINK_WHITE, COLOR_BRIGHTRED_WHITE, COLOR_BRIGHTRED_WHITE_SQUIGGLE, COLOR_BROWN_WHITE, COLOR_CYAN_WHITE, COLOR_DARK_BROWN_WHITE, COLOR_ERROR_HIGHLIGHT, COLOR_GREEN_WHITE, COLOR_GREY_WHITE, COLOR_HIGHLIGHT, COLOR_MAGENTA_WHITE, COLOR_PINK_WHITE, COLOR_RED_WHITE, COLOR_WHITE_BRIGHTRED |
Method Summary |
void |
tokenizeElement(int iElement,
int iSpecType)
Port of evferptk.cpp, TokenizeRPGLine |
void |
tokenizeLine(int iLine,
int iSpecType)
Deprecated. |
protected String |
upperCaseLine(String strLine)
Upper cases the given line except
Within strings
Compile time data (caller checks)
Comments
IR spec, positions 27, 34, and 41
H spec, positions 18 and 20
Port of evferptk.cpp, UpperCaseLine |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
copyright
public static final String copyright
- See Also:
- Constant Field Values
_view
protected LpexView _view
_parser
protected ISeriesEditorRPGOPMParser _parser
ISeriesEditorRPGOPMTokenizer
public ISeriesEditorRPGOPMTokenizer(LpexView view,
ISeriesEditorRPGOPMParser parser)
- Constructor
tokenizeLine
public void tokenizeLine(int iLine,
int iSpecType)
- Deprecated.
- Port of evferptk.cpp, TokenizeRPGLine
tokenizeElement
public void tokenizeElement(int iElement,
int iSpecType)
- Port of evferptk.cpp, TokenizeRPGLine
upperCaseLine
protected String upperCaseLine(String strLine)
- Upper cases the given line except
- Within strings
- Compile time data (caller checks)
- Comments
- IR spec, positions 27, 34, and 41
- H spec, positions 18 and 20
Port of evferptk.cpp, UpperCaseLine
Copyright © 2011 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.