public class Grammar extends Object
GrammarBuilder| Modifier and Type | Method and Description |
|---|---|
static GrammarBuilder |
builder() |
Set<Nonterminal> |
getAllLeftHandSides() |
Set<CollapsedHeapConfiguration> |
getCollapsedRightHandSidesFor(Nonterminal nonterminal) |
Set<HeapConfiguration> |
getRightHandSidesFor(Nonterminal nonterminal)
Gets all rule graphs of rules with the specified left hand side.
|
public static GrammarBuilder builder()
public Set<HeapConfiguration> getRightHandSidesFor(Nonterminal nonterminal)
nonterminal - The left hand sidepublic Set<Nonterminal> getAllLeftHandSides()
public Set<CollapsedHeapConfiguration> getCollapsedRightHandSidesFor(Nonterminal nonterminal)
Copyright © 2019. All rights reserved.