|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xalan.xsltc.compiler.util.Type org.apache.xalan.xsltc.compiler.util.VoidType
public final class VoidType
Field Summary |
---|
Fields inherited from class org.apache.xalan.xsltc.compiler.util.Type |
---|
Attribute, Boolean, Comment, Element, Int, Node, NodeSet, Object, Processing_Instruction, Real, Reference, ResultTree, Root, String, Text, Void |
Constructor Summary | |
---|---|
protected |
VoidType()
|
Method Summary | |
---|---|
boolean |
identicalTo(Type other)
Returns true if this and other are identical types. |
Instruction |
POP()
|
org.apache.bcel.generic.Type |
toJCType()
|
java.lang.String |
toSignature()
Returns the signature of an internal type's external representation. |
java.lang.String |
toString()
Returns a string representation of this type. |
void |
translateFrom(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz)
Translates an external (primitive) Java type into a void. |
void |
translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
StringType type)
Translates a void into a string by pushing the empty string ''. |
void |
translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates a void into an object of internal type type . |
Methods inherited from class org.apache.xalan.xsltc.compiler.util.Type |
---|
ADD, CMP, distanceTo, DIV, DUP, GE, getClassName, GT, implementedAsMethod, isNumber, isSimple, LE, LOAD, LT, MUL, NEG, newObjectType, newObjectType, REM, STORE, SUB, translateBox, translateTo, translateToDesynthesized, translateToDesynthesized, translateUnBox |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected VoidType()
Method Detail |
---|
public java.lang.String toString()
Type
toString
in class Type
public boolean identicalTo(Type other)
Type
identicalTo
in class Type
public java.lang.String toSignature()
Type
toSignature
in class Type
public org.apache.bcel.generic.Type toJCType()
toJCType
in class Type
public Instruction POP()
POP
in class Type
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, Type type)
type
.
This translation is needed when calling external functions
that return void.
translateTo
in class Type
Type.translateTo(org.apache.xalan.xsltc.compiler.util.ClassGenerator, org.apache.xalan.xsltc.compiler.util.MethodGenerator, org.apache.xalan.xsltc.compiler.util.Type)
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, StringType type)
Type.translateTo(org.apache.xalan.xsltc.compiler.util.ClassGenerator, org.apache.xalan.xsltc.compiler.util.MethodGenerator, org.apache.xalan.xsltc.compiler.util.Type)
public void translateFrom(ClassGenerator classGen, MethodGenerator methodGen, java.lang.Class clazz)
translateFrom
in class Type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |