|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectagg.parser.AbstractParser
agg.parser.ExcludeParser
agg.parser.SimpleExcludeParser
public class SimpleExcludeParser
This class provides a parser which needs critical pairs. The critical pair
must be ExcludePair
. So objects has to be instanciated with
ExcludePairContainer
. To be independent of a grammar it is
necessary to instanciate an object with a host graph and stop graph
seperately.
Field Summary |
---|
Fields inherited from class agg.parser.ExcludeParser |
---|
correct, stack, stop |
Fields inherited from class agg.parser.AbstractParser |
---|
delay, grammar, graph, listener, pairContainer, stopGraph |
Constructor Summary | |
---|---|
SimpleExcludeParser(GraGra grammar,
Graph hostGraph,
Graph stopGraph,
ExcludePairContainer excludeContainer)
Creates a new parser that is a little bit simpler than a ExcludeParser . |
Method Summary | |
---|---|
boolean |
parse()
Starts the parser. |
Methods inherited from class agg.parser.ExcludeParser |
---|
finalize, findInclusions, isMatchCritic, makeLightContainer, run, stop, wasStopped |
Methods inherited from class agg.parser.AbstractParser |
---|
addParserEventListener, applyRule, findMatch, findMatch, fireParserEvent, getGraph, getHostGraph, getStopGraph, parseString, printGraph, printImageGraph, removeParserEventListener, setCriticalPairs, setDelayAfterApplyRule, setGrammar, setHostGraph, setStopGraph |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleExcludeParser(GraGra grammar, Graph hostGraph, Graph stopGraph, ExcludePairContainer excludeContainer)
ExcludeParser
.
grammar
- The graph grammar.hostGraph
- The host graph.stopGraph
- The stop graph.excludeContainer
- The critical pairs.Method Detail |
---|
public boolean parse()
parse
in interface Parser
parse
in class ExcludeParser
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |