org.apache.velocity.runtime.parser.node

Class ASTMulNode

public class ASTMulNode extends SimpleNode

Handles integer multiplication Please look at the Parser.jjt file which is what controls the generation of this class.

Version: $Id: ASTMulNode.java,v 1.7.8.1 2004/03/03 23:22:59 geirm Exp $

Author: Jason van Zyl Geir Magnusson Jr.

Constructor Summary
ASTMulNode(int id)
ASTMulNode(Parser p, int id)
Method Summary
ObjectjjtAccept(ParserVisitor visitor, Object data)
Accept the visitor.
Objectvalue(InternalContextAdapter context)
computes the product of the two args.

Constructor Detail

ASTMulNode

public ASTMulNode(int id)

ASTMulNode

public ASTMulNode(Parser p, int id)

Method Detail

jjtAccept

public Object jjtAccept(ParserVisitor visitor, Object data)
Accept the visitor. *

value

public Object value(InternalContextAdapter context)
computes the product of the two args. Returns null if either arg is null or if either arg is not an integer
Copyright B) 2002 Apache Software Foundation. All Rights Reserved.