#include <Rename.h>
|
| template<class TerminalSymbolType , class NonterminalSymbolType > |
| static grammar::RightRG< TerminalSymbolType, unsigned > | rename (const grammar::RightRG< TerminalSymbolType, NonterminalSymbolType > &rrg) |
| |
| template<class TerminalSymbolType , class NonterminalSymbolType > |
| static grammar::LeftRG< TerminalSymbolType, unsigned > | rename (const grammar::LeftRG< TerminalSymbolType, NonterminalSymbolType > &lrg) |
| |
◆ rename() [1/2]
template<class TerminalSymbolType , class NonterminalSymbolType >
| grammar::LeftRG< TerminalSymbolType, unsigned > grammar::simplify::Rename::rename |
( |
const grammar::LeftRG< TerminalSymbolType, NonterminalSymbolType > & |
lrg | ) |
|
|
static |
◆ rename() [2/2]
template<class TerminalSymbolType , class NonterminalSymbolType >
Renames nonterminal symbols in given grammar
- Template Parameters
-
| TerminalSymbolType | the type of terminal symbol in the given grammar |
| NonterminalSymbolType | the type of nonterminal symbol in the given grammar |
- Parameters
-
| grammar | the renamed grammar |
- Returns
- grammar with nonterminal symbols renamed
The documentation for this class was generated from the following file: