| Modifier and Type | Method and Description |
|---|---|
Set<Nonterminal> |
Grammar.getAllLeftHandSides() |
| Modifier and Type | Method and Description |
|---|---|
GrammarBuilder |
GrammarBuilder.addCollapsedRule(Nonterminal lhs,
CollapsedHeapConfiguration rhs) |
GrammarBuilder |
GrammarBuilder.addRule(Nonterminal lhs,
HeapConfiguration rhs) |
GrammarBuilder |
GrammarBuilder.addRules(Nonterminal lhs,
Collection<HeapConfiguration> rightHandSides) |
Set<CollapsedHeapConfiguration> |
Grammar.getCollapsedRightHandSidesFor(Nonterminal nonterminal) |
Set<HeapConfiguration> |
Grammar.getRightHandSidesFor(Nonterminal nonterminal)
Gets all rule graphs of rules with the specified left hand side.
|
| Modifier and Type | Method and Description |
|---|---|
GrammarBuilder |
GrammarBuilder.addRules(Map<Nonterminal,? extends Collection<HeapConfiguration>> newRules) |
| Modifier and Type | Method and Description |
|---|---|
HeapConfiguration |
CanonicalizationHelper.tryReplaceMatching(HeapConfiguration toAbstract,
CollapsedHeapConfiguration rhs,
Nonterminal lhs)
If an embedding of rhs in toAbstract can be found it computes it
and replaces it with a nonterminal edge labeled with lhs.
|
HeapConfiguration |
CanonicalizationHelper.tryReplaceMatching(HeapConfiguration toAbstract,
HeapConfiguration rhs,
Nonterminal lhs)
If an embedding of rhs in toAbstract can be found it computes it
and replaces it with a nonterminal edge labeled with lhs.
|
| Modifier and Type | Method and Description |
|---|---|
HeapConfiguration |
DefaultCanonicalizationHelper.tryReplaceMatching(HeapConfiguration toAbstract,
CollapsedHeapConfiguration rhs,
Nonterminal lhs) |
HeapConfiguration |
DefaultCanonicalizationHelper.tryReplaceMatching(HeapConfiguration toAbstract,
HeapConfiguration rhs,
Nonterminal lhs) |
| Modifier and Type | Method and Description |
|---|---|
Nonterminal |
IndexEmbeddingResult.getInstantiatedLhs() |
| Modifier and Type | Method and Description |
|---|---|
IndexEmbeddingResult |
EmbeddingIndexChecker.getIndexEmbeddingResult(HeapConfiguration toAbstract,
Matching embedding,
Nonterminal lhs)
Computes the necessary materialization and instantiation to match the nonterminals of the
embedding in toAbstract.
|
HeapConfiguration |
IndexedCanonicalizationHelper.tryReplaceMatching(HeapConfiguration toAbstract,
CollapsedHeapConfiguration rhs,
Nonterminal lhs) |
HeapConfiguration |
IndexedCanonicalizationHelper.tryReplaceMatching(HeapConfiguration heapConfiguration,
HeapConfiguration rhs,
Nonterminal lhs) |
| Constructor and Description |
|---|
IndexEmbeddingResult(HeapConfiguration materializedToAbstract,
Nonterminal instantiatedLhs) |
| Modifier and Type | Method and Description |
|---|---|
Nonterminal |
GrammarRequest.getNonterminal() |
| Constructor and Description |
|---|
GrammarRequest(Nonterminal nonterminal2,
int tentacle,
String selectorLabel) |
| Modifier and Type | Method and Description |
|---|---|
GrammarResponse |
DefaultMaterializationRuleManager.getRulesFor(Nonterminal toReplace,
int tentacle,
String requestedSelector)
returns a DefaultGrammarResponse containing the right hand side of all rules
whose lhs matches the given nonterminal and which create the requested selector
at the given tentacle of the nonterminal.
|
| Modifier and Type | Method and Description |
|---|---|
GrammarResponse |
IndexedMaterializationRuleManager.getRulesFor(Nonterminal toReplace,
int tentacle,
String requestedSelector) |
| Modifier and Type | Method and Description |
|---|---|
GrammarResponse |
IndexedRuleAdapter.computeMaterializationsAndRules(IndexedNonterminal toReplace,
Map<Nonterminal,Collection<HeapConfiguration>> rulesResolvingViolationPoint)
For each lhs in the suggested rules, determines whether it can match the nonterminal
and adds the necessary materialization and instantiated rules in this case.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Nonterminal,Collection<HeapConfiguration>> |
GrammarAdapter.getAllRulesFor(Nonterminal nonterminal) |
Map<Nonterminal,Collection<HeapConfiguration>> |
ViolationPointResolver.getRulesCreatingSelectorFor(Nonterminal nonterminal,
int tentacle,
String selectorName)
gets all rules matching the given nonterminal and creating the requested selector label
at the given tentacle of the nonterminal
|
| Modifier and Type | Method and Description |
|---|---|
Map<Nonterminal,Collection<HeapConfiguration>> |
GrammarAdapter.getAllRulesFor(Nonterminal nonterminal) |
Map<Nonterminal,Collection<HeapConfiguration>> |
ViolationPointResolver.getRulesCreatingSelectorFor(Nonterminal nonterminal,
int tentacle,
String selectorName)
gets all rules matching the given nonterminal and creating the requested selector label
at the given tentacle of the nonterminal
|
GrammarResponse |
MaterializationRuleManager.getRulesFor(Nonterminal toReplace,
int tentacle,
String requestedSelector) |
| Modifier and Type | Class and Description |
|---|---|
class |
BasicNonterminal
A simple standard implementation of nonterminal symbols.
|
| Modifier and Type | Method and Description |
|---|---|
Nonterminal |
HeapConfiguration.labelOf(int ntEdge) |
| Modifier and Type | Method and Description |
|---|---|
NonterminalEdgeBuilder |
HeapConfigurationBuilder.addNonterminalEdge(Nonterminal nt)
gets a nonterminalEdgeBuilder that allows to specify the tentacles of this nonterminal
and add the resulting edge to the graph
|
HeapConfigurationBuilder |
HeapConfigurationBuilder.addNonterminalEdge(Nonterminal label,
gnu.trove.list.array.TIntArrayList attachedNodes)
Adds a new nonterminal edge.
|
int |
HeapConfigurationBuilder.addNonterminalEdgeAndReturnId(Nonterminal label,
gnu.trove.list.array.TIntArrayList attachedNodes)
Adds a new nonterminal edge and returns the respective id
|
HeapConfigurationBuilder |
HeapConfigurationBuilder.replaceMatching(Matching matching,
Nonterminal nonterminal)
Replaces the graph captured by the provided matching by a fresh nonterminal edge labeled with the provided nonterminal.
|
HeapConfigurationBuilder |
HeapConfigurationBuilder.replaceMatchingWithCollapsedExternals(Matching matching,
Nonterminal nonterminal,
gnu.trove.list.array.TIntArrayList externalIndicesMap)
Replaces the graph captured by the provided matching by a fresh nonterminal edge labeled with the provided nonterminal.
|
HeapConfigurationBuilder |
HeapConfigurationBuilder.replaceNonterminal(int ntEdge,
Nonterminal newNt)
Substitutes the label of a given nonterminal edge by the provided label.
|
| Modifier and Type | Method and Description |
|---|---|
Nonterminal |
InternalHeapConfiguration.labelOf(int ntEdge) |
| Modifier and Type | Method and Description |
|---|---|
NonterminalEdgeBuilder |
InternalHeapConfigurationBuilder.addNonterminalEdge(Nonterminal nt) |
HeapConfigurationBuilder |
InternalHeapConfigurationBuilder.addNonterminalEdge(Nonterminal label,
gnu.trove.list.array.TIntArrayList attachedNodes) |
int |
InternalHeapConfigurationBuilder.addNonterminalEdgeAndReturnId(Nonterminal label,
gnu.trove.list.array.TIntArrayList attachedNodes) |
HeapConfigurationBuilder |
InternalHeapConfigurationBuilder.replaceMatching(Matching matching,
Nonterminal nonterminal) |
HeapConfigurationBuilder |
InternalHeapConfigurationBuilder.replaceMatchingWithCollapsedExternals(Matching matching,
Nonterminal nonterminal,
gnu.trove.list.array.TIntArrayList externalIndicesMap) |
HeapConfigurationBuilder |
InternalHeapConfigurationBuilder.replaceNonterminal(int ntEdge,
Nonterminal newNt) |
| Constructor and Description |
|---|
InternalNonterminalEdgeBuilder(Nonterminal nt,
HeapConfigurationBuilder heapConfigurationBuilder) |
| Modifier and Type | Method and Description |
|---|---|
Map<Nonterminal,Collection<HeapConfiguration>> |
JsonToGrammar.parseForwardGrammar(org.json.JSONArray input) |
Map<Nonterminal,Collection<HeapConfiguration>> |
JsonToIndexedGrammar.parseForwardGrammar(org.json.JSONArray input) |
| Modifier and Type | Method and Description |
|---|---|
Nonterminal |
DefaultScene.createNonterminal(String label,
int rank,
boolean[] isReductionTentacle) |
Nonterminal |
Scene.createNonterminal(String label,
int rank,
boolean[] isReductionTentacle) |
Nonterminal |
DefaultScene.getNonterminal(String name) |
Nonterminal |
Scene.getNonterminal(String name) |
| Modifier and Type | Method and Description |
|---|---|
Nonterminal |
HeapConfigurationPair.labelOf(int ntEdge) |
| Modifier and Type | Method and Description |
|---|---|
NonterminalEdgeBuilder |
HeapConfigurationPairBuilder.addNonterminalEdge(Nonterminal nt) |
HeapConfigurationBuilder |
HeapConfigurationPairBuilder.addNonterminalEdge(Nonterminal label,
gnu.trove.list.array.TIntArrayList attachedNodes) |
int |
HeapConfigurationPairBuilder.addNonterminalEdgeAndReturnId(Nonterminal label,
gnu.trove.list.array.TIntArrayList attachedNodes) |
HeapConfigurationBuilder |
HeapConfigurationPairBuilder.replaceMatching(Matching matching,
Nonterminal nonterminal) |
HeapConfigurationBuilder |
HeapConfigurationPairBuilder.replaceMatchingWithCollapsedExternals(Matching embedding,
Nonterminal nonterminal,
gnu.trove.list.array.TIntArrayList externalIndicesMap) |
HeapConfigurationBuilder |
HeapConfigurationPairBuilder.replaceNonterminal(int ntEdge,
Nonterminal newNt) |
| Modifier and Type | Class and Description |
|---|---|
class |
RefinedDefaultNonterminal
A nonterminal symbol that is additionally annotated with a state of a heap automaton.
|
| Constructor and Description |
|---|
RefinedDefaultNonterminal(Nonterminal nonterminal,
HeapAutomatonState state) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IndexedNonterminal |
| Modifier and Type | Class and Description |
|---|---|
class |
IndexedNonterminalImpl |
| Modifier and Type | Field and Description |
|---|---|
protected Nonterminal |
IndexedNonterminalImpl.basicNonterminal |
| Constructor and Description |
|---|
IndexedNonterminalImpl(Nonterminal basicNonterminal,
Index index) |
IndexedNonterminalImpl(Nonterminal basicNonterminal,
List<IndexSymbol> index) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
RefinedNonterminal
A symbol that is annotated with a heap automaton state.
|
Copyright © 2018. All rights reserved.