SWT LPEX
v3.0.5

com.ibm.lpex.tpfhlasm
Class TPFMacroInstructions

java.lang.Object
  extended bycom.ibm.lpex.hlasm.Instruction
      extended bycom.ibm.lpex.hlasm.AssemblerInstruction
          extended bycom.ibm.lpex.tpfhlasm.TPFMacroInstructions
Direct Known Subclasses:
TPFDFMacroInstruction

public class TPFMacroInstructions
extends AssemblerInstruction

All the information for one particular TPF macro instruction: name, operands, syntax-verification information.


Field Summary
 
Fields inherited from class com.ibm.lpex.hlasm.AssemblerInstruction
ALL_GOOD, ALL_KEYWORDS_VALID, ALL_POSITIONALS_VALID, class_type, DEFAULT_STYLE, INVALID_PARAMETER, keyword_after_equal_are_cs, keyword_before_equal_are_cs, NO_MATCH, NOT_A_KEYWORD, positional_are_cs, REQUIRED_OP_MISSING, TOO_MANY_OPERANDS, used_requireds, valid_operands
 
Fields inherited from class com.ibm.lpex.hlasm.Instruction
_multiLevel, _next
 
Constructor Summary
TPFMacroInstructions(String instrX)
          Constructor.
 
Method Summary
 String getPUTString()
           
protected  int processValidateOperands(String operands)
          Validates the operands of an assembler instruction.
protected  void setCaseLevels(int case_level)
          This method will set values to determine what type checking will be used when processing operands.
static void setCurrentPUTLevel(int level)
           
protected  void setTypeAttributes()
          This method is used to set some default values in the constructor.
 
Methods inherited from class com.ibm.lpex.hlasm.AssemblerInstruction
charactersValid, charactersValidIgnoreCase, removeOperandFromString, validatePositional
 
Methods inherited from class com.ibm.lpex.hlasm.Instruction
GetFormat, getLastSyntaxError, getOpFont, setLastSyntaxError, setOpFont
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TPFMacroInstructions

public TPFMacroInstructions(String instrX)
Constructor.

Method Detail

processValidateOperands

protected int processValidateOperands(String operands)
Description copied from class: AssemblerInstruction
Validates the operands of an assembler instruction.

Overrides:
processValidateOperands in class AssemblerInstruction

setTypeAttributes

protected void setTypeAttributes()
This method is used to set some default values in the constructor. A separate method is used for these since the classes inherit the same constructor, but have different default values.

Overrides:
setTypeAttributes in class AssemblerInstruction

setCaseLevels

protected void setCaseLevels(int case_level)
This method will set values to determine what type checking will be used when processing operands. The user is able to set the level of case sensitivity.

Overrides:
setCaseLevels in class AssemblerInstruction
Parameters:
case_level - ALL_CASE - Everything is case sensitive except positional operands specified in lower case. DEFAULT_CASE - Upper case positional operands are case sensitive. Text after an equal sign on a keyword is case sensitive. All others are not case sensitive. NO_CASE - Nothing is case sensitive.

getPUTString

public String getPUTString()

setCurrentPUTLevel

public static void setCurrentPUTLevel(int level)

SWT LPEX
v3.0.5

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