| Modifier and Type | Field and Description |
|---|---|
| private static final Pattern | |
| private static final int[] | |
| private static final Pattern | |
| private static final Pattern | |
| private static final Pattern | |
| private static final Pattern |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | isFollowingArgumentsOrClosure(GroovyParser.
the preceding expression contextCheck whether following a method name of command expression. |
| public static boolean | isInvalidLocalVariableDeclaration(TokenStream ts)
Distinguish between local variable declaration and method call, e.g. `a b` |
| public static boolean | isInvalidMethodDeclaration(TokenStream ts)
Distinguish between method declaration and method call/constructor declaration |
| LETTER_AND_LEFTCURLY_PATTERN | back to summary |
|---|---|
| private static final Pattern LETTER_AND_LEFTCURLY_PATTERN | |
| MODIFIER_ARRAY | back to summary |
|---|---|
| private static final int[] MODIFIER_ARRAY | |
| NONSPACES_PATTERN | back to summary |
|---|---|
| private static final Pattern NONSPACES_PATTERN | |
| NONSURROGATE_PATTERN | back to summary |
|---|---|
| private static final Pattern NONSURROGATE_PATTERN | |
| SURROGATE_PAIR1_PATTERN | back to summary |
|---|---|
| private static final Pattern SURROGATE_PAIR1_PATTERN | |
| SURROGATE_PAIR2_PATTERN | back to summary |
|---|---|
| private static final Pattern SURROGATE_PAIR2_PATTERN | |
| SemanticPredicates | back to summary |
|---|---|
| public SemanticPredicates() | |
| isFollowedBy | back to summary |
|---|---|
| public static boolean isFollowedBy(CharStream cs, char... chars) | |
| isFollowedByJavaLetterInGString | back to summary |
|---|---|
| public static boolean isFollowedByJavaLetterInGString(CharStream cs) | |
| isFollowedByWhiteSpaces | back to summary |
|---|---|
| public static boolean isFollowedByWhiteSpaces(CharStream cs) | |
| isFollowingArgumentsOrClosure | back to summary |
|---|---|
| public static boolean isFollowingArgumentsOrClosure(GroovyParser. Check whether following a method name of command expression. Method name should not end with "2: arguments" and "3: closure"
| |
| isInvalidLocalVariableDeclaration | back to summary |
|---|---|
| public static boolean isInvalidLocalVariableDeclaration(TokenStream ts) Distinguish between local variable declaration and method call, e.g. `a b` | |
| isInvalidMethodDeclaration | back to summary |
|---|---|
| public static boolean isInvalidMethodDeclaration(TokenStream ts) Distinguish between method declaration and method call/constructor declaration | |