com.github.fge.grappa.debugger.csvtrace.CsvTraceModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grappa-debugger Show documentation
Show all versions of grappa-debugger Show documentation
GUI application to debug grappa parsers
The newest version!
package com.github.fge.grappa.debugger.csvtrace;
import com.github.fge.grappa.debugger.GrappaDebuggerException;
import com.github.fge.grappa.debugger.model.InputText;
import com.github.fge.grappa.debugger.model.ParseInfo;
import com.github.fge.grappa.debugger.model.ParseTree;
import com.github.fge.grappa.debugger.model.ParseTreeNode;
import com.github.fge.grappa.debugger.model.db.PerClassStatistics;
import com.github.fge.grappa.debugger.model.db.MatchStatistics;
import com.github.fge.grappa.matchers.MatcherType;
import javax.annotation.Nonnull;
import java.util.List;
import java.util.Map;
public interface CsvTraceModel
{
boolean isLoadComplete();
void waitForNodes()
throws GrappaDebuggerException;
void waitForMatchers()
throws GrappaDebuggerException;
@Nonnull
ParseInfo getParseInfo();
@Nonnull
InputText getInputText()
throws GrappaDebuggerException;
@Nonnull
ParseTree getParseTree()
throws GrappaDebuggerException;
@Nonnull
List getNodeChildren(int nodeId)
throws GrappaDebuggerException;
@Nonnull
ParseTreeNode getNodeById(int id)
throws GrappaDebuggerException;
@Nonnull
Map getMatchersByType()
throws GrappaDebuggerException;
@Nonnull
List getRulesByClass()
throws GrappaDebuggerException;
@Nonnull
List getMatchStatistics();
@Nonnull
List getTopMatcherCount();
void dispose()
throws GrappaDebuggerException;
@Nonnull
Map getDepthMap(int startLine, int wantedLines)
throws GrappaDebuggerException;
}