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

pack-priv final Class LangCall

extends FunctionCall
Class Inheritance
Imports
com.sun.org.apache.bcel.internal.generic.ConstantPoolGen, .ILOAD, .INVOKESTATIC, .InstructionList, com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator, .FilterGenerator, .MethodGenerator, .StringType, .Type, .TypeCheckError, java.util.List

Author
Morten Jorgensen

Field Summary

Modifier and TypeField and Description
private Expression
private Type
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
LangCall(QName fname, List<Expression> arguments)

Get the parameters passed to function: lang(string)

Method Summary

Modifier and TypeMethod and Description
public Type
public void
translate(ClassGenerator classGen, MethodGenerator methodGen)

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

This method is called when the constructor is compiled in Stylesheet.compileConstructor() and not as the syntax tree is traversed.

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

Field Detail

_langback to summary
private Expression _lang
_langTypeback to summary
private Type _langType

Constructor Detail

LangCallback to summary
public LangCall(QName fname, List<Expression> arguments)

Get the parameters passed to function: lang(string)

Method Detail

getTypeback to summary
public Type getType()

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.Expression.getType.

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

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

This method is called when the constructor is compiled in Stylesheet.compileConstructor() and not as the syntax tree is traversed.

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

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

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

Type check a function call. Since different type conversions apply, type checking is different for standard and external (Java) functions.