def __init__(self, terminal, nonterminal, rule):
        # type: (Any, Type[ChomskyTermNonterminal], Type[ChomskyTermRule]) -> None
        """
        Create instance of the container.
        :param terminal: Original terminal.
        :param nonterminal: Nonterminal directly rewritable to terminal.
        :param rule: Rule that rewrite nonterminal to terminal.
        """
        self.used = False
        self.terminal = terminal
        self.nonterminal = nonterminal
        self.rule = rule
def __init__ ( self , terminal , nonterminal , rule ) : self . used = False self . terminal = terminal self . nonterminal = nonterminal self . rule = rule
Create instance of the container.
        :param terminal: Original terminal.
        :param nonterminal: Nonterminal directly rewritable to terminal.
        :param rule: Rule that rewrite nonterminal to terminal.