public class ExpressionType extends Object
| Constructor and Description |
|---|
ExpressionType(Type type) |
ExpressionType(TypeDeclaration declaration) |
ExpressionType(TypeDeclaration declaration,
ExpressionType typeParameter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
AS3Type |
getAS3Type() |
TypeDeclaration |
getDeclaration() |
ExpressionType |
getEvalType() |
Type |
getType() |
ExpressionType |
getTypeParameter() |
int |
hashCode() |
boolean |
isArrayLike() |
boolean |
isAssignableTo(ExpressionType toCheck)
Return whether the given expression type is more general than this expression type,
so that anything of this expression type could be assigned to a variable of the
given expression type.
|
boolean |
isConfigType() |
static boolean |
isNumber(AS3Type type) |
boolean |
isObject() |
void |
markAsConfigTypeIfPossible() |
IdeDeclaration |
resolvePropertyDeclaration(String memberName) |
String |
toString() |
static String |
toString(ExpressionType type) |
public ExpressionType(@Nonnull TypeDeclaration declaration)
public ExpressionType(@Nonnull TypeDeclaration declaration, @Nullable ExpressionType typeParameter)
public boolean isConfigType()
public void markAsConfigTypeIfPossible()
public ExpressionType getEvalType()
@Nonnull public TypeDeclaration getDeclaration()
@Nullable public ExpressionType getTypeParameter()
public boolean isObject()
public boolean isArrayLike()
public IdeDeclaration resolvePropertyDeclaration(String memberName)
public boolean isAssignableTo(@Nonnull ExpressionType toCheck)
toCheck - the expression type of the variable to assignpublic static boolean isNumber(AS3Type type)
public static String toString(ExpressionType type)
Copyright © 2002–2021 CoreMedia AG. All rights reserved.