class MatchProcessor.MatchDescriptor extends Object
Modifier and Type | Field and Description |
---|---|
(package private) MatchProcessor.MatchDescriptor[] |
inputs |
(package private) String |
name |
(package private) MatchProcessor.TypeDescriptor |
nodeType |
Constructor and Description |
---|
MatchDescriptor(MatchProcessor.TypeDescriptor nodeType,
String name,
boolean forExpression) |
Modifier and Type | Method and Description |
---|---|
private String |
formatPrefix() |
private String |
formatSuffix() |
(package private) String |
generatePositionDeclaration() |
void |
generatePositionDeclarations(Set<String> declarations) |
(package private) List<String> |
generateVariants()
Recursively generate all the variants of this rule pattern.
|
(package private) List<String> |
recurseVariants(int index) |
MatchProcessor.TypeDescriptor nodeType
MatchProcessor.MatchDescriptor[] inputs
MatchDescriptor(MatchProcessor.TypeDescriptor nodeType, String name, boolean forExpression)
public void generatePositionDeclarations(Set<String> declarations)
List<String> recurseVariants(int index)
List<String> generateVariants()
private String formatPrefix()
private String formatSuffix()
String generatePositionDeclaration()