private class MatchProcessor.RuleParser extends Object
Modifier and Type | Field and Description |
---|---|
private ArrayList<String> |
capturedNames |
private ArrayList<MatchProcessor.TypeDescriptor> |
capturedTypes |
private int |
current |
private MatchProcessor.MatchDescriptor |
matchDescriptor |
private Set<Element> |
originatingElements |
private Set<String> |
requiredPackages |
private String[] |
tokens |
Constructor and Description |
---|
RuleParser(String rule) |
Modifier and Type | Method and Description |
---|---|
ArrayList<String> |
capturedNames() |
ArrayList<MatchProcessor.TypeDescriptor> |
capturedTypes() |
(package private) boolean |
done() |
(package private) void |
generatePositionDeclarations(Set<String> declarations)
Recursively accumulate any required Position declarations.
|
(package private) List<String> |
generateVariants() |
(package private) String |
next() |
private MatchProcessor.MatchDescriptor |
parseExpression() |
private MatchProcessor.MatchDescriptor |
parseType(boolean forExpression) |
(package private) String |
peek(String name) |
private ArrayList<MatchProcessor.TypeDescriptor> capturedTypes
private ArrayList<String> capturedNames
private int current
private MatchProcessor.MatchDescriptor matchDescriptor
private final Set<Element> originatingElements
private Set<String> requiredPackages
RuleParser(String rule)
boolean done()
private MatchProcessor.MatchDescriptor parseExpression()
private MatchProcessor.MatchDescriptor parseType(boolean forExpression)
List<String> generateVariants()
void generatePositionDeclarations(Set<String> declarations)
public ArrayList<MatchProcessor.TypeDescriptor> capturedTypes()
public ArrayList<String> capturedNames()