A parenthesis model decides given a terminal if the terminal is an end parenthesis or a start parenthesis
An object that can give c and d values for terminals and non terminals
Super class for the classes that assign c and d values to grammar entities.
Common superclass for the classes that split and inline nodes to find parentheses
Obtains a fully qualified grammar from a language that is balanced
Balanced a Grammar by removing sink nodes from a grammar with cycles in its DGraph as described in [Knuth] section 4.
Finds the nonterminal corresponding to the free parenthesis in each production if such a free parenthesis exists.
Converts terminals "<""/" into a single terminal "</".
A parenthesismodel where < is the start parenthesis and /> and </ are end parentheses
Responsible for performing transformation 1 as described in [Knuth]
Copyright © 2008-2013 Mathias Schwarz.