public final class ObjectType extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
com.google.common.collect.ImmutableSet<String> |
getAllOwnProps() |
JSType |
getDeclaredProp(QualifiedName qname)
Get the declared type of the given property
|
NominalType |
getNominalType() |
JSType |
getProp(QualifiedName qname)
Get the inferred type of the given property
|
Node |
getPropDefsite(QualifiedName qname) |
boolean |
hasConstantProp(QualifiedName qname)
Return whether this type contains a constant property
|
int |
hashCode() |
boolean |
hasProp(QualifiedName qname)
Return whether this type contains a required property
|
boolean |
mayHaveProp(QualifiedName qname)
Return whether this type contains any form of property
|
String |
toString() |
public NominalType getNominalType()
public com.google.common.collect.ImmutableSet<String> getAllOwnProps()
public JSType getProp(QualifiedName qname)
public JSType getDeclaredProp(QualifiedName qname)
public Node getPropDefsite(QualifiedName qname)
public boolean mayHaveProp(QualifiedName qname)
public boolean hasProp(QualifiedName qname)
public boolean hasConstantProp(QualifiedName qname)
Copyright © 2009-2015 Google. All Rights Reserved.