diff options
| author | Michael Williamson <mike@zwobble.org> | 2023-10-22 13:27:31 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2023-10-22 13:27:31 +0100 |
| commit | 296fa6ee9ee63089603c8bb13bb7d3346f85a037 (patch) | |
| tree | 0754151b4533fd9c9c315ef361879fdc12160cdd /src/test/java/org/shedlang/compiler/ast | |
| parent | 5831a308f4d8f9e83821fffff67a2141cc76d26b (diff) | |
Add explicit visibility
Diffstat (limited to 'src/test/java/org/shedlang/compiler/ast')
| -rw-r--r-- | src/test/java/org/shedlang/compiler/ast/typed/TypedNodeMatchers.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/java/org/shedlang/compiler/ast/typed/TypedNodeMatchers.java b/src/test/java/org/shedlang/compiler/ast/typed/TypedNodeMatchers.java index dde00bca..c5a27329 100644 --- a/src/test/java/org/shedlang/compiler/ast/typed/TypedNodeMatchers.java +++ b/src/test/java/org/shedlang/compiler/ast/typed/TypedNodeMatchers.java @@ -195,16 +195,6 @@ public class TypedNodeMatchers { return TypedNamespaceNodeMatcher.empty(); } - public static Matcher<TypedNamespaceNode> isTypedNamespaceNode( - Matcher<Iterable<? extends TypedNamespaceStatementNode>> body, - Matcher<? super Iterable<? extends String>> fieldNames - ) { - return allOf( - has("body", x -> x.body(), body), - has("fieldNames", x -> x.fieldNames(), fieldNames) - ); - } - public static Matcher<TypedParamNode> isTypedParamNode( String name, Matcher<TypedTypeLevelExpressionNode<?>> type |
