|
JavaScript Development Tools Release 3.2 |
||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use InferredType | |
|---|---|
| org.eclipse.wst.jsdt.core.ast | |
| org.eclipse.wst.jsdt.core.infer | |
| Uses of InferredType in org.eclipse.wst.jsdt.core.ast |
|---|
| Methods in org.eclipse.wst.jsdt.core.ast that return InferredType | |
|---|---|
InferredType |
IAssignment.getInferredType()
Get the inferred type of the assignment |
InferredType |
IAbstractFunctionDeclaration.getInferredType()
Get the inferred return type for the function |
InferredType |
IReturnStatement.getInferredType()
|
InferredType |
IAbstractVariableDeclaration.getInferredType()
Get the inferred type of the var |
InferredType |
IObjectLiteral.getInferredType()
|
| Methods in org.eclipse.wst.jsdt.core.ast with parameters of type InferredType | |
|---|---|
void |
ASTVisitor.endVisit(InferredType inferredType)
|
void |
IAssignment.setInferredType(InferredType type)
Set the inferred type of the assignment |
void |
IAbstractFunctionDeclaration.setInferredType(InferredType type)
Set the inferred return type |
void |
IReturnStatement.setInferredType(InferredType type)
|
void |
IAbstractVariableDeclaration.setInferredType(InferredType type)
Set the inferred type of the var |
void |
IObjectLiteral.setInferredType(InferredType type)
|
boolean |
ASTVisitor.visit(InferredType inferredType)
|
| Uses of InferredType in org.eclipse.wst.jsdt.core.infer |
|---|
| Fields in org.eclipse.wst.jsdt.core.infer declared as InferredType | |
|---|---|
InferredType |
InferEngine.ArrayType
Deprecated. use InferEngine.getArrayType() |
InferredType |
InferEngine.BooleanType
Deprecated. use InferEngine.getBooleanType() |
InferredType |
InferEngine.FunctionType
Deprecated. use InferEngine.getFunctionType() |
InferredType |
InferEngine.GlobalType
Deprecated. - no longer used |
protected InferredType |
InferEngine.inferredGlobal
|
InferredType |
InferredMember.inType
The type to which this member belongs |
InferredType |
InferEngine.NumberType
Deprecated. use InferEngine.getNumberType() |
InferredType |
InferEngine.ObjectType
Deprecated. use InferEngine.getObjectType() |
InferredType |
InferredType.referenceClass
|
InferredType |
InferEngine.StringType
Deprecated. use InferEngine.getStringType() |
InferredType |
InferredType.superClass
The parent type of this type, or null if this type does not have a parent type
NOTE: This field should not be accessed directly, use the appropriate getter and setter. |
InferredType |
InferredAttribute.type
The type of this attribute |
InferredType |
InferEngine.VoidType
Deprecated. use InferEngine.getVoidType() |
| Methods in org.eclipse.wst.jsdt.core.infer that return InferredType | |
|---|---|
protected InferredType |
InferEngine.addType(char[] className)
|
protected InferredType |
InferEngine.addType(char[] className,
boolean isDefinition)
Create a new inferred type with the given name |
protected InferredType |
InferEngine.createAnonymousGlobalType(char[] varName)
Creates a global anonymous type. |
protected InferredType |
InferEngine.createAnonymousType(char[] possibleTypeName,
InferredType currentType)
|
protected InferredType |
InferEngine.createAnonymousType(IASTNode forNode,
InferredType parrentType)
Creates an anonymous type for a given node with an optional parent type. |
protected InferredType |
InferEngine.createAnonymousTypeForMixin(IExpression mixInto,
InferredType parentType)
|
InferredType |
InferEngine.findDefinedType(char[] className)
|
protected InferredType |
InferEngine.getArrayType()
|
protected InferredType |
InferEngine.getAttributeType(char[] attName,
IExpression receiver,
boolean defineRoot)
|
protected InferredType |
InferEngine.getBooleanType()
|
protected InferredType |
InferEngine.getFunctionType()
|
protected InferredType |
InferEngine.getInferredGlobal(boolean define)
|
protected InferredType |
InferEngine.getInferredType2(IExpression fieldReceiver)
Deprecated. - here for compatibility |
protected InferredType |
InferEngine.getNumberType()
|
protected InferredType |
InferEngine.getObjectType()
|
protected InferredType |
InferEngine.getReceiverType(IExpression receiver,
boolean defineRoot)
This method is intended to take a chain of field references and determine the type that the last field should be or is defined on. |
protected InferredType |
InferEngine.getStringType()
|
InferredType |
InferredType.getSuperType()
|
InferredType[] |
InferredType.getSynonyms()
|
protected InferredType |
InferEngine.getTypeOf(IExpression expression)
|
protected InferredType |
InferEngine.getVoidType()
|
| Methods in org.eclipse.wst.jsdt.core.infer with parameters of type InferredType | |
|---|---|
void |
InferredType.addSynonym(InferredType type)
|
protected void |
InferEngine.convertAnonymousTypeToNamed(InferredType type,
char[] newTypeName)
Converts the given anonymous type to a named global type. |
protected InferredType |
InferEngine.createAnonymousType(char[] possibleTypeName,
InferredType currentType)
|
protected InferredType |
InferEngine.createAnonymousType(IASTNode forNode,
InferredType parrentType)
Creates an anonymous type for a given node with an optional parent type. |
protected InferredType |
InferEngine.createAnonymousTypeForMixin(IExpression mixInto,
InferredType parentType)
|
protected void |
InferEngine.handleConstructor(InferredType type,
IFunctionDeclaration methodDeclaration,
int start,
int end)
|
protected void |
InferEngine.handleJSDocConstructor(InferredType type,
IFunctionDeclaration methodDeclaration,
int nameStart)
|
void |
InferredType.mixin(InferredType mixin)
Mixes an InferredType into this InferredType right now. |
void |
InferredType.mixin(InferredType mixin,
boolean isDeepCopy)
Mixes an InferredType into this InferredType. |
protected void |
InferEngine.populateType(InferredType type,
IObjectLiteral objLit,
boolean isStatic)
|
protected void |
InferEngine.renameType(InferredType type,
char[] newTypeName)
Renames the given type to the given name. |
void |
InferredType.setSuperType(InferredType superType)
Sets the super type of this type unless the given super type is itself then this is a no op |
protected void |
InferEngine.setTypeOf(IExpression expression,
InferredType type)
Sets the inferred type of the given expression to the given type. |
| Constructors in org.eclipse.wst.jsdt.core.infer with parameters of type InferredType | |
|---|---|
InferredAttribute(char[] name,
InferredType inferredType,
IASTNode definer)
|
|
InferredAttribute(char[] name,
InferredType inType,
int start,
int end)
Creates an attribute with this name in the given inferred type. |
|
InferredMethod(char[] name,
IFunctionDeclaration functionDeclaration,
InferredType inType)
|
|
|
JavaScript Development Tools Release 3.2 |
||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||