Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
Modifier and Type | Class and Description |
---|---|
static class |
ConformanceRules.BanNullDeref
Banned dereferencing null or undefined types.
|
static class |
ConformanceRules.BanUnknownDirectThisPropsReferences
Banned unknown type references of the form "this.prop" unless
- it is immediately cast,
- it is a @template type (until template type
restricts are enabled) or
- the value is unused.
|
static class |
ConformanceRules.BanUnknownThis
Banned unknown "this" types.
|
static class |
ConformanceRules.BanUnknownTypedClassPropsReferences
Banned unknown type references of the form "instance.prop" unless
(a) it is immediately cast/asserted, or
(b) it is a @template type (until template type restrictions are enabled), or
(c) the value is unused, or
(d) the source object type is unknown (to avoid error cascades)
|
static class |
ConformanceRules.BanUnresolvedType
Banned accessing properties from objects that are unresolved
forward-declared type names.
|