public final class StrictWarningsGuard extends WarningsGuard
WarningsGuard.Priority
Constructor and Description |
---|
StrictWarningsGuard() |
Modifier and Type | Method and Description |
---|---|
protected int |
getPriority()
The priority in which warnings guards are applied.
|
CheckLevel |
level(JSError error)
Returns a new check level for a given error.
|
protected WarningsGuard |
makeNonStrict()
Make a warnings guard that's the same as this one but with
all escalating guards turned down.
|
disables, enables
public CheckLevel level(JSError error)
WarningsGuard
level
in class WarningsGuard
error
- a reported error.protected int getPriority()
WarningsGuard
getPriority
in class WarningsGuard
protected WarningsGuard makeNonStrict()
WarningsGuard
makeNonStrict
in class WarningsGuard
Copyright © 2009-2020 Google. All Rights Reserved.