// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: packimports(3) space 
// Source File Name:   MacroParameter.java

package lt.monarch.function;


// Referenced classes of package lt.monarch.function:
//            Parameter, MacroIdentifier, Node, NodeCompiler

public class MacroParameter extends Parameter
    implements MacroIdentifier
{

    public void setNode(Node node1)
    {
        node = node1;
    }

    public Node expand(Node anode[])
    {
        return node;
    }

    public double evaluate(double ad[])
    {
        return node.evaluate();
    }

    public void compileRef(NodeCompiler nodecompiler, Node anode[])
    {
        node.compile(nodecompiler);
    }

    public MacroParameter(String s)
    {
        super("$" + s);
    }

    protected Node node;
}
