public void AddElementNode(ASTNodeType element) { element.SetParent(this); this.elements.Add(element); }
public void SetTypeNode(ASTNodeType type) { type.SetParent(this); this.AddSpan(type.GetSpan()); this.type = type; }
public void SetReturnType(ASTNodeType returnType) { returnType.SetParent(this); this.returnType = returnType; }
public void AddParameterType(ASTNodeType parameterType) { parameterType.SetParent(this); this.parameters.Add(parameterType); }
public void SetTypeNode(ASTNodeType type) { type.SetParent(this); this.type = type; }
public void SetReturnTypeNode(ASTNodeType retType) { retType.SetParent(this); this.AddSpan(retType.GetSpan()); this.returnType = retType; }
public void SetReferencedNode(ASTNodeType referenced) { referenced.SetParent(this); this.AddSpan(referenced.GetSpan()); this.referenced = referenced; }