|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MethodGenerator | |
---|---|
org.apache.xalan.xsltc.compiler | |
org.apache.xalan.xsltc.compiler.util |
Uses of MethodGenerator in org.apache.xalan.xsltc.compiler |
---|
Methods in org.apache.xalan.xsltc.compiler that return MethodGenerator | |
---|---|
private static MethodGenerator |
Sort.compileExtract(java.util.Vector sortObjects,
NodeSortRecordGenerator sortRecord,
ConstantPoolGen cpg,
java.lang.String className)
Compiles a method that overloads NodeSortRecord.extractValueFromDOM() |
private static MethodGenerator |
Sort.compileInit(java.util.Vector sortObjects,
NodeSortRecordGenerator sortRecord,
ConstantPoolGen cpg,
java.lang.String className)
Create a constructor for the new class. |
Methods in org.apache.xalan.xsltc.compiler with parameters of type MethodGenerator | |
---|---|
InstructionList |
TopLevelElement.compile(ClassGenerator classGen,
MethodGenerator methodGen)
Translate this node into a fresh instruction list. |
InstructionList |
Expression.compile(ClassGenerator classGen,
MethodGenerator methodGen)
Translate this node into a fresh instruction list. |
InstructionHandle |
TestSeq.compile(ClassGenerator classGen,
MethodGenerator methodGen,
InstructionHandle continuation)
Compile the code for this test sequence. |
private void |
Number.compileDefault(ClassGenerator classGen,
MethodGenerator methodGen)
|
private InstructionList |
Mode.compileDefaultRecursion(ClassGenerator classGen,
MethodGenerator methodGen,
InstructionHandle next)
Compiles the default handling for DOM elements: traverse all children |
private InstructionList |
Mode.compileDefaultText(ClassGenerator classGen,
MethodGenerator methodGen,
InstructionHandle next)
Compiles the default action for DOM text nodes and attribute nodes: output the node's text value |
private void |
Predicate.compileFilter(ClassGenerator classGen,
MethodGenerator methodGen)
Create a new "Filter" class implementing CurrentNodeListFilter . |
static void |
Mode.compileGetChildren(ClassGenerator classGen,
MethodGenerator methodGen,
int node)
|
private InstructionList |
Mode.compileNamespaces(ClassGenerator classGen,
MethodGenerator methodGen,
boolean[] isNamespace,
boolean[] isAttribute,
boolean attrFlag,
InstructionHandle defaultTarget)
|
private void |
Number.compilePatterns(ClassGenerator classGen,
MethodGenerator methodGen)
|
protected void |
SyntaxTreeNode.compileResultTree(ClassGenerator classGen,
MethodGenerator methodGen)
Utility method used by parameters and variables to store result trees |
private static java.lang.String |
Sort.compileSortRecord(java.util.Vector sortObjects,
ClassGenerator classGen,
MethodGenerator methodGen)
Create a new auxillary class extending NodeSortRecord. |
static void |
Sort.compileSortRecordFactory(java.util.Vector sortObjects,
ClassGenerator classGen,
MethodGenerator methodGen)
Compiles code that instantiates a NodeSortRecordFactory object which will produce NodeSortRecord objects of a specific type. |
static java.lang.String |
Sort.compileSortRecordFactory(java.util.Vector sortObjects,
ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.String sortRecordClass)
|
private void |
Mode.compileTemplateCalls(ClassGenerator classGen,
MethodGenerator methodGen,
InstructionHandle next,
int min,
int max)
|
private void |
Mode.compileTemplates(ClassGenerator classGen,
MethodGenerator methodGen,
InstructionHandle next)
|
void |
Expression.desynthesize(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
Variable.initialize(ClassGenerator classGen,
MethodGenerator methodGen)
This method is part of a little trick that is needed to use local variables inside nested for-each loops. |
void |
ForEach.initializeVariables(ClassGenerator classGen,
MethodGenerator methodGen)
The code that is generated by nested for-each loops can appear to some JVMs as if it is accessing un-initialized variables. |
void |
Text.loadAsArrayOffsetLength(ClassGenerator classGen,
MethodGenerator methodGen)
Generates code that loads the array that will contain the character data represented by this Text node, followed by the offset of the data from the start of the array, and then the length of the data. |
void |
VariableBase.mapRegister(MethodGenerator methodGen)
Map this variable to a register |
private void |
Stylesheet.peepHoleOptimization(MethodGenerator methodGen)
Peephole optimization: Remove sequences of [ALOAD, POP]. |
private void |
Mode.peepHoleOptimization(MethodGenerator methodGen)
Peephole optimization. |
void |
Expression.startIterator(ClassGenerator classGen,
MethodGenerator methodGen)
If this expression is of type node-set and it is not a variable reference, then call setStartNode() passing the context node. |
void |
Expression.synthesize(ClassGenerator classGen,
MethodGenerator methodGen)
Synthesize a boolean expression, i.e., either push a 0 or 1 onto the operand stack for the next statement to succeed. |
void |
XslElement.translate(ClassGenerator classGen,
MethodGenerator methodGen)
At runtime the compilation of xsl:element results in code that: (i) evaluates the avt for the name, (ii) checks for a prefix in the name (iii) generates a new prefix and create a new qname when necessary (iv) calls startElement() on the handler (v) looks up a uri in the XML when the prefix is not known at compile time (vi) calls namespace() on the handler (vii) evaluates the contents (viii) calls endElement(). |
void |
XslAttribute.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
WithParam.translate(ClassGenerator classGen,
MethodGenerator methodGen)
This code generates a sequence of bytecodes that call the addParameter() method in AbstractTranslet. |
void |
Whitespace.translate(ClassGenerator classGen,
MethodGenerator methodGen)
This method should not produce any code |
void |
When.translate(ClassGenerator classGen,
MethodGenerator methodGen)
This method should never be called. |
void |
VariableRef.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
Variable.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
ValueOf.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
UseAttributeSets.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Generate a call to the method compiled for this attribute set |
void |
UnsupportedElement.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Translate the fallback element (if any). |
void |
UnresolvedRef.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
UnparsedEntityUriCall.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
UnionPathExpr.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
UnaryOpExpr.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
TransletOutput.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Compile code that opens the give file for output, dumps the contents of the element to the file, then closes the file. |
void |
TopLevelElement.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Translate this node into JVM bytecodes. |
void |
Text.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
Template.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
abstract void |
SyntaxTreeNode.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Translate this abstract syntax tree node into JVM bytecodes. |
void |
Stylesheet.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Translate the stylesheet into JVM bytecodes. |
void |
StringLengthCall.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
StringCall.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
StepPattern.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
Step.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Translate a step by pushing the appropriate iterator onto the stack. |
void |
StartsWithCall.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Compile the expression - leave boolean expression on stack |
void |
Sort.translate(ClassGenerator classGen,
MethodGenerator methodGen)
This method should not produce any code |
void |
SimpleAttributeValue.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Translate this attribute value into JVM bytecodes that pushes the attribute value onto the JVM's stack. |
void |
RoundCall.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
RelationalExpr.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
RealExpr.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
ProcessingInstructionPattern.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
ProcessingInstruction.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
Predicate.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Translate a predicate expression. |
void |
PositionCall.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
abstract void |
Pattern.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Translate this node into JVM bytecodes. |
void |
ParentPattern.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
ParentLocationPath.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
ParameterRef.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
Param.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
Output.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Compile code that passes the information in this |
void |
Otherwise.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
NumberCall.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
Number.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
NotCall.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
NamespaceUriCall.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Translate code that leaves a node's namespace URI (as a String) on the stack |
void |
NamespaceAlias.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
NameCall.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Translate code that leaves a node's QName (as a String) on the stack |
void |
NameBase.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Translate the code required for getting the node for which the QName, local-name or namespace URI should be extracted. |
void |
Message.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
LogicalExpr.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Compile the expression - leave boolean expression on stack |
void |
LocationPathPattern.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
LocalNameCall.translate(ClassGenerator classGen,
MethodGenerator methodGen)
This method is called when the constructor is compiled in Stylesheet.compileConstructor() and not as the syntax tree is traversed. |
void |
LiteralExpr.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
LiteralElement.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Compiles code that emits the literal element to the output handler, first the start tag, then namespace declaration, then attributes, then the element contents, and then the element end tag. |
void |
LiteralAttribute.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
LastCall.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
LangCall.translate(ClassGenerator classGen,
MethodGenerator methodGen)
This method is called when the constructor is compiled in Stylesheet.compileConstructor() and not as the syntax tree is traversed. |
void |
KeyCall.translate(ClassGenerator classGen,
MethodGenerator methodGen)
This method is called when the constructor is compiled in Stylesheet.compileConstructor() and not as the syntax tree is traversed. |
void |
Key.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Gather all nodes that match the expression in the attribute "match" and add one (or more) entries in this key's index. |
void |
IntExpr.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
Instruction.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Translate this node into JVM bytecodes. |
void |
Include.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
Import.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
If.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Translate the "test" expression and contents of this element. |
void |
IdKeyPattern.translate(ClassGenerator classGen,
MethodGenerator methodGen)
This method is called when the constructor is compiled in Stylesheet.compileConstructor() and not as the syntax tree is traversed. |
void |
GenerateIdCall.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
FunctionCall.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Translate a function call. |
void |
FunctionAvailableCall.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Calls to 'function-available' are resolved at compile time since the namespaces declared in the stylsheet are not available at run time. |
void |
FormatNumberCall.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
ForEach.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
FloorCall.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
FilterParentPath.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
FilterExpr.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Translate a filter expression by pushing the appropriate iterator onto the stack. |
void |
FilteredAbsoluteLocationPath.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
Fallback.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Translate contents only if this fallback element is put in place of some unsupported element or non-XSLTC extension element |
void |
Expression.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Translate this node into JVM bytecodes. |
void |
EqualityExpr.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
ElementAvailableCall.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Calls to 'element-available' are resolved at compile time since the namespaces declared in the stylsheet are not available at run time. |
void |
DocumentCall.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Translates the document() function call to a call to LoadDocument()'s static method document(). |
void |
DecimalFormatting.translate(ClassGenerator classGen,
MethodGenerator methodGen)
This method is called when the constructor is compiled in Stylesheet.compileConstructor() and not as the syntax tree is traversed. |
void |
CurrentCall.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
CopyOf.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
Copy.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
ContainsCall.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Compile the expression - leave boolean expression on stack |
void |
ConcatCall.translate(ClassGenerator classGen,
MethodGenerator methodGen)
translate leaves a String on the stack |
void |
Comment.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
Choose.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Translate this Choose element. |
void |
CeilingCall.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
CastExpr.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
CastCall.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
CallTemplate.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
BooleanExpr.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
BooleanCall.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
BinOpExpr.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
AttributeValueTemplate.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
AttributeSet.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Compile a method that outputs the attributes in this set |
void |
ApplyTemplates.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Translate call-template. |
void |
ApplyImports.translate(ClassGenerator classGen,
MethodGenerator methodGen)
Translate call-template. |
void |
AncestorPattern.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
AlternativePattern.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
AbsolutePathPattern.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
AbsoluteLocationPath.translate(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
Sort.translateCaseOrder(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
XslElement.translateContents(ClassGenerator classGen,
MethodGenerator methodGen)
Override this method to make sure that xsl:attributes are not copied to output if this xsl:element is to be ignored |
protected void |
SyntaxTreeNode.translateContents(ClassGenerator classGen,
MethodGenerator methodGen)
Call translate() on all child syntax tree nodes. |
static void |
DecimalFormatting.translateDefaultDFS(ClassGenerator classGen,
MethodGenerator methodGen)
Creates the default, nameless, DecimalFormat object in AbstractTranslet's format_symbols hashtable. |
void |
RelationalExpr.translateDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
NotCall.translateDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
LogicalExpr.translateDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen)
Compile expression and update true/false-lists |
void |
FunctionCall.translateDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen)
Compile the function call and treat as an expression Update true/false-lists. |
void |
Expression.translateDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen)
Redefined by expressions of type boolean that use flow lists. |
void |
EqualityExpr.translateDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
ContainsCall.translateDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen)
Compile expression and update true/false-lists |
void |
CastExpr.translateDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
BooleanExpr.translateDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
Predicate.translateFilter(ClassGenerator classGen,
MethodGenerator methodGen)
Translate a predicate expression. |
private void |
StepPattern.translateGeneralContext(ClassGenerator classGen,
MethodGenerator methodGen)
|
private void |
StepPattern.translateKernel(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
Sort.translateLang(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
XslElement.translateLiteral(ClassGenerator classGen,
MethodGenerator methodGen)
This method is called when the name of the element is known at compile time. |
private void |
StepPattern.translateNoContext(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
Step.translatePredicates(ClassGenerator classGen,
MethodGenerator methodGen)
Translate a sequence of predicates. |
void |
FilterExpr.translatePredicates(ClassGenerator classGen,
MethodGenerator methodGen)
Translate a sequence of predicates. |
void |
Sort.translateSelect(ClassGenerator classGen,
MethodGenerator methodGen)
This method compiles code for the select expression for this xsl:sort element. |
private void |
StepPattern.translateSimpleContext(ClassGenerator classGen,
MethodGenerator methodGen)
|
static void |
Sort.translateSortIterator(ClassGenerator classGen,
MethodGenerator methodGen,
Expression nodeSet,
java.util.Vector sortObjects)
Compiles code that instantiates a SortingIterator object. |
void |
Sort.translateSortOrder(ClassGenerator classGen,
MethodGenerator methodGen)
|
void |
Sort.translateSortType(ClassGenerator classGen,
MethodGenerator methodGen)
These two methods are needed in the static methods that compile the overloaded NodeSortRecord.compareType() and NodeSortRecord.sortOrder() |
void |
WithParam.translateValue(ClassGenerator classGen,
MethodGenerator methodGen)
Compile the value of the parameter, which is either in an expression in a 'select' attribute, or in the with-param element's body |
void |
VariableBase.translateValue(ClassGenerator classGen,
MethodGenerator methodGen)
Compile the value of the variable, which is either in an expression in a 'select' attribute, or in the variable elements body |
void |
Key.traverseNodeSet(ClassGenerator classGen,
MethodGenerator methodGen,
int buildKeyIndex)
This method is called if the "use" attribute of the key contains a node set. |
void |
VariableBase.unmapRegister(MethodGenerator methodGen)
Remove the mapping of this variable to a register. |
Uses of MethodGenerator in org.apache.xalan.xsltc.compiler.util |
---|
Subclasses of MethodGenerator in org.apache.xalan.xsltc.compiler.util | |
---|---|
class |
AttributeSetMethodGenerator
|
class |
CompareGenerator
|
class |
MatchGenerator
|
class |
NamedMethodGenerator
This class is used for named templates. |
class |
RtMethodGenerator
This class is used for result trees implemented as methods. |
class |
TestGenerator
|
Methods in org.apache.xalan.xsltc.compiler.util with parameters of type MethodGenerator | |
---|---|
void |
ClassGenerator.addMethod(MethodGenerator methodGen)
|
private void |
NodeSetType.getFirstNode(ClassGenerator classGen,
MethodGenerator methodGen)
Some type conversions require gettting the first node from the node-set. |
void |
Type.translateBox(ClassGenerator classGen,
MethodGenerator methodGen)
Translates an object of this type to its boxed representation. |
void |
StringType.translateBox(ClassGenerator classGen,
MethodGenerator methodGen)
Translates an object of this type to its boxed representation. |
void |
ResultTreeType.translateBox(ClassGenerator classGen,
MethodGenerator methodGen)
Translates an object of this type to its boxed representation. |
void |
ReferenceType.translateBox(ClassGenerator classGen,
MethodGenerator methodGen)
Translates an object of this type to its boxed representation. |
void |
RealType.translateBox(ClassGenerator classGen,
MethodGenerator methodGen)
Translates an object of this type to its boxed representation. |
void |
NodeType.translateBox(ClassGenerator classGen,
MethodGenerator methodGen)
Translates an object of this type to its boxed representation. |
void |
NodeSetType.translateBox(ClassGenerator classGen,
MethodGenerator methodGen)
Translates an object of this type to its boxed representation. |
void |
IntType.translateBox(ClassGenerator classGen,
MethodGenerator methodGen)
Translates an object of this type to its boxed representation. |
void |
BooleanType.translateBox(ClassGenerator classGen,
MethodGenerator methodGen)
Translates an object of this type to its boxed representation. |
void |
VoidType.translateFrom(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz)
Translates an external (primitive) Java type into a void. |
void |
Type.translateFrom(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz)
Translates an external (Java) type denoted by clazz to
an object of this type. |
void |
StringType.translateFrom(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz)
Translates an external (primitive) Java type into a string. |
void |
ReferenceType.translateFrom(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz)
Translates an external Java type into a reference. |
void |
RealType.translateFrom(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz)
Translates an external (primitive) Java type into a real. |
void |
ObjectType.translateFrom(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz)
Translates an external Java type into an Object type |
void |
NodeSetType.translateFrom(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz)
Translates an external Java Class into an internal type. |
void |
BooleanType.translateFrom(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz)
Translates an external (Java) boolean into internal boolean. |
void |
StringType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type)
Translates a string into a synthesized boolean. |
void |
ResultTreeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type)
Expects an result tree on the stack and pushes a boolean. |
void |
ReferenceType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type)
Translates a reference to an object of internal type type . |
void |
RealType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type)
Expects a real on the stack and pushes a 0 if that number is 0.0 and a 1 otherwise. |
void |
NodeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type)
Translates a node into a synthesized boolean. |
void |
NodeSetType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type)
Translates a node-set into a synthesized boolean. |
void |
IntType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type)
Expects an integer on the stack and pushes a 0 if its value is 0 and a 1 otherwise. |
void |
Type.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz)
Translates an object of this type to the external (Java) type denoted by clazz . |
void |
StringType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz)
Translates a internal string into an external (Java) string. |
void |
ResultTreeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz)
Translates a result tree to a Java type denoted by clazz . |
void |
ReferenceType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz)
Translates a reference into the Java type denoted by clazz . |
void |
RealType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz)
Translates a real into the Java type denoted by clazz . |
void |
ObjectType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz)
Translates an object of this type to the external (Java) type denoted by clazz . |
void |
NodeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz)
Translates a node into the Java type denoted by clazz . |
void |
NodeSetType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz)
Translates a node-set into the Java type denoted by clazz . |
void |
IntType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz)
Translates an integer into the Java type denoted by clazz . |
void |
BooleanType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
java.lang.Class clazz)
Translates an internal boolean into an external (Java) boolean. |
void |
RealType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
IntType type)
Expects a real on the stack and pushes a truncated integer value |
void |
ResultTreeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
NodeSetType type)
Expects a result tree on the stack and pushes a node-set (iterator). |
void |
ReferenceType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
NodeSetType type)
Casts a reference into a NodeIterator. |
void |
NodeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
NodeSetType type)
Expects a node on the stack and pushes a singleton node-set. |
void |
ReferenceType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
NodeType type)
Casts a reference into a Node. |
void |
NodeSetType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
NodeType type)
Expects a node-set on the stack and pushes a node. |
void |
ResultTreeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ObjectType type)
Subsume result tree into ObjectType. |
void |
ReferenceType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ObjectType type)
Subsume reference into ObjectType. |
void |
NodeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ObjectType type)
Subsume Node into ObjectType. |
void |
NodeSetType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ObjectType type)
Subsume node-set into ObjectType. |
void |
StringType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
RealType type)
Translates a string into a real by calling stringToReal() from the basis library. |
void |
ResultTreeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
RealType type)
Expects an result tree on the stack and pushes a real. |
void |
ReferenceType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
RealType type)
Translates a reference into an object of internal type type . |
void |
NodeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
RealType type)
Expects a node on the stack and pushes a real. |
void |
NodeSetType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
RealType type)
Expects a node-set on the stack and pushes a real. |
void |
IntType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
RealType type)
Expects an integer on the stack and pushes a real. |
void |
BooleanType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
RealType type)
Expects a boolean on the stack and pushes a real. |
void |
StringType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ReferenceType type)
Expects a string on the stack and pushes a boxed string. |
void |
ResultTreeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ReferenceType type)
Expects a result tree on the stack and pushes a boxed result tree. |
void |
RealType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ReferenceType type)
Expects a double on the stack and pushes a boxed double. |
void |
NodeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ReferenceType type)
Expects a node on the stack and pushes a boxed node. |
void |
NodeSetType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ReferenceType type)
Expects a node-set on the stack and pushes a boxed node-set. |
void |
IntType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ReferenceType type)
Expects an integer on the stack and pushes a boxed integer. |
void |
BooleanType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ReferenceType type)
Expects a boolean on the stack and pushes a boxed boolean. |
void |
ReferenceType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
ResultTreeType type)
Casts a reference into a ResultTree. |
void |
VoidType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
StringType type)
Translates a void into a string by pushing the empty string ''. |
void |
ResultTreeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
StringType type)
Expects an result tree on the stack and pushes a string. |
void |
ReferenceType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
StringType type)
Translates reference into object of internal type type . |
void |
RealType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
StringType type)
Expects a real on the stack and pushes its string value by calling Double.toString(double d) . |
void |
ObjectType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
StringType type)
Expects an integer on the stack and pushes its string value by calling Integer.toString(int i) . |
void |
NodeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
StringType type)
Expects a node on the stack and pushes its string value. |
void |
NodeSetType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
StringType type)
Translates a node-set into a string. |
void |
IntType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
StringType type)
Expects an integer on the stack and pushes its string value by calling Integer.toString(int i) . |
void |
BooleanType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
StringType type)
Expects a boolean on the stack and pushes a string. |
void |
VoidType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates a void into an object of internal type type . |
void |
Type.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates an object of this type to an object of type type . |
void |
StringType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates a string into an object of internal type type . |
void |
ResultTreeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates a result tree to object of internal type type . |
void |
ReferenceType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates a reference to an object of internal type type . |
void |
RealType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates a real into an object of internal type type . |
void |
ObjectType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates a void into an object of internal type type . |
void |
NodeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates a node into an object of internal type type . |
void |
NodeSetType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates a node-set into an object of internal type type . |
void |
IntType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates an integer into an object of internal type type . |
void |
BooleanType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates a real into an object of internal type type . |
FlowList |
Type.translateToDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type)
Translates an object of this type to an non-synthesized boolean. |
FlowList |
StringType.translateToDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type)
Translates a string into a non-synthesized boolean. |
FlowList |
ResultTreeType.translateToDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type)
Translates a result tree into a non-synthesized boolean. |
FlowList |
ReferenceType.translateToDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type)
Expects a reference on the stack and translates it to a non-synthesized boolean. |
FlowList |
RealType.translateToDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type)
Translates a real into a non-synthesized boolean. |
FlowList |
NodeType.translateToDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type)
Translates a node into a non-synthesized boolean. |
FlowList |
NodeSetType.translateToDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type)
Translates a node-set into a non-synthesized boolean. |
FlowList |
IntType.translateToDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen,
BooleanType type)
Expects an integer on the stack and translates it to a non-synthesized boolean. |
FlowList |
Type.translateToDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates object of this type to an object of type type . |
void |
Type.translateUnBox(ClassGenerator classGen,
MethodGenerator methodGen)
Translates an object of this type to its unboxed representation. |
void |
StringType.translateUnBox(ClassGenerator classGen,
MethodGenerator methodGen)
Translates an object of this type to its unboxed representation. |
void |
ResultTreeType.translateUnBox(ClassGenerator classGen,
MethodGenerator methodGen)
Translates an object of this type to its unboxed representation. |
void |
ReferenceType.translateUnBox(ClassGenerator classGen,
MethodGenerator methodGen)
Translates an object of this type to its unboxed representation. |
void |
RealType.translateUnBox(ClassGenerator classGen,
MethodGenerator methodGen)
Translates an object of this type to its unboxed representation. |
void |
NodeType.translateUnBox(ClassGenerator classGen,
MethodGenerator methodGen)
Translates an object of this type to its unboxed representation. |
void |
NodeSetType.translateUnBox(ClassGenerator classGen,
MethodGenerator methodGen)
Translates an object of this type to its unboxed representation. |
void |
IntType.translateUnBox(ClassGenerator classGen,
MethodGenerator methodGen)
Translates an object of this type to its unboxed representation. |
void |
BooleanType.translateUnBox(ClassGenerator classGen,
MethodGenerator methodGen)
Translates an object of this type to its unboxed representation. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |