/* * (non-Javadoc) * * @see edu.pdx.svl.coDoc.cdt.core.dom.ast.IBinding#getScope() */ public IScope getScope() { IASTDeclarator declarator = (IASTDeclarator) name.getParent(); return CVisitor.getContainingScope(declarator.getParent()); }
/* * (non-Javadoc) * * @see edu.pdx.svl.coDoc.cdt.core.dom.ast.ITypedef#getType() */ public IType getType() { if (type == null && name.getParent() instanceof IASTDeclarator) type = CVisitor.createType((IASTDeclarator) name.getParent()); return type; }