Package com.google.javascript.jscomp
Class CodingConvention.AssertionFunctionSpec
java.lang.Object
com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec
- Enclosing interface:
CodingConvention
A description of a JavaScript function that will throw an exception when either:
- One of its parameters does not match the return type of the function
- One of its parameters is falsy. This has some special handling for expressions that the match-return-type handling does not have.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
AssertionFunctionSpec
public AssertionFunctionSpec()
-
-
Method Details
-
forTruthy
-
forMatchesReturn
-