1 19 package org.netbeans.api.gsf; 20 21 import java.util.List ; 22 import org.netbeans.api.gsf.annotations.NonNull; 23 import org.netbeans.api.gsf.CompilationInfo; 24 import org.netbeans.api.gsf.annotations.NonNull; 25 import org.netbeans.api.gsf.OccurrencesFinder; 26 import org.netbeans.api.gsf.SemanticAnalyzer; 27 import org.netbeans.api.gsf.Element; 28 import org.netbeans.api.gsf.ElementHandle; 29 30 31 35 public interface Parser { 36 40 void parseFiles(@NonNull List <ParserFile> files, 41 @NonNull ParseListener listener, @NonNull SourceFileReader reader); 42 43 46 PositionManager getPositionManager(); 47 48 55 SemanticAnalyzer getSemanticAnalysisTask(); 56 57 65 OccurrencesFinder getMarkOccurrencesTask(int caretPosition); 66 67 72 <T extends Element> ElementHandle<T> createHandle(CompilationInfo info, final T element); 73 74 78 <T extends Element> T resolveHandle(CompilationInfo info, ElementHandle<T> handle); 79 } 80 | Popular Tags |