static class FunctionTypeBuilder.UnknownFunctionContents extends java.lang.Object implements FunctionTypeBuilder.FunctionContents
| Modifier and Type | Field and Description |
|---|---|
private static FunctionTypeBuilder.UnknownFunctionContents |
singleton |
| Constructor and Description |
|---|
UnknownFunctionContents() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static FunctionTypeBuilder.FunctionContents |
get() |
com.google.common.collect.Multiset<java.lang.String> |
getAssignedNameCounts()
Gets the number of times each variable has been assigned.
|
java.util.Set<java.lang.String> |
getEscapedQualifiedNames()
Gets a list of variables whose properties are escaped.
|
java.lang.Iterable<java.lang.String> |
getEscapedVarNames()
Gets a list of variables in this scope that are escaped.
|
Node |
getSourceNode()
Returns the source node of this function.
|
boolean |
mayBeFromExterns()
Returns if the function may be in externs.
|
boolean |
mayHaveNonEmptyReturns()
Returns if a return of a real value (not undefined) appears.
|
boolean |
mayHaveSingleThrow()
Returns if this consists of a single throw.
|
private static FunctionTypeBuilder.UnknownFunctionContents singleton
static FunctionTypeBuilder.FunctionContents get()
public Node getSourceNode()
FunctionTypeBuilder.FunctionContentsgetSourceNode in interface FunctionTypeBuilder.FunctionContentspublic boolean mayBeFromExterns()
FunctionTypeBuilder.FunctionContentsmayBeFromExterns in interface FunctionTypeBuilder.FunctionContentspublic boolean mayHaveNonEmptyReturns()
FunctionTypeBuilder.FunctionContentsmayHaveNonEmptyReturns in interface FunctionTypeBuilder.FunctionContentspublic boolean mayHaveSingleThrow()
FunctionTypeBuilder.FunctionContentsmayHaveSingleThrow in interface FunctionTypeBuilder.FunctionContentspublic java.lang.Iterable<java.lang.String> getEscapedVarNames()
FunctionTypeBuilder.FunctionContentsgetEscapedVarNames in interface FunctionTypeBuilder.FunctionContentspublic java.util.Set<java.lang.String> getEscapedQualifiedNames()
FunctionTypeBuilder.FunctionContentsgetEscapedQualifiedNames in interface FunctionTypeBuilder.FunctionContentspublic com.google.common.collect.Multiset<java.lang.String> getAssignedNameCounts()
FunctionTypeBuilder.FunctionContentsgetAssignedNameCounts in interface FunctionTypeBuilder.FunctionContents