Skip to content

Commit

Permalink
Mark type-checker implementation as internal
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 609103910
  • Loading branch information
l46kok authored and copybara-github committed Feb 21, 2024
1 parent 90671c0 commit a740bbd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions checker/src/main/java/dev/cel/checker/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ java_library(
"//common",
"//common:compiler_common",
"//common:options",
"//common/annotations",
"//common/ast:expr_converter",
"//common/internal:env_visitor",
"//common/internal:errors",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
import dev.cel.common.CelSourceLocation;
import dev.cel.common.CelValidationResult;
import dev.cel.common.CelVarDecl;
import dev.cel.common.annotations.Internal;
import dev.cel.common.ast.CelExprConverter;
import dev.cel.common.internal.EnvVisitable;
import dev.cel.common.internal.EnvVisitor;
Expand All @@ -57,8 +58,12 @@
/**
* {@code CelChecker} implementation which uses the original CEL-Java APIs to provide a simple,
* consistent interface for type-checking.
*
* <p>CEL Library Internals. Do Not Use. Consumers should use {@code CelCompilerFactory} to
* instantiate a type-checker.
*/
@Immutable
@Internal
public final class CelCheckerLegacyImpl implements CelChecker, EnvVisitable {

private final CelOptions celOptions;
Expand Down

0 comments on commit a740bbd

Please sign in to comment.