public class EnumType extends Object
Modifier and Type | Method and Description |
---|---|
protected JSType |
getDeclaredProp(QualifiedName qname) |
JSType |
getEnumeratedType() |
JSType |
getObjLitType() |
protected JSType |
getProp(QualifiedName qname) |
JSType |
getPropType() |
JSTypeExpression |
getTypeExpr() |
JSTypeExpression |
getTypeExprForErrorReporting() |
protected boolean |
hasConstantProp(QualifiedName qname) |
protected boolean |
hasProp(QualifiedName qname) |
boolean |
isResolved() |
static EnumType |
make(String name,
JSTypeExpression typeExpr,
Collection<String> props) |
protected boolean |
mayHaveProp(QualifiedName qname) |
String |
toString() |
public static EnumType make(String name, JSTypeExpression typeExpr, Collection<String> props)
public boolean isResolved()
public JSType getEnumeratedType()
public JSType getPropType()
public JSType getObjLitType()
public JSTypeExpression getTypeExpr()
public JSTypeExpression getTypeExprForErrorReporting()
protected JSType getProp(QualifiedName qname)
protected JSType getDeclaredProp(QualifiedName qname)
protected boolean mayHaveProp(QualifiedName qname)
protected boolean hasProp(QualifiedName qname)
protected boolean hasConstantProp(QualifiedName qname)
Copyright © 2009–2016 Google. All rights reserved.