public void SetTypeNode(ASTNodeType type) { type.SetParent(this); this.AddSpan(type.GetSpan()); 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; }