01: /*
02: * Copyright 2001 Sun Microsystems, Inc. All rights reserved.
03: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
04: */
05: package com.sun.portal.rewriter.rom.js;
06:
07: import com.sun.portal.rewriter.rom.Rule;
08:
09: public final class Variable extends JSData {
10: public Variable(final String aName) {
11: this (aName, null, null);
12: }//constructor
13:
14: public Variable(final String aName, final String aType,
15: final String aSource) {
16: super (Rule.VARIABLE, aName, aType, aSource);
17: }//constructor
18:
19: public Variable recycleMatchee(final String aVarName,
20: final int aTypeCode) {
21: setName(aVarName);
22: setTypeCode(aTypeCode);
23: return this ;
24: }//recycleMatchee()
25: }//class Variable
|