home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1997 August / PCO0897.ISO / filesbbs / os2 / fp1os2.arj / OS2 / DATA / 49 / C / 0 / F_26836 / JScriptParserIdentifier.class (.txt) < prev    next >
Encoding:
Java Class File  |  1997-05-15  |  769 b   |  22 lines

  1. public class JScriptParserIdentifier extends JSbxBase {
  2.    public String aIdentifierName;
  3.  
  4.    public JScriptParserIdentifier(String var1) {
  5.       this.aIdentifierName = var1;
  6.    }
  7.  
  8.    public void GenerateCode(JScriptCodeGenParam var1, boolean var2, boolean var3) throws JScriptParserException, JSbxException {
  9.       if (var3) {
  10.          if (var2) {
  11.             var1.AddCode(new JSP_StoreInElem(this.aIdentifierName));
  12.          } else {
  13.             var1.AddCode(new JSP_Elem(this.aIdentifierName));
  14.          }
  15.       } else if (var2) {
  16.          var1.AddCode(new JSP_StoreIn(this.aIdentifierName));
  17.       } else {
  18.          var1.AddCode(new JSP_Find(this.aIdentifierName));
  19.       }
  20.    }
  21. }
  22.