public class ClassToTokenContext extends Object implements EnvironmentGenerator
| Constructor and Description |
|---|
ClassToTokenContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ExecutableElement method) |
void |
accept(VariableElement var) |
Set<Element> |
elementFor(TypeMirror mirror) |
void |
generate(ClassToGrammarContext context,
Filer filer) |
boolean |
isStatic() |
LexerGenerator.TokenInfo |
tokenInfoFor(ExecutableElement method) |
List<LexerGenerator.TokenInfo> |
tokenInfoFor(TypeMirror mirror) |
public void accept(VariableElement var)
accept in interface EnvironmentGeneratorpublic void generate(ClassToGrammarContext context, Filer filer) throws IOException
generate in interface EnvironmentGeneratorIOExceptionpublic void accept(ExecutableElement method)
accept in interface EnvironmentGeneratorpublic Set<Element> elementFor(TypeMirror mirror)
public LexerGenerator.TokenInfo tokenInfoFor(ExecutableElement method)
public List<LexerGenerator.TokenInfo> tokenInfoFor(TypeMirror mirror)
public boolean isStatic()
Copyright © 2020. All rights reserved.