You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/twg2/parser/codeParser/tools/CodeTokenEnumSubSet.java
+9-1
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
importtwg2.parser.fragment.CodeToken;
7
7
importtwg2.parser.fragment.CodeTokenType;
8
8
9
-
/**
9
+
/** An {@link EnumSubSet} for {@link CodeTokenType}
10
10
* @author TeamworkGuy2
11
11
* @since 2016-4-12
12
12
*/
@@ -31,6 +31,10 @@ public CodeTokenEnumSubSet(CodeTokenType expectedType, Iterable<E> enums, Predic
31
31
}
32
32
33
33
34
+
/** Check whether a {@link CodeToken}'s type matches the expected type of this enum subset and the the CodeToken's text is contained in this enum subset
35
+
* @param node check the CodeToken's {@link CodeToken#getText()}
36
+
* @return whether the token text is found in this enum subset
0 commit comments