def __init__(self, parent: 'Symbol', identOrOp: Union[(ASTIdentifier, ASTOperator)], templateParams: Union[(ASTTemplateParams, ASTTemplateIntroduction)], templateArgs: Any, declaration: ASTDeclaration, docname: str) -> None:
    self.parent = parent
    self.siblingAbove = None
    self.siblingBelow = None
    self.identOrOp = identOrOp
    self.templateParams = templateParams
    self.templateArgs = templateArgs
    self.declaration = declaration
    self.docname = docname
    self.isRedeclaration = False
    self._assert_invariants()
    self._children = []
    self._anonChildren = []
    if self.parent:
        self.parent._children.append(self)
    if self.declaration:
        self.declaration.symbol = self
    self._add_template_and_function_params()
def __init__(self, parent: 'Symbol', identOrOp: Union[(ASTIdentifier, ASTOperator)], templateParams: Union[(ASTTemplateParams, ASTTemplateIntroduction)], templateArgs: Any, declaration: ASTDeclaration, docname: str) -> None:
    self.parent = parent
    self.siblingAbove = None
    self.siblingBelow = None
    self.identOrOp = identOrOp
    self.templateParams = templateParams
    self.templateArgs = templateArgs
    self.declaration = declaration
    self.docname = docname
    self.isRedeclaration = False
    self._assert_invariants()
    self._children = []
    self._anonChildren = []
    if self.parent:
        self.parent._children.append(self)
    if self.declaration:
        self.declaration.symbol = self
    self._add_template_and_function_params()