public class ClassToGrammarContext extends Object
| Constructor and Description |
|---|
ClassToGrammarContext(ExecutableElement startRule,
Elements elements) |
| Modifier and Type | Method and Description |
|---|---|
Grammar |
getGrammar() |
String |
getPackageName() |
ExecutableElement |
methodOf(Rule rule) |
Symbol |
of(TypeMirror mirror) |
int |
priority(Element element,
int defaultPriority) |
Rule |
ruleOf(ExecutableElement method,
int priority) |
Rule |
ruleOf(ExecutableElement method,
int priority,
TypeMirror l,
List<TypeMirror> r) |
TypeMirror |
symbolType(Symbol symbol) |
public ClassToGrammarContext(ExecutableElement startRule, Elements elements)
public int priority(Element element, int defaultPriority)
public Symbol of(TypeMirror mirror)
public Rule ruleOf(ExecutableElement method, int priority)
public Rule ruleOf(ExecutableElement method, int priority, TypeMirror l, List<TypeMirror> r)
public Grammar getGrammar()
public TypeMirror symbolType(Symbol symbol)
public ExecutableElement methodOf(Rule rule)
public String getPackageName()
Copyright © 2020. All rights reserved.