Package | Description |
---|---|
org.apache.xalan.xsltc.compiler | |
org.apache.xalan.xsltc.compiler.util |
Modifier and Type | Method and Description |
---|---|
Type |
LocationPathPattern.typeCheck(org.apache.xalan.xsltc.compiler.SymbolTable stable) |
abstract Type |
SyntaxTreeNode.typeCheck(org.apache.xalan.xsltc.compiler.SymbolTable stable)
Type check the children of this node.
|
abstract Type |
Pattern.typeCheck(org.apache.xalan.xsltc.compiler.SymbolTable stable)
Returns the type of a pattern, which is always a
NodeType . |
Type |
Template.typeCheck(org.apache.xalan.xsltc.compiler.SymbolTable stable) |
Type |
Stylesheet.typeCheck(org.apache.xalan.xsltc.compiler.SymbolTable stable)
Type check all the children of this node.
|
protected Type |
SyntaxTreeNode.typeCheckContents(org.apache.xalan.xsltc.compiler.SymbolTable stable)
Call typeCheck() on all child syntax tree nodes.
|
Modifier and Type | Class and Description |
---|---|
class |
BooleanType |
class |
IntType |
class |
MethodType |
class |
NodeSetType |
class |
NodeType |
class |
NumberType |
class |
ObjectType |
class |
RealType |
class |
ReferenceType |
class |
ResultTreeType |
class |
StringType |
class |
VoidType |
Modifier and Type | Field and Description |
---|---|
static Type |
Type.Attribute |
static Type |
Type.Boolean |
static Type |
Type.Comment |
static Type |
Type.Element |
static Type |
Type.Int |
static Type |
Type.Node |
static Type |
Type.NodeSet |
static Type |
Type.Object |
static Type |
Type.Processing_Instruction |
static Type |
Type.Real |
static Type |
Type.Reference |
static Type |
Type.ResultTree |
static Type |
Type.Root |
static Type |
Type.String |
static Type |
Type.Text |
static Type |
Type.Void |
Modifier and Type | Method and Description |
---|---|
static Type |
Type.newObjectType(Class clazz)
Factory method to instantiate object types.
|
static Type |
Type.newObjectType(String javaClassName)
Factory method to instantiate object types.
|
Type |
MethodType.resultType() |
Modifier and Type | Method and Description |
---|---|
int |
Type.distanceTo(Type type)
Returns the distance between two types.
|
int |
IntType.distanceTo(Type type) |
int |
RealType.distanceTo(Type type) |
int |
MethodType.distanceTo(Type other) |
boolean |
NodeType.identicalTo(Type other) |
boolean |
ResultTreeType.identicalTo(Type other) |
boolean |
NodeSetType.identicalTo(Type other) |
abstract boolean |
Type.identicalTo(Type other)
Returns true if this and other are identical types.
|
boolean |
BooleanType.identicalTo(Type other) |
boolean |
IntType.identicalTo(Type other) |
boolean |
RealType.identicalTo(Type other) |
boolean |
ObjectType.identicalTo(Type other) |
boolean |
ReferenceType.identicalTo(Type other) |
boolean |
MethodType.identicalTo(Type other) |
boolean |
VoidType.identicalTo(Type other) |
boolean |
StringType.identicalTo(Type other) |
void |
NodeType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates a node 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 |
NodeSetType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates a node-set 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 |
BooleanType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates a real 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 |
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 |
ReferenceType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates a reference to an object of internal type
type . |
void |
VoidType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates a void into an object of internal type
type . |
void |
StringType.translateTo(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates a string into an object of internal type
type . |
FlowList |
Type.translateToDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen,
Type type)
Translates object of this type to an object of type
type . |
Constructor and Description |
---|
MethodType(Type resultType) |
MethodType(Type resultType,
Type arg1) |
MethodType(Type resultType,
Type arg1,
Type arg2) |
MethodType(Type resultType,
Type arg1,
Type arg2,
Type arg3) |
MethodType(Type resultType,
Vector argsType) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.