Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
Modifier and Type | Field and Description |
---|---|
private static com.google.common.base.Predicate<TypedVar> |
TypedScope.DECLARATIVELY_UNBOUND_VARS_WITHOUT_TYPES |
private java.util.Map<java.lang.String,TypedVar> |
TypedScope.vars |
Modifier and Type | Method and Description |
---|---|
(package private) TypedVar |
TypedScope.declare(java.lang.String name,
Node nameNode,
JSType type,
CompilerInput input) |
(package private) TypedVar |
TypedScope.declare(java.lang.String name,
Node nameNode,
JSType type,
CompilerInput input,
boolean inferred) |
(package private) TypedVar |
TypeValidator.expectUndeclaredVariable(java.lang.String sourceName,
CompilerInput input,
Node n,
Node parent,
TypedVar var,
java.lang.String variableName,
JSType newType)
Expect that the given variable has not been declared with a type.
|
TypedVar |
TypedVar.getDeclaration() |
TypedVar |
TypedScope.getOwnSlot(java.lang.String name) |
TypedVar |
TypedScope.getSlot(java.lang.String name) |
TypedVar |
TypedVar.getSymbol() |
TypedVar |
TypedScope.getVar(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<TypedVar> |
MemoizedScopeCreator.getAllSymbols() |
java.lang.Iterable<TypedVar> |
TypedScope.getAllSymbols() |
java.util.Iterator<TypedVar> |
TypedScope.getDeclarativelyUnboundVarsWithoutTypes() |
java.lang.Iterable<TypedVar> |
MemoizedScopeCreator.getReferences(TypedVar var) |
java.util.Iterator<TypedVar> |
TypedScope.getVars() |
Modifier and Type | Method and Description |
---|---|
(package private) TypedVar |
TypeValidator.expectUndeclaredVariable(java.lang.String sourceName,
CompilerInput input,
Node n,
Node parent,
TypedVar var,
java.lang.String variableName,
JSType newType)
Expect that the given variable has not been declared with a type.
|
private void |
TypedScopeCreator.AbstractScopeBuilder.finishConstructorDefinition(Node n,
java.lang.String variableName,
FunctionType fnType,
TypedScope scopeToDeclareIn,
CompilerInput input,
TypedVar newVar) |
(package private) static FunctionType |
TypeValidator.getFunctionType(TypedVar v)
Utility function for getting a function type from a var.
|
(package private) static ObjectType |
TypeValidator.getInstanceOfCtor(TypedVar v)
Utility function for getting an instance type from a var pointing
to the constructor.
|
java.lang.Iterable<TypedVar> |
MemoizedScopeCreator.getReferences(TypedVar var) |
TypedScope |
MemoizedScopeCreator.getScope(TypedVar var) |
private boolean |
CheckAccessControls.isPackageAccessAllowed(TypedVar var,
Node name) |
private static boolean |
CheckAccessControls.isPrivateAccessAllowed(TypedVar var,
Node name,
Node parent) |
private boolean |
TypeInference.isUnflowable(TypedVar v) |