Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
Modifier and Type | Method and Description |
---|---|
static CodingConvention.AssertionFunctionSpec |
CodingConvention.AssertionFunctionSpec.makeReturnTypeAssertion(java.lang.String functionName)
Returns an assertion function asserting the first param matches the return type
|
static CodingConvention.AssertionFunctionSpec |
CodingConvention.AssertionFunctionSpec.makeTruthyAssertion(java.lang.String functionName)
Returns a truthy assertion function on the first param
|
static CodingConvention.AssertionFunctionSpec |
CodingConvention.AssertionFunctionSpec.makeTruthyAssertion(java.lang.String functionName,
int paramIndex)
Returns an assertion function asserting the nth arg is truthy (0-indexed)
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<CodingConvention.AssertionFunctionSpec> |
CodingConvention.getAssertionFunctions()
Returns the set of AssertionFunction.
|
com.google.common.collect.ImmutableCollection<CodingConvention.AssertionFunctionSpec> |
ClosureCodingConvention.getAssertionFunctions() |
java.util.Collection<CodingConvention.AssertionFunctionSpec> |
CodingConventions.Proxy.getAssertionFunctions() |
com.google.common.collect.ImmutableCollection<CodingConvention.AssertionFunctionSpec> |
ChromeCodingConvention.getAssertionFunctions() |
Copyright © 2009-2019 Google. All Rights Reserved.