public override void EnterClassBody(JavaParser.ClassBodyContext context) { ClassBodyDeclarationListener classBodyDeclarationListener = new ClassBodyDeclarationListener(parentClass); foreach (JavaParser.ClassBodyDeclarationContext classBodyDeclarationContext in context.classBodyDeclaration()) { classBodyDeclarationContext.EnterRule(classBodyDeclarationListener); } }
public override void EnterClassBody(JavaParser.ClassBodyContext context) { ClassBodyDeclarationListener classBodyDeclarationListener = new ClassBodyDeclarationListener(parentClass, package, packageFqn); foreach (JavaParser.ClassBodyDeclarationContext classBodyDeclarationContext in context.classBodyDeclaration()) { classBodyDeclarationContext.EnterRule(classBodyDeclarationListener); } MethodInfos = classBodyDeclarationListener.MethodInfos; FieldInfos = classBodyDeclarationListener.FieldInfos; InnerClasses = classBodyDeclarationListener.InnerClasses; }
public Ust VisitClassBody(JavaParser.ClassBodyContext context) { return(VisitChildren(context)); }