FileDocCategorySizeDatePackage
RealExpr.javaAPI DocJava SE 6 API1845Tue Jun 10 00:22:28 BST 2008com.sun.org.apache.xalan.internal.xsltc.compiler

RealExpr

public final class RealExpr extends Expression
author
Jacek Ambroziak
author
Santiago Pericas-Geertsen

Fields Summary
private double
_value
Constructors Summary
public RealExpr(double value)

	_value = value;
    
Methods Summary
public java.lang.StringtoString()

	return "real-expr(" + _value + ')";
    
public voidtranslate(com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator classGen, com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator methodGen)

	ConstantPoolGen cpg = classGen.getConstantPool();
	InstructionList il = methodGen.getInstructionList();
	il.append(new PUSH(cpg, _value));
    
public com.sun.org.apache.xalan.internal.xsltc.compiler.util.TypetypeCheck(com.sun.org.apache.xalan.internal.xsltc.compiler.SymbolTable stable)

	return _type = Type.Real;