All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.fge.grappa.debugger.csvtrace.CsvTraceModel Maven / Gradle / Ivy

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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy