<filename>mak/libs/pyxx/cxx/grammar/declaration/namespace/using.py
"""
using-directive:
    attribute-specifier-seq? using namespace nested-name-specifier? namespace-name ;
"""

import glrp
from ....parser import cxx98
from motor_typing import TYPE_CHECKING


@glrp.rule('using-directive : attribute-specifier-seq? "using" "namespace" namespace-name ";"')
@glrp.rule(
    'using-directive : attribute-specifier-seq? "using" "namespace" nested-name-specifier template? namespace-name ";"'
)
@cxx98
def using_directive(self, p):
    # type: (CxxParser, glrp.Production) -> None
    pass


if TYPE_CHECKING:
    from ....parser import CxxParser