def __init__(self, asCode: bool) -> None:
    super().__init__()
    if asCode:
        self.class_type = 'cpp-expr'
        self.node_type = nodes.literal
    else:
        self.class_type = 'cpp-texpr'
        self.node_type = nodes.inline
def __init__(self, asCode: bool) -> None:
    super().__init__()
    if asCode:
        self.class_type = 'cpp-expr'
        self.node_type = nodes.literal
    else:
        self.class_type = 'cpp-texpr'
        self.node_type = nodes.inline