APIdia Launch Partner
Top Fields Constructors Methods
com.sun.org.apache.xalan.internal.xsltc.compiler

pack-priv final Class CastCall

extends FunctionCall
Class Inheritance
Imports
com.sun.org.apache.bcel.internal.generic.CHECKCAST, .ConstantPoolGen, .InstructionList, com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator, .ErrorMsg, .MethodGenerator, .ObjectType, .Type, .TypeCheckError, java.util.List

Author
Santiago Pericas-Geertsen

Field Summary

Modifier and TypeField and Description
private String
_className

Hides com.sun.org.apache.xalan.internal.xsltc.compiler.FunctionCall._className.

Name of the class that is the target of the cast.
private Expression
_right

A reference to the expression being casted.

Inherited from com.sun.org.apache.xalan.internal.xsltc.compiler.FunctionCall:
_thisArgumentEXSLT_COMMONEXSLT_DATETIMEEXSLT_MATHEXSLT_SETSEXSLT_STRINGSEXT_XALANEXT_XSLTCJAVA_EXT_XALANJAVA_EXT_XALAN_OLDJAVA_EXT_XSLTCNAMESPACE_FORMAT_CLASSNAMESPACE_FORMAT_CLASS_OR_PACKAGENAMESPACE_FORMAT_JAVANAMESPACE_FORMAT_PACKAGEXALAN_CLASSPACKAGE_NAMESPACE

Constructor Summary

AccessConstructor and Description
public
CastCall(QName fname, List<Expression> arguments)

Constructor.

Method Summary

Modifier and TypeMethod and Description
public void
public Type
typeCheck(SymbolTable stable)

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.FunctionCall.typeCheck.

Type check the two parameters for this function

Inherited from com.sun.org.apache.xalan.internal.xsltc.compiler.FunctionCall:
argumentargumentargumentCountgetClassNameFromUrigetNamegetSignaturegetSignaturegetSignatureisExtensionisStandardreplaceDashsetArgumentsetParsertoStringtranslateDesynthesizedtypeCheckArgstypeCheckConstructortypeCheckExternaltypeCheckStandard

Field Detail

_classNameback to summary
private String _className

Hides com.sun.org.apache.xalan.internal.xsltc.compiler.FunctionCall._className.

Name of the class that is the target of the cast. Must be a fully-qualified Java class Name.

_rightback to summary
private Expression _right

A reference to the expression being casted.

Constructor Detail

CastCallback to summary
public CastCall(QName fname, List<Expression> arguments)

Constructor.

Method Detail

translateback to summary
public void translate(ClassGenerator classGen, MethodGenerator methodGen)

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.FunctionCall.translate.

Doc from com.sun.org.apache.xalan.internal.xsltc.compiler.FunctionCall.translate.

Translate a function call. The compiled code will leave the function's return value on the JVM's stack.

typeCheckback to summary
public Type typeCheck(SymbolTable stable) throws TypeCheckError

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.FunctionCall.typeCheck.

Type check the two parameters for this function