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